WWikis

Generating a Wiki

Step-by-step guide to turning any repository into a browsable wiki.

The Generate Wiki dialog

Click + Add a repository on the dashboard to open the dialog.

Generate Wiki form with a repository URL filled inGenerate Wiki form with a repository URL filled in

Repository URL or Local Path

Paste any of the following:

https://github.com/owner/repo

Wikis auto-detects GitHub from the URL and shows Detected provider: github below the field.

https://gitlab.com/owner/repo

Self-hosted GitLab instances work too — use the full hostname.

https://bitbucket.org/owner/repo
https://dev.azure.com/org/project/_git/repo
/home/user/my-project

The path must be listed in ALLOWED_LOCAL_PATHS in your server's .env. See Self-hosting.

Branch

Defaults to main. Change this to any branch name, e.g. develop or release/2.0.

Access Token (private repos)

Leave blank for public repositories. For private repos, provide a personal access token:

ProviderToken formatWhere to create
GitHubghp_…Settings → Developer settings → Personal access tokens
GitLabglpat-…User Settings → Access Tokens
BitbucketUsername + app passwordAccount settings → App passwords
Azure DevOpsAny PAT with Code (read) scopeUser settings → Personal access tokens

Tokens are used only to clone the repository and are not stored permanently. If generation fails with an authentication error, you will be prompted to enter the token again.

What happens during generation

After you click Generate Wiki, you are taken to the wiki viewer. A progress stepper shows four phases:

PhaseWhat's happening
Clone & IndexRepository is cloned; files are parsed with tree-sitter (14+ languages) and embedded into FAISS + BM25 indexes
PlanAn LLM creates the wiki outline — sections, page titles, and descriptions
GenerateLangGraph agents write each page in parallel, grounded in the indexed code
FinalizeQuality checks, diagram sanitisation, and artifact storage

The Activity Log below the stepper shows real-time detail — page names as they are written, retrieval operations, quality checks.

Generation options

The Generate Wiki dialog intentionally keeps the form minimal. Advanced options (custom title, visibility, model overrides, force re-index) are available via the REST API for programmatic workflows.

Re-generating a wiki

If a wiki is in failed or partial state, open it and click the ↺ Refresh button in the header. If the original error was an authentication failure, a dialog will ask for an updated access token before retrying.

Re-generating replaces all existing pages. The wiki is unavailable during regeneration.

Generation time estimates

Generation time depends on:

  • Repository size — number of files and lines of code
  • LLM provider speed — GPT-4o-mini is faster than GPT-4; local Ollama models vary
  • Concurrency — the backend runs page generation in parallel

A typical 100-file repo takes 3–8 minutes on OpenAI GPT-4o. Very large repos (1000+ files) may take 20–30 minutes.