Skip to content

An WORK IN PROGRESS imageserver that is backed by S3, fronted by groupcache, and supports HMAC signing and verification of URLs

License

Notifications You must be signed in to change notification settings

cognusion/emery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emery

A WORK IN PROGRESS imageserver that is backed by S3, fronted by groupcache, and supports HMAC signing and verification of URLs

example

$ ./emery --listen=:8081 --groupcache-peers=:8082,:8083 --s3bucket myimage-test --key MYK3Yc00l --expiration 30m &
$ ./emery --listen=:8082 --groupcache-peers=:8081,:8083 --s3bucket myimage-test --key MYK3Yc00l --expiration 30m &
$ ./emery --listen=:8083 --groupcache-peers=:8081,:8082 --s3bucket myimage-test --key MYK3Yc00l --expiration 30m &

Open http://localhost:8081/_sign/path/to/image.jpg?width=100 it will redirect to http://localhost:8081/longHMAChashHERE/path/to/image.jpg?expiration=UNIXmilliSTAMP&width=100

Stats are available on http://localhost:8081/stats

About

An WORK IN PROGRESS imageserver that is backed by S3, fronted by groupcache, and supports HMAC signing and verification of URLs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages