Deploy Carbone
[Jun'26] Generate reports, invoices, and documents anywhere
carbone
Just deployed
/app/template
Deploy and Host Carbone on Railway
Carbone is a high-performance document generation engine that turns JSON data into professional documents using templates. It can generate reports, invoices, contracts, statements, and business documents in formats such as PDF, DOCX, XLSX, ODT, PPTX, CSV, HTML, and more.
About Hosting Carbone
Hosting Carbone gives you a self-hosted document generation service that can be integrated into your application, automation workflow, internal tool, or API backend. Instead of manually creating reports or building complex document layouts in code, you prepare a template using familiar tools such as Word, LibreOffice, Excel, or PowerPoint, then send structured JSON data to Carbone for rendering.
This Railway template helps you deploy Carbone quickly so your application can generate documents on demand. It is useful for teams that need automated invoices, reports, certificates, contracts, financial documents, operational forms, or bulk-generated files without relying on manual editing.
Common Use Cases
- Generate invoices, receipts, quotations, and billing documents from application data.
- Create business reports, financial statements, contracts, certificates, and operational documents.
- Integrate document generation into automation tools, internal dashboards, CRM systems, ERP workflows, or backend APIs.
Dependencies for Carbone Hosting
- Carbone document generation service.
- Document templates such as DOCX, ODT, XLSX, PPTX, HTML, or other supported formats.
- JSON data source from your application, API, workflow automation, database, or backend service.
Deployment Dependencies
- Carbone official website: https://carbone.io/
- Carbone GitHub repository: https://github.com/carboneio/carbone
- Railway: https://railway.com/
Implementation Details
Carbone works by combining a document template with JSON data. You design the document layout first, add Carbone placeholders inside the template, then send the template and data to Carbone to generate the final document.
Example JSON data:
{
"customer": {
"name": "John Doe",
"email": "john@example.com"
},
"invoice": {
"number": "INV-001",
"total": 1500000,
"currency": "IDR"
}
}
Example template placeholders:
Invoice Number: {d.invoice.number}
Customer Name: {d.customer.name}
Total: {d.invoice.total} {d.invoice.currency}
Typical usage flow:
- Prepare a document template using Word, LibreOffice, Excel, PowerPoint, or HTML.
- Add Carbone placeholders inside the template.
- Send JSON data from your app, API, database, or automation workflow.
- Carbone renders the final document.
- Download or store the generated file in the required format.
This makes Carbone suitable for backend systems, SaaS products, business automation, finance workflows, admin portals, and internal reporting tools.
Why Deploy Carbone on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Carbone on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
carbone
carbone/carbone-ee:latest