Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
api
 
 
cmd
 
 
 
 
s3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gif-stream-server

A server which awaits webcam image uploads from gif-stream clients to generate .gifs and upload them to an AWS S3 bucket. Can be used together with HOFFNUNG 3000.

Requirements

  • Go environment
  • AWS S3 instance

Setup via Heroku

  1. Make sure to set the GO_INSTALL_PACKAGE_SPEC variable to ./cmd/... to make sure Heroku builds both separate binaries.

    heroku config:set GO_INSTALL_PACKAGE_SPEC=./cmd/...
    
  2. Configure the following environmental variables:

    AWS_REGION=eu-central-1
    AWS_ACCESS_KEY_ID=
    AWS_SECRET_ACCESS_KEY=
    AWS_BUCKET_NAME=
    
  3. Install the Heroku Scheduler Add On and put up a job which executes worker every 10 minutes.

  4. Activate both Dynos web and worker (put them to "ON" under "Configure Dynos").

License

MIT

About

Server: Take pictures from peoples cameras in intervals, make a .gif, upload it to S3, make a massive collage out of this

Topics

Resources

License

Releases

No releases published

Packages

No packages published