Welcome to Pogodoc
Dynamically generate documents (PDF, PNG, etc.) from templates made in any JS framework or HTML. Manage your templates and leverage AI features. This is a detailed documentation of Pogodoc's usage, management, SDKs, API Reference and more.
What is Pogodoc?
Effortless document creation with any web technology. A true Document-as-a-Service.
Pogodoc is a powerful document generation platform that lets developers and companies dynamically create documents (PDF, PNG, and more) from templates made in any JavaScript framework or HTML.
Why Pogodoc?
Template Flexibility
Create templates using React, Vue, EJS, plain HTML, or leverage AI to generate them automatically with minimal overhead.
RESTfull API
Generate documents in PDF, PNG, and other formats. Perfect for invoices, reports, certificates, marketing materials, and more.
Developer-First
Integrate seamlessly with our SDKs (TypeScript, Python, .NET, Go, PHP) or use our REST API directly.
AI-Powered
Use AI Doc to create templates from simple descriptions, reducing development time and complexity.
How It Works
Create Your Template
Build templates using your favorite framework (React, Vue, EJS) or plain HTML/CSS. You can also use AI to generate templates from descriptions.
// Example React template
export default function Invoice({ data }) {
return (
<div className="invoice">
<h1>Invoice #{data.invoiceNumber}</h1>
<p>Customer: {data.customerName}</p>
<table>
{data.items.map((item) => (
<tr key={item.id}>
<td>{item.name}</td>
<td>${item.price}</td>
</tr>
))}
</table>
</div>
);
}Integrate Pogodoc SDK
Install and configure the Pogodoc SDK in your application. Choose from TypeScript, Python, .NET, Go, or PHP.
npm install @pogodoc/sdkimport { PogodocClient } from "@pogodoc/sdk";
const client = new PogodocClient({ token: process.env.POGODOC_API_TOKEN });Generate Documents
Call the Pogodoc API with your data and get back a generated document in your desired format.
const document = await client.generateDocumentImmediate({
template: "invoice-template",
target: "pdf",
data: {
invoiceNumber: "12345",
customerName: "Acme Corp",
items: [
{ id: 1, name: "Service A", price: 100 },
{ id: 2, name: "Service B", price: 200 },
],
},
});Key Features
Template Management
- All Frameworks: Support for React, Vue, EJS, and plain HTML/CSS, and literally any web technology
- AI Generation: Create templates from natural language descriptions
- Preview: Test your templates before deployment
Security & Enterprise
- On-Premise Enterprise Option: Deploy Pogodoc in your own infrastructure
- Data Safety: Your sensitive data and documents stay secure
- Token Management: Organize access for multiple departments or developers
- Compliance Ready: Suitable for regulated industries
Admin Dashboard
- Usage Statistics: Detailed analytics for all generated documents
- API Token Management: Control access across your organization
- Template Library: Store and manage all your templates in one place, explore community templates
- Monitoring: Track performance and usage patterns
Developer Experience
- Multiple SDKs: TypeScript, Python, .NET, Go, PHP
- REST API: Use any programming language
- Comprehensive Docs: Detailed guides and API references
- Code Examples: Open-source examples for common use cases
Use Cases
Pogodoc is perfect for:
- Invoices & Receipts: Generate branded invoices automatically
- Reports: Create dynamic reports with charts and data
- Certificates: Produce personalized certificates at scale
- Marketing Materials: Generate customized PDFs, flyers, or images
- Legal Documents: Create contracts and agreements with dynamic data
- Tickets & Passes: Generate event tickets, boarding passes, etc.
- Any documents: Generate the perfect document for your use-case
Deployment Options
Cloud (SaaS)
Use our hosted service with no infrastructure setup. Start generating documents in minutes.
On-Premise
Deploy Pogodoc in your own infrastructure for complete control and data sovereignty.
Getting Started
Our documentation contains everything you need to start generating documents:
Quickstart Guides
Go from zero to generating your first document in minutes with our language-specific tutorials.
API Reference
Comprehensive API documentation with examples for all endpoints.
Template Tutorials
Learn how to create templates using React, AI, and other methods.
Code Examples
Explore open-source examples and common use cases to accelerate your integration.
Enterprise Support
For businesses and on-premise solutions, we provide:
- Dedicated Onboarding: We guide you through the entire setup process
- Custom Templates: We can create templates tailored to your needs
- Technical Support: Direct access to our engineering team
- SLA Guarantees: Enterprise-grade reliability and uptime
Ready to get started? Check out our quickstart guides or contact us for enterprise inquiries.
Getting Started
Choose your preferred language to get started: