Skip to content

motdotla/carve-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

carve-api

carve-api

API for converting PDFs into an array of PNGs. Works in tandem with carve-worker.

curl https://carve-api.herokuapp.com/api/v0/documents/create.json?url=http://mot.la/assets/resume.pdf&webhook=http://requestb.in/some-request-bin-url

View the documentation.

Installation

Deploy

Development

git clone https://github.com/motdotla/carve-api.git
cd carve-api
go get 
cp .env.example .env
go run app.go

Edit the contents of .env.

TODO

  • validation on webhook and url
  • url cleansing on webhook and url

About

API to Convert PDFs into an array of PNGs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages