Image Resizing as a Service
CSS HTML JavaScript Go Other
Latest commit 90b9738 Apr 22, 2015 @bshyong bshyong merge PR #20 by Pomyk
Permalink
Failed to load latest commit information.
Godeps Update go deps once again Mar 11, 2015
addon Allow for signle sign-on through heroku Feb 20, 2015
assets merge PR #20 by Pomyk Apr 22, 2015
controllers Add separate route for unauth docs Mar 31, 2015
db Record image request urls and show them to the user Mar 12, 2015
models merge PR #20 by Pomyk Apr 22, 2015
scripts/webpack-docker Add python dep to the webapp's Dockerfile. node-gyp is used by contex… Apr 20, 2015
templates Include GA tracker Mar 21, 2015
utils What is this, a website for ants? Mar 16, 2015
.buildpacks Support gif -> mp4 Mar 27, 2015
.env.sample Ported code to use Revel May 23, 2014
.gitignore Generate heroku's addon manifest Feb 18, 2015
.godir Ported code to use Revel May 23, 2014
.jshintrc Add components for auth stuff Sep 15, 2014
.travis.yml Update travis.yml to create a test database for controller tests Mar 9, 2015
Dockerfile Use codegangsta/gin instead of go-reload + smaller Docker images Mar 9, 2015
LICENSE Initial commit Apr 25, 2014
Makefile Add Makefile for common development commands Mar 27, 2015
Procfile Use gin in development Feb 19, 2015
README.md Allow different aspect ratio settings Mar 24, 2015
addon-doc.md Keep the s in firesize lowercased Mar 16, 2015
fig.yml Use codegangsta/gin instead of go-reload + smaller Docker images Mar 9, 2015
install_goose.go Move models up into the root dir Feb 19, 2015
jest_processor.js Work in progress adding client side tests Oct 8, 2014
metrics.sh Allow metrics to be run outside app Mar 25, 2015
package.json Get sign up and sign in working again Mar 24, 2015
server.go Display some real data on the dashboard Mar 11, 2015
webpack.config.js Clean up old assets, sass, utilities, styles + cod hygene Mar 9, 2015
webpack.sh Use codegangsta/gin instead of go-reload + smaller Docker images Mar 9, 2015

README.md

Firesize

Imagemagick as a Service

Processes images on the fly using imagemagick.

Build Status

Getting Started with Fig

Prerequisites:

Create the database and run migrations:

$ fig run web goose up

Start the app:

$ fig up

Get the boot2docker ip if you're not on Linux:

$ boot2docker ip

Open up http://192.168.59.103:3000

Getting Started without Fig

Prerequisites:

Install dependencies:

$ go get -u github.com/tools/godep \
            bitbucket.org/liamstask/goose/cmd/goose \
            github.com/codegangsta/gin \
            github.com/ddollar/forego

Copy over some default env vars:

$ cp .env.sample .env

Create the database and run migrations:

$ forego run goose up

Run the server:

$ gin

Run the asset compiler (in a separate tab/pane):

$ ./webpack.sh

Open up http://localhost:3000

API

/{width}x{height}{modifier}/{gravity}/{frame}/{source}

Some examples:

# fixed with, proportional height
https://firesize.com/128x/g_center/http://placekitten.com/g/32/32

# fixed height, proportional width
https://firesize.com/x128/g_center/http://placekitten.com/g/32/32

# max of height or width
https://firesize.com/128x128/http://placekitten.com/g/32/32

# height and width, cropped to center
https://firesize.com/128x128/g_center/http://placekitten.com/g/32/32

# height and width, ignore aspect ratio
https://firesize.com/128x96!/g_center/http://placekitten.com/g/32/32

# PSD with layer 0
https://firesize.com/128x128/g_center/frame_0/http://asm-assets.s3.amazonaws.com/helpful-signup-04-24-14.psd

Assembly made

Assembly products are like open-source and made with contributions from the community. Assembly handles the boring stuff like hosting, support, financing, legal, etc. Once the product launches we collect the revenue and split the profits amongst the contributors.

Visit https://assemblymade.com to learn more.