Code examples for the Forge API suite -- three free developer utility APIs for document conversion, report generation, and form rendering.
| API | What it does | Free tier | Docs |
|---|---|---|---|
| DocForge | Convert between Markdown/HTML, CSV/JSON, YAML/JSON | 500 req/day | Docs |
| ReportForge | Generate styled HTML reports from CSV/JSON data | 5 reports/day | Docs |
| FormForge | Generate accessible HTML forms from JSON definitions | 20 forms/day | Docs |
All three APIs work without signup or API key on the free tier.
| File | Description |
|---|---|
docforge/node/markdown-to-html.js |
Convert Markdown to HTML with metadata |
docforge/node/csv-to-json.js |
Parse CSV data into JSON objects |
docforge/node/format-pipeline.js |
Chain conversions: YAML to JSON to CSV with round-trip verification |
docforge/node/static-site-generator.js |
Build a static site from Markdown files using DocForge |
| File | Description |
|---|---|
docforge/python/markdown_to_html.py |
Convert Markdown to HTML and save the output |
docforge/python/csv_to_json.py |
Parse CSV to JSON with filtering |
docforge/python/yaml_to_json.py |
Convert YAML configuration to JSON |
| File | Description |
|---|---|
reportforge/node/sales-report.js |
Generate a sales summary report from JSON data |
reportforge/node/csv-to-report.js |
Generate a report from CSV data |
reportforge/node/invoice-generator.js |
Generate a professional invoice |
| File | Description |
|---|---|
reportforge/python/sales_report.py |
Generate a sales summary from JSON data |
reportforge/python/automated_weekly_report.py |
Automated weekly report from CSV (cron-ready) |
reportforge/python/expense_report.py |
Generate an expense report grouped by category |
| File | Description |
|---|---|
formforge/node/contact-form.js |
Generate a styled contact form |
formforge/node/survey-form.js |
Generate a multi-field survey form |
formforge/node/embed-form.js |
Generate an embeddable form snippet |
| File | Description |
|---|---|
formforge/python/contact_form.py |
Generate a contact form and save as HTML |
formforge/python/registration_form.py |
Generate a user registration form |
# No dependencies needed -- uses built-in fetch (Node 18+)
node docforge/node/markdown-to-html.js
node reportforge/node/sales-report.js
node formforge/node/contact-form.jspip install requests
python docforge/python/markdown_to_html.py
python reportforge/python/sales_report.py
python formforge/python/contact_form.pyEach API publishes an OpenAPI 3.0 specification:
- DocForge: https://docforge-api.vercel.app/openapi.json
- ReportForge: https://reportforge-api.vercel.app/openapi.json
- FormForge: https://formforge-api.vercel.app/openapi.json
Import these into Postman, Insomnia, or any OpenAPI-compatible tool.
MIT