ilkosta / odt2pdf

webservice REST to convert odt documents to pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

odt2pdf

webservice REST to convert odt documents to pdf

The software is only a learning test for my knowledge of rust and it's ecosystem.

It's the first rust project that I've created to test my learning.

Consider it pre-alpha quality... but for someone it work

dependencies

  • libreoffice
  • coreutils (for the use of timeout changable by the configuration file when it will work)
  • time (changable by the configuration file when it will work)
  • iron / params / router / staticfile / mount
  • fern / log
  • config

To generate the sample html form:

  • node/iojs
  • bower

build the static form

From the project directory

nvm use # if you use nvm to switch between different node/iojs versions
npm run setup
npm run jadec

run the service

cargo run

POST the document to http://localhost:3000/odt2pdf by using a multipart/formdata request.

For an sample form GET http://localhost:3000/openact

About

webservice REST to convert odt documents to pdf

License:MIT License


Languages

Language:Rust 72.1%Language:HTML 15.0%Language:JavaScript 9.9%Language:Shell 3.0%