No description, website, or topics provided.
Dart
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Procfile
README.md
dog.jpg
main.dart

README.md

Colorful

This resizes an image on server into the size specified with a request url.

How to use

$ export PORT=9292
$ dart main.dart
$ curl http://localhost:9292/300x200.jpg

How to deploy

This is not working on heroku at least for me!

$ heroku create <your app name> --stack cedar
$ heroku config:add BUILDPACK_URL=git@github.com:tomykaira/heroku-buildpack-dart.git
$ git push heroku master
$ heroku scale web=1

Requirements

  • Dart VM
  • convert (ImageMagick)