Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mastodon/gamo
An image proxy and optimization server
https://github.com/mastodon/gamo
image-processing image-proxy
Last synced: about 1 month ago
JSON representation
An image proxy and optimization server
- Host: GitHub
- URL: https://github.com/mastodon/gamo
- Owner: mastodon
- Created: 2020-01-07T08:39:46.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T14:37:00.000Z (almost 2 years ago)
- Last Synced: 2024-09-30T09:21:18.731Z (about 1 month ago)
- Topics: image-processing, image-proxy
- Language: Go
- Homepage:
- Size: 21.5 KB
- Stars: 27
- Watchers: 7
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Gamo
====An image proxy and optimization server. Like Camo, and compatible with Camo, but
running proxied images through optimization, and with added functionality to resize
them to specified dimensions using the URL path.It expects to run behind a reverse proxy like Nginx or Varnish which would perform
caching. By itself, it makes no attempt to do so.URL structure:
/[HMAC]/[Hex-encoded URL]
Optionally:
/[HMAC]/[Hex-encoded URL]/[Dimensions]
The dimensions are to be given as a single integer as one side of a square. The
image will be resized proportionally to fit within the total number of pixels.Arbitrary dimensions cannot be used. Pre-determined values are configured through
the command-line invocation.Usage:
gamo --key=SHARED_HMAC_SECRET --bind=127.0.0.1:8081 --dimensions=256,512,1024