Delta is an intelligent, continuous documentation platform that treats documentation as a living part of your codebase. By integrating natively with your GitHub CI/CD workflow, Delta automatically detects drift between code changes and existing documentation during Pull Requests. Through the power of LLMs and autonomous LangGraph agents, Delta not only detects these inconsistencies but proactively proposes required documentation overhauls.
This repository (delta.frontend) holds the React dashboard that allows developers to manage their linked repositories, configure drift sensitivity, review AI-generated documentation updates, and monitor the overall health of their system. It works in lockstep with the Delta API (delta.backend).
- GitHub App Native Integration: Securely authenticate via OAuth and trigger analysis strictly through GitHub Webhooks (
pull_request,check_suite). - Real-time Drift Detection: Analyze code diffs and traverse documentation trees simultaneously to highlight outdated contexts.
- Intelligent Autorepair: Generate detailed documentation update strategies utilizing state-of-the-art LLMs.
- Interactive Developer Dashboard: Manage repositories, tweak ignore patterns, and monitor documentation update pipelines all in one place.
Delta is decoupled into a high-performance interactive dashboard and an asynchronous, robust AI processing backend.
- Framework: React 18 (Vite 5.x)
- Language: TypeScript 5.x
- State Management: TanStack Query (React Query)
- Styling: Tailwind CSS 3.x with Shadcn UI
├── app/ # Core router configuration (React Router) and global Providers
├── assets/ # Static web assets and global CSS definitions
├── components/ # Reusable UI architecture
│ ├── dashboard/# Feature components for repository management and analytics
│ ├── landing/ # Marketing landing pages
│ └── shadcn/ # Accessible, low-level UI building blocks
├── hooks/ # Stateful UI abstractions and lifecycle handlers
├── pages/ # Top-level application route wrappers
└── utils/ # API configuration (Axios interceptors) and generic helpers
You will need Node.js v18.0.0+ (or Bun), Docker and a GitHub Account.
-
Clone & Install Dependencies:
git clone https://github.com/Delta-Docs/delta.frontend.git cd delta.frontend bun install # or npm/yarn install
-
Environment Configuration: Create a
.envfile in the frontend root:VITE_API_URL="http://localhost:8000/api" VITE_GITHUB_CLIENT_ID="your_github_oauth_client_id"
-
Start Development Server:
bun dev
Dashboard available at:
http://localhost:5173
Frontend Issues
Port 5173 Address in use: Vite will generally auto-switch to 5174. If it fails, explicitly terminate previous Node instances or runbun dev --port 3000.Network Error on Login: VerifyVITE_API_URLexactly matches the running uvicorn instance without a trailing slash, and ensureCORS_ORIGINSin your backend.envacceptshttp://localhost:5173.
Backend Issues
Database connection refused: Ensure your Docker containers are running (make docker-up) and thatPOSTGRES_CONNECTION_URLmatches your local config.alembic: command not found: Your Python virtual environment is not active. Runsource .venv/bin/activateor use the Makefile abstractions.No module named fastapi: Runmake installto ensure pip requirements have successfully resolved inside.venv.