Skip to content
This repository was archived by the owner on Dec 25, 2018. It is now read-only.
mostlygeekPublic archive

About

a Goa (golang) thumbnail generator API

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

thumbnails

a Goa (golang) thumbnail generator API

This is just a learning app to learn Goa's DSL and actually build something with it.
This app does this:

  • Only keeps one image at a time in memory
  • Provides an HTML page with all the thumbnails under GET /
  • Update the image with POST|PUT /image with a JPEG image
  • Show the image at GET /image
  • Show exif metadata about the image at GET /image/metadata. Returns a JSON blob of the metadata
  • Generates thumbnails of the image under GET /image/thumbnail/:type. Type can be:
    • small, create a 1/8 size version of the image
    • medium, creates a 1/4 size version of the image
    • large, creates a 1/2 size version of the image
    • square, creates a 125x125 image thumbnail
    • box(x/y), takes X/Y size params and attempts to fit image inside it

About

a Goa (golang) thumbnail generator API

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

⌂ 换网址