All Projects → poteto → peedy

poteto / peedy

Licence: other
PDF watermarking microservice written in Elixir. For educational purposes only - not meant for production

Programming Languages

elixir
2628 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to peedy

neural-imaging
[CVPR'19, ICLR'20] A Python toolbox for modeling and optimization of photo acquisition & distribution pipelines (camera ISP, compression, forensics, manipulation detection)
Stars: ✭ 109 (+240.63%)
Mutual labels:  watermarking
glink
Short video direct link acquisition 短视频直连去水印工具(支持抖音、快手、TikTok、皮皮虾、火山、开眼、陌陌等十几种)
Stars: ✭ 112 (+250%)
Mutual labels:  watermarking
watermark
简单的图片水印功能,支持 GIF
Stars: ✭ 38 (+18.75%)
Mutual labels:  watermarking

Peedy

PDF watermarking microservice.

Installation

$ mix do deps.get, deps.compile
$ mix ecto.setup
$ yarn install # or npm install

Dependencies

These must be installed:

Watermark PDFs are generated via PDFKit in a node.js script. Type node node_modules/peedy-stamp --help for options.

Web Examples

First start the server:

$ mix phoenix.server

You can use http://localhost:4000/api/v1/dev/null as a valid callback_url in absence of a real one.

Upload file(s) with watermark text to:

POST http://localhost:4000/api/v1/documents?watermark=Ricky Bobby&callback_url=xxx

For example, using Postman

Attach file(s) via form-data. Key names are ignored.

To fetch a document by id:

GET http://localhost:4000/api/v1/documents/ebf66636-0706-4bf2-afb6-de5bc8f28688

You can enter this into your browser and a file download will automatically be triggered.

Watermarked PDF

Tests

Run tests using mix test.

License

Mostly MIT. PDFtk used with its GPL license. To use commercially you will need to acquire a commercial license from PDFtk.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].