DocFast MVP: HTML/Markdown to PDF API with invoice templates

This commit is contained in:
Hoid 2026-02-14 12:30:17 +00:00
parent 789b3bfeeb
commit 77ec1c5524
24 changed files with 5010 additions and 22 deletions

View file

@ -1,21 +1,24 @@
# Decisions Log
## 2026-02-14 — Phase 0: Business Model Analysis
## 2026-02-14 — Product: PDF API (approved by user)
Chose HTML/Markdown to PDF API over webhook relay and JSON schema validation. Fastest to ship, proven demand, clear monetization.
### Constraints Assessed
- €200 budget, no human identity for accounts/payments
- Must be fully automatable by AI agent
- Digital products only
- Human partner handles: domain purchases, account creation, payment setup
- Available tech: Go, TypeScript, Python; Forgejo for git; can deploy on existing infra
## 2026-02-14 — Name: DocFast
Product name "DocFast" — short, memorable, describes value prop (fast document generation). Domain TBD.
### Models Evaluated & Rejected
- **Content/SEO sites**: Too slow to monetize, saturated, requires ongoing content
- **Freelance marketplace**: Requires human identity, client calls
- **Course/info product**: Need audience first, slow ramp
- **Chrome extension**: App store accounts need identity, review process unpredictable
- **Newsletter**: Audience building too slow for €200 budget
- **Marketplace/platform**: Chicken-and-egg problem, needs critical mass
## 2026-02-14 — Tech Stack: TypeScript + Express + Puppeteer
- TypeScript for type safety and fast iteration
- Express for simplicity (no framework overhead)
- Puppeteer for high-fidelity PDF rendering (Chrome-based = pixel-perfect)
- Marked for markdown parsing
- Chose Puppeteer over wkhtmltopdf/pdfkit for better CSS support and template rendering quality
### Models Shortlisted (3 proposals)
See proposals below — sent to user for approval.
## 2026-02-14 — Templates: Invoice + Receipt first
Built-in invoice and receipt templates as differentiator. Most PDF API competitors are raw converters — templates add immediate value for common use cases.
## 2026-02-14 — Pricing model (planned)
- Free tier: 100 PDFs/month
- Pro: $9/mo for 5,000 PDFs
- Business: $29/mo for 25,000 PDFs
- Enterprise: custom
Not yet implemented — need Stripe integration.