https://github.com/motdotla/carve-api
API to Convert PDFs into an array of PNGs.
https://github.com/motdotla/carve-api
Last synced: 7 months ago
JSON representation
API to Convert PDFs into an array of PNGs.
- Host: GitHub
- URL: https://github.com/motdotla/carve-api
- Owner: motdotla
- Created: 2014-04-18T19:38:39.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-14T21:26:22.000Z (about 11 years ago)
- Last Synced: 2025-01-24T05:09:33.997Z (8 months ago)
- Language: Go
- Size: 3.83 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# carve-api
API for converting PDFs into an array of PNGs. Works in tandem with [carve-worker](https://github.com/motdotla/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](http://docs.carveapi.apiary.io/).
## Installation
[](https://heroku.com/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