CodeWiki
CodeWiki is a knowledge platform that analyzes repositories into AST graphs, builds GraphRAG indexes, and generates source-grounded developer wikis with FastAPI, React, and LiteLLM.
File Explorer
Download Latest Version (.zip)- publish-pypi.yml
- test.yml
- __init__.py
- ask.py
- dependencies.py
- files.py
- graph.py
- repos.py
- runs.py
- settings.py
- wiki.py
- __init__.py
- analysis.py
- ask.py
- common.py
- config.py
- files.py
- graph.py
- graphrag.py
- lite.py
- main.py
- repos.py
- serve.py
- services.py
- skill.py
- wiki.py
- __init__.py
- analysis_runs.py
- base.py
- code_chunks.py
- code_graph.py
- communities.py
- embeddings.py
- graphrag.py
- llm_runs.py
- repos.py
- wiki.py
- __init__.py
- base.py
- batching.py
- dialects.py
- mappers.py
- records.py
- schema.py
- store.py
- utils.py
- __init__.py
- __main__.py
- args.py
- handlers.py
- protocol.py
- server.py
- tools.py
- transport.py
- types.py
- utils.py
- __init__.py
- base.py
- graph.py
- rag.py
- repo.py
- wiki.py
- catalog.md
- community_summary.md
- page.md
- qa.md
- translation.md
- __init__.py
- ask.py
- graph.py
- wiki.py
- __init__.py
- c.py
- capture_only.py
- cpp.py
- csharp.py
- ecma.py
- go.py
- java.py
- python.py
- rust.py
- __init__.py
- captures.py
- models.py
- normalization.py
- parser.py
- symbols.py
- topology.py
- __init__.py
- c.py
- cpp.py
- csharp.py
- ecma.py
- go.py
- java.py
- python.py
- rust.py
- __init__.py
- declarations.py
- endpoints.py
- imports.py
- parser.py
- schemas.py
- __init__.py
- base.py
- c.py
- common.py
- cpp.py
- csharp.py
- go.py
- java.py
- python.py
- registry.py
- rust.py
- tree.py
- __init__.py
- batching.py
- constants.py
- fallback.py
- models.py
- payloads.py
- response.py
- __init__.py
- detector.py
- edges.py
- namer.py
- records.py
- __init__.py
- affected.py
- builder.py
- call_resolver.py
- confidence.py
- config_detector.py
- ids.py
- import_resolver.py
- models.py
- node_factory.py
- nodes.py
- query.py
- __init__.py
- chunking.py
- constants.py
- context.py
- embedding.py
- expansion.py
- indexer.py
- models.py
- ranking.py
- retriever.py
- search.py
- utils.py
- __init__.py
- models.py
- planning.py
- symbol_recovery.py
- updater.py
- watcher.py
- wiki_regeneration.py
- __init__.py
- claude.py
- codex.py
- __init__.py
- constants.py
- io.py
- mcp.py
- registry.py
- types.py
- __init__.py
- gateway.py
- messages.py
- model_router.py
- operations.py
- run_recorder.py
- __init__.py
- file_info.py
- filesystem.py
- git.py
- git_ops.py
- ignore.py
- models.py
- scanner.py
- tree.py
- __init__.py
- source_hints.py
- __init__.py
- components.py
- data_flow.py
- data_model.py
- models.py
- rendering.py
- sequence.py
- symbol_flow.py
- __init__.py
- citations.py
- rendering.py
- urls.py
- __init__.py
- agent_tools.py
- agent_workflow.py
- catalog_generator.py
- catalog_limits.py
- catalog_planner.py
- generator.py
- incremental_strategy.py
- language.py
- markdown.py
- mermaid_validation.py
- page_generator.py
- page_orchestrator.py
- page_payload.py
- page_payload_context.py
- page_payload_template.py
- page_validation.py
- prompts.py
- translation.py
- translation_orchestrator.py
- translation_support.py
- tree.py
- utils.py
- __init__.py
- analysis_pipeline.py
- analyzer.py
- ast_cache.py
- ast_parser.py
- async_tasks.py
- chunk_builder.py
- embedding_index.py
- file_roles.py
- graph_provenance.py
- language_detector.py
- lite.py
- prompts.py
- question_answerer.py
- repo_context.py
- repo_metadata.py
- source_file_cache.py
- __init__.py
- config.py
- database.py
- env_config.py
- frontend.py
- main.py
- page-style.md
- compact-evidence.mjs
- export-html.mjs
- __init__.py
- SKILL.md
- __init__.py
- __init__.py
- build_frontend.py
- graph.png
- wiki.png
- benchmark-report-2026-05-22.md
- benchmarking.md
- changelog.md
- design.md
- lite-benchmark-report-2026-05-27.md
- README.zh-CN.md
- usage.md
- dev.mjs
- ask.ts
- client.ts
- files.ts
- graph.ts
- http.ts
- repos.ts
- runs.ts
- settings.ts
- types.ts
- wiki.ts
- AskForm.tsx
- AskResult.tsx
- useAsk.ts
- graphHighlight.ts
- containerDrilldownGraph.ts
- fileDetailGraph.ts
- fileDetailSymbols.ts
- focusGraph.ts
- overviewGraph.ts
- useGraphPageController.ts
- useRepoGraph.ts
- sourceRefMatching.ts
- DetailItem.tsx
- model.ts
- RawMetadata.tsx
- ReferenceSection.tsx
- constants.ts
- containment.ts
- edges.ts
- fileGrouping.ts
- filters.ts
- formatters.ts
- GraphBreadcrumbs.tsx
- GraphControls.tsx
- GraphFilesPanel.tsx
- GraphFiltersPanel.tsx
- GraphFlowCanvas.tsx
- graphModel.ts
- GraphNodes.tsx
- GraphToolbar.tsx
- layout.ts
- navigationEvents.ts
- nodeData.ts
- NodeDetails.tsx
- portals.ts
- stats.ts
- styles.ts
- summary.ts
- topology.ts
- types.ts
- useVisualGraph.ts
- visualState.ts
- useRepos.ts
- AskPage.tsx
- GraphPage.tsx
- ReposPage.tsx
- SettingsPage.tsx
- WikiPage.tsx
- fuzzy.ts
- details.css
- flow.css
- layout.css
- nodes.css
- article.css
- catalog.css
- layout.css
- mermaid.css
- sources.css
- admin.css
- ask.css
- foundations.css
- graph.css
- motion.css
- responsive.css
- shell.css
- wiki.css
- WikiArticle.tsx
- WikiCatalog.tsx
- index.ts
- markdown.ts
- zip.ts
- useWikiData.ts
- useWikiGenerationOperation.ts
- MarkdownComponents.tsx
- normalize.ts
- sections.ts
- MermaidBlock.tsx
- catalog.ts
- relatedPages.ts
- sourceNavigation.ts
- types.ts
- App.tsx
- main.tsx
- styles.css
- eslint.config.js
- index.html
- package-lock.json
- package.json
- tsconfig.json
- tsconfig.node.json
- vite.config.ts
- benchmark_lite_mode.py
- benchmark_repos.py
- check_python.py
- clean.py
- dev.py
- ensure_pip.py
- frontend_npm.py
- kill_ports.py
- test_analysis_service.py
- test_ast_parser.py
- test_async_tasks.py
- test_benchmark_repos_script.py
- test_cli.py
- test_community_detector.py
- test_community_edges.py
- test_community_namer.py
- test_config.py
- test_database_schema.py
- test_dev_script.py
- test_frontend_static.py
- test_graph_query.py
- test_graph_rag.py
- test_incremental_updater.py
- test_kill_ports.py
- test_language_detector.py
- test_llm_cache.py
- test_mcp_server.py
- test_mermaid_validation.py
- test_model_router.py
- test_postgres_store.py
- test_question_answerer.py
- test_repo_context.py
- test_repo_files_api.py
- test_repo_scanner.py
- test_store_factory.py
- test_wiki_generator.py
- .dockerignore
- .env.example
- .gitignore
- AGENTS.md
- docker-compose.yml
- Dockerfile
- LICENSE
- Makefile
- MANIFEST.in
- pyproject.toml
- README.md
- requirements.txt
- uv.lock
# Installation Guide
git clone https://github.com/PorunC/CodeWiki
Downloads the entire project code from GitHub to your computer.
cd CodeWiki
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Python 3 Python is required to use pip.
pip install codewiki
Installs the package published on PyPI directly โ no need to clone the source.
Pulled directly from this repo's README.
3. Docker
Easy- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose up --build
Builds and starts all defined containers (server, database, etc.) at once, in the background.
Pulled directly from this repo's README.
4. Node.js
Easycd frontend
This project's files live in a subfolder, so move into it first.
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
5. Python
Easypip install codewiki
Installs the package published on PyPI directly โ no need to clone the source.
Pulled directly from this repo's README.
6. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make install
Compiles the code based on the generated build configuration to produce an executable.
make start
Compiles the code based on the generated build configuration to produce an executable.
make lint
Compiles the code based on the generated build configuration to produce an executable.
make typecheck
Compiles the code based on the generated build configuration to produce an executable.
make test
Compiles the code based on the generated build configuration to produce an executable.
Pulled directly from this repo's README.
