whatisgithub

What is wakawiki?

sonyarianto/wakawiki — explained in plain English

Analysis updated 2026-05-18

4RustAudience · developerComplexity · 2/5LicenseSetup · easy

In one sentence

A command line tool where an AI agent explores your codebase and writes structured documentation for it automatically, with an option to update only what changed.

Mindmap

mindmap
  root((repo))
    What it does
      AI writes codebase docs
      Reads and searches files
      Incremental updates
    Tech stack
      Rust
      npm and cargo install
      opencode local option
    Use cases
      Auto generate docs
      Refresh docs after changes
      CI documentation updates
    Audience
      Developers
      Coding agent builders
    Providers
      OpenAI
      Anthropic
      DeepSeek
      OpenRouter

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Generate documentation for a codebase automatically instead of writing it by hand.

USE CASE 2

Keep existing docs up to date by refreshing only the parts that changed.

USE CASE 3

Run a fast, AI free scan mode to get instant documentation from source code parsing alone.

USE CASE 4

Set up a scheduled GitHub Action that opens a pull request with refreshed docs.

What is it built with?

RustnpmCargoGitHub Actions

How does it compare?

sonyarianto/wakawiki6elphegor/warpadoslabsproject-gif/liara-toolkit
Stars444
LanguageRustRustRust
Setup difficultyeasyeasyhard
Complexity2/55/54/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Most providers need an API key, but the opencode provider works with no API key at all.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

WakaWiki is a command line tool that writes and keeps up documentation for your codebase, built in Rust. Instead of you writing docs by hand, an AI agent explores your project, reads the files, searches for patterns, and produces structured documentation on its own. The project was inspired by OpenWiki. You can install it with npm or with cargo, Rust's package manager, or build it from source. Once installed, you run wakawiki --init to pick and configure an AI provider. Supported providers include OpenAI, Anthropic, DeepSeek, and OpenRouter, all of which need an API key, plus a local option called opencode that needs no API key at all. After setup, running wakawiki alone starts an interactive documentation session, while wakawiki -p lets you run it once with a specific instruction, useful for automated scripts. The tool works through a loop where it lists files, reads them, searches the codebase, and writes documentation as it goes. If you already have docs and only want to refresh what changed, the --update flag updates just those parts instead of starting over. There is also a --scan mode that skips the AI model entirely and generates instant documentation just by parsing the source code directly, which is fast and predictable but less detailed. Output lands in a wakawiki folder containing an overview file, an architecture file, and other module specific documents, along with a metadata file used to track future updates. It also creates or updates an AGENTS.md file so that AI coding agents know where to find the documentation. The project includes a ready made GitHub Actions workflow so documentation can be regenerated automatically on a schedule and submitted as a pull request. Configuration, including your chosen provider and API key, is stored in a local config file or set through environment variables. WakaWiki is released under the MIT License, so it can be used and modified freely.

Copy-paste prompts

Prompt 1
Help me install wakawiki and configure it to use the opencode provider with no API key.
Prompt 2
Set up wakawiki --init for my project and explain each provider option.
Prompt 3
Show me how to add the wakawiki GitHub Actions workflow to auto update docs daily.
Prompt 4
Run wakawiki --scan on my project and explain what the generated files mean.

Frequently asked questions

What is wakawiki?

A command line tool where an AI agent explores your codebase and writes structured documentation for it automatically, with an option to update only what changed.

What language is wakawiki written in?

Mainly Rust. The stack also includes Rust, npm, Cargo.

What license does wakawiki use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is wakawiki to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is wakawiki for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.