noah-sheldon / noah-sheldon/contentforge
P2 — Cloudflare API + VM pipeline services
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Edge API on Workers (Hono); pipeline on the Netcup VM; Workflows orchestrates via Cloudflare Tunnel.
flowchart LR
WEB[Vercel web] --> API[Workers - Hono API]
API --> M[(MongoDB Atlas - tenants, runs, jobs)]
API --> WF[Workflows - run orchestration]
WF --> Q[Queues]
WF -->|Tunnel| VM[Netcup VM - pipeline + LiteLLM]
VM --> O[(Hetzner OBJ - media)]
VM --> LLM[LiteLLM - agent-agnostic LLM + BYOK]
Steps
- Workers API (Hono + Zod + mongoose): /runs, /projects, /tenant/config, /media, HITL approve/reject — WorkOS JWT at the edge, MongoDB-backed
- Cloudflare Workflows + Queues orchestrate runs (durable steps, step.waitForEvent at HITL checkpoints, format_direction branch)
- MongoDB Atlas (mongoose): tenants, projects, runs, jobs, meters
- Hetzner Object Storage (S3 API) media with per-tenant prefixes + signed URLs
- Netcup VM Docker Compose stack: pipeline container (FastAPI entrypoints reusing existing python/ code), LiteLLM container, cloudflared — zero public ports
- LiteLLM: agent-agnostic LLM layer, per-tenant virtual keys, hosted + BYOK
- HITL checkpoints as API endpoints — replaces state/pipeline.json
Acceptance criteria
- Full pipeline runs headless via API with job status tracking, all format_direction values
- HITL approvals flow through the API
- Artifacts land in Hetzner OBJ; run state survives restarts in MongoDB
Full detail + mermaid diagrams: PLAN.md, docs/lld.md
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with PLAN.md and docs/lld.md, then inspect the existing python/ code and the planned service boundaries. Trace how the Workers API, Workflows, VM pipeline, HITL checkpoints, and MongoDB state fit together. Done means the listed acceptance criteria pass: headless runs and status tracking, HITL approvals, artifact storage, and restart-safe run state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, fastapi, mongodb, python
- Domain
- api, authentication, backend, cloud, databases, devops, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100