João Flávio C. Lopes opened merge request !1: feat: reorganize repo and build backend digest pipeline at João Flávio C. Lopes / resume.ai

João Flávio C. Lopes
2026-03-22T22:55:20Z

Move apps/ui to frontend/, apps/api to backend/

Update pnpm-workspace.yaml

Backend new structure:

config.py: Pydantic Settings with .env support

database/models.py: SQLAlchemy models (Source, ContentItem, ContentSummary, DigestConfig, DigestRun)

database/session.py: async engine + init_db()

agents/summarizer.py: LangChain SummarizerAgent structured JSON output

agents/digest_composer.py: LangChain DigestComposerAgent HTML email

scrapers/youtube.py: yt-dlp channel scraper flat listing no download

scrapers/rss.py: feedparser RSS/Atom reader

scrapers/web.py: httpx + BeautifulSoup article scraper

services/transcription.py: Whisper lazy singleton + async thread executor

services/email_service.py: aiosmtplib SMTP sender

services/digest.py: full pipeline orchestration

workers/scheduler.py: APScheduler daily/weekly cron 07h BRT

routers/sources.py: CRUD for user content sources

routers/digest.py: digest config, history and manual trigger

main.py: FastAPI app with lifespan, CORS middleware, all routers

requirements.txt: cleaned and updated dependencies

.env.example: environment variable template