An example Puma app that demonstrates the functionality of Teaas. This project will tend to use experimental / testing branches of Teaas - check the Gemfile if you're worried about using experimental features.
To run this:
- Download or install ImageMagick. On Ubuntu, you can run
sudo apt-get install libmagickwand-dev. If you're using homebrew, you can runbrew install imagemagick@6. bundle install(orPKG_CONFIG_PATH=/usr/local/opt/imagemagick@6/lib/pkgconfig bundle installif using homebrew on a Mac)bundle exec ruby main.rb
Works fine on a VPS. I'm currently using a 1 CPU, 1GB RAM VPS, so if you can find something similar, it should work without issue.
Questions and/or PRs are more than welcome. If there is a bug when it comes to an image not being processed correctly, please submit an issue on Teaas instead.
The file upload button is based on this awesome gist by davist11. Thanks crookedneighbor for making the interface a lot nicer and other contributions Thanks jackellenberger for redesigning the results page and adding some awesome Slack functionality
It's MIT. See the LICENSE file.