我们处理了工程师和 IDE 无法处理的事情:为您的代码库生成和维护技术文档,同时还提供了依赖关系感知的搜索功能
Sohan - @SohanSarabu
Adi - @adiperswal
Sita uses GitHub Discussions for Support and Feature Requests.
Your browser does not support the video tag.
Automate documentation for any repo: we traverse your codebase, parse the AST, build a dependency graph, and walk that graph to generate accurate, high-signal docs. A built-in MCP server lets coding agents deep-search your code via HTTP.
(Interested in our hosted or enterprise offerings? Join the waitlist at https://trysita.com)
Install these once on your machine:
Reference docs
Some features or scripts may call the GitHub API (e.g., fetching repo metadata). If you hit rate limits or need to access private repos, create a Personal Access Token (PAT) and set it in your environment.
Suggested scopes
public_repo.repo.Add to your .env (or shell env):
GITHUB_TOKEN=ghp_your_token_hereNotes
.env.cp .env.example .envDATABASE_URL (local postgres DB). In Compose, DB is available at postgresql://postgres:postgres@db:5432/app.INGESTION_API_URL for the web app to call the FastAPI service.ANALYSIS_DB_DIR controls where generated per-repo SQLite files live.SUMMARIES_API_KEY, SUMMARIES_MODEL, SUMMARIES_BASE_URL (OpenAI-compatible, default OpenRouter)EMBEDDINGS_API_KEY, EMBEDDINGS_MODEL, EMBEDDINGS_BASE_URL (OpenAI-compatible, default OpenAI)MAX_REQUESTS_PER_SECOND for LLM summary batching (default 15)docker compose up -d
# If you want to see logs
docker compose upYou should now have:
/schema)To refresh a repository’s docs after code changes, remove the repo and re-ingest it (temporary workflow):
We’re actively adding a one-click "Resync" button in the UI, followed by automatic periodic ingestion (coming soon)
The MCP server is available at http://localhost:3000/api/mcp and is designed for coding agents and MCP-compatible clients. It exposes a codebase-qna tool that answers repository-scoped questions by querying the analysis databases that AutoDocs produces.
Tips
http://localhost:3000/api/mcp.x-repo-id header with the repo ID (you can find it in the UI).For a local dev loop without Docker Compose you can run the API and web dev servers directly:
# concurrent dev (API + Web + DB)
./tools/dev.sh --syncDatabase migration (run if modifying the postgres schema)
cd packages/shared
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/app pnpm drizzle-kit push --config drizzle.main.config.tsingestion/ — Python FastAPI service, AST parser, graph builder, embeddings, and search.webview/ — Next.js app (Turborepo workspace) and shared TS packages.docker-compose.yml — local Postgres, API, and Web services.tools/ — helper scripts (build_all.sh, dev.sh, uv_export_requirements.sh).INGESTION_API_URL=http://api:8000 is set in .env.uv/pnpm: install them (see links above)Licensed under the Apache 2.0 License. See LICENSE.
暂无开放 Issues,或尚未同步最近议题。