Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ uses [Semantic Versioning](https://semver.org/).

## [Unreleased]

### Removed

- **Unsupported hosted web application.** Removed the FastAPI app, its
background jobs and cache, the HTTP documentation server, and the web-app
launcher. Use the CLI or MCP server to generate documentation; the static
HTML viewer, GitHub Pages output, landing page, and TechDocs export remain
supported. Docker now runs one-shot CLI commands with a mounted repository
and persistent CLI configuration instead of an HTTP service. See the
[Docker guide](guides/docker.md) for the new workflow.
- **Stale generated self-documentation.** Removed the checked-in `docs/`
snapshot and its saved analysis artifacts. Hand-written documentation
remains in `guides/`; generate a fresh wiki locally with
`codewiki generate --github-pages`.

### Added

- **Backstage TechDocs output.** `codewiki generate --techdocs` (or
Expand Down
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@

https://github.com/user-attachments/assets/951d5d3c-fd6e-4734-8b16-445d880f95d3

<p align="center">
📚 <strong>CodeWiki documents itself.</strong> Browse the documentation it generated for this repository at
<a href="https://fsoft-ai4code.github.io/CodeWiki/docs/index.html">CodeWiki docs</a>.
</p>

<p align="center">
<img src="./img/framework-overview.png" alt="CodeWiki framework" width="600" style="border: 2px solid #e1e4e8; border-radius: 12px; padding: 20px;"/>
</p>
Expand All @@ -46,6 +41,9 @@ overview, with Mermaid diagrams. It works on codebases from a few thousand to
over a million lines, in 11 languages. It needs an LLM API key, or a Claude or
Codex subscription, or an AI IDE that speaks MCP.

The hosted web app is retired; use the CLI, MCP server, or
[Docker CLI jobs](./guides/docker.md).

## Quick start

**1. Install**
Expand Down Expand Up @@ -188,8 +186,6 @@ its sub-modules (`auth.md`, `auth/login.md`). `--flat` puts every page in
`index.md` and the module tree as the navigation. See
[Backstage TechDocs](./guides/backstage-techdocs.md).

This repository's own output is checked in under [`./docs/`](./docs/).

## Benchmark results

Evaluated on [CodeWikiBench](https://github.com/FSoft-AI4Code/CodeWikiBench):
Expand Down Expand Up @@ -253,7 +249,7 @@ JavaScript, TypeScript). Artifacts lift the build and testing topics, which
| [MCP / IDE-driven mode](./guides/mcp-ide-mode.md) | Cursor, Claude Desktop, Claude Code, CodeBuddy |
| [Backstage TechDocs](./guides/backstage-techdocs.md) | publish the docs in a Backstage developer portal |
| [Development guide](./guides/development.md) | layout, pipeline, adding a language, tests, releasing |
| [Docker setup](./guides/docker.md) | the web application in a container |
| [Docker setup](./guides/docker.md) | run CLI jobs in a container |
| [CodeWikiBench](https://github.com/FSoft-AI4Code/CodeWikiBench) | the benchmark |
| [Live demo](https://fsoft-ai4code.github.io/codewiki-demo/) | generated documentation examples |

Expand Down
16 changes: 0 additions & 16 deletions codewiki/run_web_app.py

This file was deleted.

2 changes: 1 addition & 1 deletion codewiki/src/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"""CodeWiki backend and frontend modules."""
"""CodeWiki configuration, analysis, and documentation generation modules."""
4 changes: 2 additions & 2 deletions codewiki/src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@


def set_cli_context(enabled: bool = True):
"""Set whether we're running in CLI context (vs web app)."""
"""Set whether we're running through the CLI configuration adapter."""
global _CLI_CONTEXT
_CLI_CONTEXT = enabled

Expand All @@ -66,7 +66,7 @@ def is_cli_context() -> bool:

# LLM services
# In CLI mode, these will be loaded from ~/.codewiki/config.json + keyring
# In web app mode, use environment variables
# The standalone backend entry point uses environment variables.
MAIN_MODEL = os.getenv("MAIN_MODEL", "claude-sonnet-4")
FALLBACK_MODEL_1 = os.getenv("FALLBACK_MODEL_1", "glm-4p5")
CLUSTER_MODEL = os.getenv("CLUSTER_MODEL", MAIN_MODEL)
Expand Down
26 changes: 0 additions & 26 deletions codewiki/src/fe/__init__.py

This file was deleted.

265 changes: 0 additions & 265 deletions codewiki/src/fe/background_worker.py

This file was deleted.

Loading
Loading