Skip to content

ilkosta/odt2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published