Business session 5: fixed Forgejo push, added URL→PDF + usage tracking

This commit is contained in:
Hoid 2026-02-14 13:03:12 +00:00
parent 600725da17
commit 930a2e03cc
3 changed files with 25 additions and 5 deletions

View file

@ -46,3 +46,14 @@
- **Status:** Code complete, deployment-ready, blocked on Forgejo push + domain + Stripe
- **Next:** Fix Forgejo push access, deploy to server, get domain, set up Stripe
- **Blockers:** Forgejo token lacks write access; need domain + Stripe from human
## Session 5 — 2026-02-14 13:00 UTC (Afternoon Session)
- **Fixed Forgejo push** — SSH URL needed `forgejo@` not `git@`. All code now pushed successfully.
- Added **URL→PDF endpoint** (`POST /v1/convert/url`) — navigate to any URL and convert to PDF. Validates URL, supports custom wait strategies.
- Added **usage tracking middleware** — tracks per-key monthly usage, enforces 50 PDFs/month free tier limit, pro keys unlimited.
- Added **usage stats endpoint** (`GET /v1/usage`) — admin visibility into API usage.
- Added `"type": "module"` to package.json (was missing, caused TypeScript import.meta error).
- All code compiles clean, pushed to Forgejo.
- **Status:** MVP feature-complete. 4 conversion endpoints (HTML, Markdown, URL, Templates). Auth + rate limiting + usage tracking. Landing page. Docker deployment config.
- **Next:** Need human for: domain purchase, server deployment, Stripe setup.
- **Blockers:** Domain, Stripe, deployment access — all require human action.