Git Product home page Git Product logo

Docverter Server

Docverter is a document conversion server with an HTTP interface. It wraps the following open-source software in a JRuby app:

Installation

Installing on Heroku is the easiest option. Simply clone the repo, create an app, and push:

$ git clone https://github.com/Docverter/docverter.git
$ cd docverter
$ heroku create --buildpack https://github.com/ddollar/heroku-buildpack-multi.git
$ heroku config:add PATH=bin:/app/bin:/app/jruby/bin:/usr/bin:/bin:/app/calibre/bin
$ heroku config:add LD_LIBRARY_PATH=/app/calibre/lib
$ git push heroku master

If you'd like to install locally, first ensure that Jruby, Pandoc and Calibre are installed and available. Then (for Ubuntu):

$ jruby -S gem install foreman
$ git clone https://github.com/docverter/docverter.git
$ cd docverter
$ sudo foreman export upstart /etc/init -u <some app user> -a docverter -l /var/log/docverter
$ sudo service docverter start

Other distributions will be similar. See the documentation for Foreman for more export options.

For a development server, try:

$ rvm install jruby-1.7.4
$ bundle install
$ gem install foreman
$ foreman start

Usage

Ruby

See doc/api.md and Docverter Ruby for usage documentation.

PHP

See doc/examples/php/markdown_to_pdf.php for usage documentation.

Python

See https://github.com/msabramo/pydocverter

docverter's Projects

docx4j icon docx4j

JAXB-based Java library for Word docx, Powerpoint pptx, and Excel xlsx files

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.