FastAPI backend for PDF/image note ingestion, page rendering, heuristic segmentation, block review, LaTeX assembly, and optional PDF compilation.
uv sync --dev
uv run onemoon-backend
uv run pytest- The backend keeps the mock adapter as the default so the end-to-end review loop works without external credentials.
- For real block conversion, set
LLM_PROVIDER=openaiplusLLM_API_KEYorOPENAI_API_KEYinapps/backend/.env, or use the repo-root.envwithONEMOON_LLM_PROVIDER,ONEMOON_LLM_MODEL, andONEMOON_API_KEY. - Runtime files are written to the repo-level
data/directory.