Generate PDF from Ruby

Add template-based document generation to Ruby applications.

docmosis java
  • Templates enable non-developers and end-users to create and change the content and layout of documents.
  • Changes to documents can take place outside of normal software development lifecycles.

Docmosis has been designed for high performance. Single page documents are typically generated sub-second. The ability to perform parallel and distributed processing makes it possible to generate hundred-of-thousands of documents per hour.

docmosis java

A simple REST-based API

How to create PDF from Ruby.

  • Create templates using Microsoft Word or LibreOffice Writer. No special plugins needed.
  • Add plain-text placeholders, just by typing, to control the position and behaviour of dynamic content.

The Ruby application sends JSON/XML data to the REST API to be merged with the template.

  • Docmosis will: insert text/images into the body, headers and footers; conditionally add/remove any content; perform calculations; loop over repeating data to fill tables or lists; format data/numbers and much more..
  • The generated document is returned to the calling application.

Integrating Docmosis with Ruby

Choose from our SaaS or Self-Hosted options.

Cloud Tornado
logo cloud logo tornado
Product Comparison

SaaS hosted using AWS.

Processing occurs in user-selected regions (US, EU, AU).

Starts from $49 / month.

Web portal to: upload templates; test documents; manage the account.

Self-hosted stand-alone application.

Options to run multi-threaded and distribute load over multiple servers.

One-off fee for a perpetual license. Access to support/updates for 12 months.

Run in a secure/protected environment where network access is restricted.

API Documentation

Use as a Web Service via a REST API.

Cloud API includes template management features, eg: Upload, List, Delete, Batch.

 

Cloud API Documentation

Use as a Web Service via a REST API.

Store and source templates using: Local file storage, AWS S3 or Azure Blob Storage

 

Tornado API Documentation

Generating Documents

Send JSON or XML data using HTTPS POST.

Generated documents can be:

  • Returned in the response
  • Emailed
  • Stored to AWS S3

 

Cloud Ruby Code Sample

Send JSON or XML data using HTTPS POST.

Generated documents can be:

  • Returned in the response
  • Emailed

 

 

Tornado Ruby Code Sample

Suitable For

Perfect for teams that want someone else to manage the infrastructure and monitor the service to ensure availability.

Suitable for teams that already run and manage their own application servers.

In Summary

The easiest way to try Docmosis.  Nothing to download/install/run.

Fastest way to complete proof of concept.

 

Cloud – Document Generation Software as a Service

Requires some setup to install/run the Tornado engine.

Easily switch between Cloud/Tornado during proof of concept.

 

Tornado – Self-Hosted Document Generation Software

Trusted by Customers Worldwide

Used in Finance, Insurance, Health, Legal, Education, HR, Transport & Logistics, and more…

icon saas

SaaS
Companies

Adding user-customizable
reports to their platforms.

icon building

Small-To-Medium
Businesses

Automating the generation of
client-facing documents.

icon corporation

Large
Corporations

Replacing legacy, code-based
document generation systems.

icon professional

Tech-Savvy
Professionals

Looking for an easy way to
generate bespoke documents.

"One of the best examples of a software company going above and beyond."
icon stars
Ron Mouw
Paperwork Pros, Inc., United States
testimonial paperworkpros
"Amazing customer service and the product works great."
icon stars
Randall Tallent
Marriott Vacations Worldwide Corporation, United States
testimonial marriott
"Docmosis Cloud is an easy way to generate PDFs via a REST API."
icon stars
Vinod Vasnani
Qryptal, Singapore
testimonial qryptal
"We’ve not had a single issue so far with thousands of documents."
icon stars
Alex Sena
Seaglass, United Kingdom
testimonial seaglass
"Docmosis Lets Us Worry About One Less Thing"
icon stars
Greg Browne
BlueDriver, Canada
testimonial bluedriver
"Then we found Docmosis which can do the PDF conversions for us. Now, we don’t even look back at doing it any other way."
icon stars
Phil
Evac Guide, Australia
testimonial evac guide
"We needed something that was quick to get going. Docmosis fit the bill"
icon stars
Iain McKinley & Connor Kelly
Bridgeall, UK
testimonial bridgeall
"Docmosis has allowed us to integrate a document templating solution extremely quickly into our product."
icon stars
Edward Ashley
Red Monkey Software, United Kingdom
testimonial redmonkey
"Docmosis is the right solution, since it offers a rich set of templating functions for our users and a REST API for easy integration."
icon stars
Gappless, The Netherlands
testimonial gappless
"We evaluated a number of products and Docmosis came out in front in terms of price and features we needed."
icon stars
Thales, Australia
testimonial thales