βββββββββββββββ ββββββββββββββββ βββββββββββββββ
β Next.js ββββββΆβ FastAPI ββββββΆβ PostgreSQL β
β Frontend β β Backend β β β
βββββββββββββββ ββββββββ¬ββββββββ βββββββββββββββ
β
ββββββββ΄ββββββββ
β Redis β
ββββββββ¬ββββββββ
β
ββββββββββββββΌβββββββββββββ
βΌ βΌ βΌ
ββββββββββ βββββββββββ ββββββββββββ
β Worker β β Beat β β Mailhog β
β Celery β β Celery β β (dev) β
ββββββ¬ββββ βββββββββββ ββββββββββββ
β
GitHub clone β language pipeline β registry/OSV/license/health β optional AI
- Users authenticate with GitHub OAuth (JWT access + refresh). Google and email signup are also available.
- GitHub tokens are stored encrypted (Fernet) and used for clone, listing, and opt-in PR publish.
- Repository access is scoped to the user's active organization. Cross-organization IDs return 404.
- Connect GitHub and select repositories (private repos require a token with repo scope).
- Import stores metadata on the organization. Pro+ may register inbound GitHub webhooks.
- Clone to an ephemeral scan volume.
- Language pipeline: classify β parse manifests/lockfiles β usage β graph β enrich.
- Results persist: dependencies, relationships, usages, CVEs, licenses, health, alerts.
| Queue | Work |
|---|---|
scans |
Clone, classify, parse, usage, graph persist |
analysis |
Registry versions, OSV, licenses, health, alternatives, optional AI summaries |
notifications |
Email / Slack for critical alerts |
default |
Recovery, cleanup, upgrade simulations |
Unsupported languages finish as unsupported. They do not invent a dependency inventory.
Organizations, members, repositories, scans, dependencies, dependency relationships, library usages, CVEs, licenses (on the dependency), health (on the dependency + breakdown metadata), upgrade simulations, upgrade findings, migration reports / knowledge-base rules, AI caches, billing subscriptions and invoices.
- Tenant isolation is organization-scoped (
get_org_repository). - Repository file contents sent to AI are fenced as untrusted data.
- Production rejects default
SECRET_KEY/GITHUB_WEBHOOK_SECRETvalues. - Billing checkout in production requires a configured Stripe or Razorpay provider.
docker compose up for development. docker compose -f docker-compose.prod.yml up -d --build for production (migrations job, required secrets, no Mailhog, no source bind-mounts). Operator procedure: production-deployment.md.