GitXplorerGitXplorer
l

convert

public
32 stars
3 forks
0 issues

Commits

List of commits on branch master.
Unverified
7fc1be1e0af618b2b8ecbe64b8b5e8a7d9c2589c

Update README.md

llookfirst committed 9 years ago
Unverified
0c544be3d15b114fcc56b6cf9f284990f6233afd

MIT

llookfirst committed 9 years ago
Unverified
ba1fad2854b0a7edd041ea2e9dcc13a9a72261ca

remove vendor/convert

llookfirst committed 10 years ago
Unverified
fe808b30dc7ddfbfee9941d26051a4ada34b0379

see if there is an error

llookfirst committed 10 years ago
Unverified
b134f69b3d0b2688a8fa089c8149354abb10822c

latest

llookfirst committed 10 years ago
Unverified
03fbe53eb9c2b4657437a34512cfe82a68765160

path is no longer an array

llookfirst committed 10 years ago

README

The README file for this repository.

convert

alternative for the appengine conversion api which was decommissioned November 2012

provides a webservice to convert pdf -> image & image -> image

integrates Ghostscript & ImageMagick with a thin NodeJS web wrapper with easy deployment on Heroku (free!)

released under a Apache 2.0 style license

usage

screenshot

simply method=POST enctype=multipart/form-data an uploaded file to the server, with some arguments, and it'll return the result

view AppEngine Java for an example Java client that saves output to the blobstore

deploy

  1. install the heroku toolbelt and setup your account
  2. read these directions for setting up a NodeJS app
  3. git clone this repo
  4. heroku create to create an appserver
  5. git push heroku master to push this code up to heroku
  6. heroku config:add NODE_ENV=production
  7. heroku ps:scale web=1 to start the server
  8. http://yourapp.herokuapp.com/upload.html u: nixon p: @#$jfiehd1

develop

  1. see above for setting up the toolbelt and cloning this repo
  2. sudo npm install -g nodemon to install nodemon globally
  3. npm install to install the rest of the node dependencies locally
  4. brew install ghostscript && brew install imagemagick - you will need to install brew first
  5. foreman start to start the server
  6. http://localhost:5000/ u: nixon p: @#$jfiehd1

documentation on how Ghostscript/ImageMagick can be compiled on Heroku