Skip to main content

Developer Knowledge Base - Fetch and organize documentation locally for vibe coding with Claude Code

Project description

dkb - Developer Knowledge Base

Local documentation manager for vibe coding with Claude Code.

[!NOTE] โœจ Perfect for Claude Code

dkb automatically generates a CLAUDE.md file that provides context about your local documentation cache and dkb usage instructions.

# ~/CLAUDE.md
+ @~/.local/share/dkb/CLAUDE.md

Now on your next Claude Code session it will know how to use it.

Claude integration

Local .md files > MCP

Install

# Install with uv
uv tool install dkb

# Or with pipx
pipx install dkb

Usage

$ dkb -h
usage: dkb [-h] {add,remove,update,status,claude} ...

dkb v0.3.0

Developer Knowledge Base - Fetch and organize documentation locally for vibe coding with Claude Code

positional arguments:
  {add,remove,update,status,claude}
                        Available commands
    add                 Add a new repository
    remove              Remove a repository
    update              Update repositories
    status              Show status of all repositories
    claude              Regenerate CLAUDE.md file

options:
  -h, --help            show this help message and exit

Examples:
  dkb add deno https://github.com/denoland/docs.git
  dkb add tailwind https://github.com/tailwindlabs/tailwindcss.com.git src/docs
  dkb add gramio https://github.com/gramiojs/documentation.git docs --version-url https://github.com/gramiojs/gramio.git
  dkb remove tailwind
  dkb update
  dkb status

# Add a repository (entire repo)
$ dkb add deno https://github.com/denoland/docs.git

๐Ÿ“ฆ Adding deno...
   โœ“ 2.4.2
   โœ“ Updated /Users/you/.local/share/dkb/CLAUDE.md

# Show status with rich formatting
$ dkb status

                                    Knowledge Base Status
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“
โ”ƒ Repository   โ”ƒ Version โ”ƒ Docs                     โ”ƒ Source                  โ”ƒ Last Updated โ”ƒ
โ”กโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ฉ
โ”‚ better-auth  โ”‚ 1.2.12  โ”‚ better-auth/better-auth  โ”‚ -                       โ”‚ 25m ago      โ”‚
โ”‚ deno         โ”‚ 2.4.2   โ”‚ denoland/docs            โ”‚ denoland/deno           โ”‚ 25m ago      โ”‚
โ”‚ nextjs       โ”‚ 15.4.2  โ”‚ vercel/next.js           โ”‚ -                       โ”‚ 24m ago      โ”‚
โ”‚ tailwind     โ”‚ 4.1.11  โ”‚ tailwindlabs/tailwindcss.com โ”‚ tailwindlabs/tailwindcss โ”‚ 12m ago      โ”‚
โ”‚ uv           โ”‚ 0.8.0   โ”‚ astral-sh/uv             โ”‚ -                       โ”‚ 33m ago      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

# Update all repositories
$ dkb update

Updating deno... โœ“ updated
Updating nextjs... - unchanged
Updating tailwind... - unchanged
Updating uv... - unchanged

Updated: deno
โœ“ Updated /Users/you/.local/share/dkb/CLAUDE.md

Configuration

Docs stored in $XDG_DATA_HOME/dkb/ (defaults to ~/.local/share/dkb/)

Configuration file: $XDG_DATA_HOME/dkb/config.json

TODO

  • UX should be dkb add https://github.com/astral-sh/uv/tree/main/docs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dkb-0.3.0.tar.gz (189.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dkb-0.3.0-py3-none-any.whl (194.2 kB view details)

Uploaded Python 3

File details

Details for the file dkb-0.3.0.tar.gz.

File metadata

  • Download URL: dkb-0.3.0.tar.gz
  • Upload date:
  • Size: 189.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dkb-0.3.0.tar.gz
Algorithm Hash digest
SHA256 615e9775c6a39ba6bb04ff497a28d419bf38e387551c0d07ac56fbd4cd813f61
MD5 d43f9d38f8a1b79839ee0135bd265e3b
BLAKE2b-256 140832742938748e373e4681b259f4ff3c28d64fcf4de33e080ea8b19cacdd5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for dkb-0.3.0.tar.gz:

Publisher: release.yml on adriangalilea/dkb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dkb-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: dkb-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 194.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dkb-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03fcbd8c1600030d40efba3e6f56f84fa36cacc492ba693f585d3170b25d79a2
MD5 11dec88601ba52191512b6ec763942c4
BLAKE2b-256 6af776cb9159b28a06d0baaaa37754e62808817ed1b8c6ec26345e18ca52f319

See more details on using hashes here.

Provenance

The following attestation bundles were made for dkb-0.3.0-py3-none-any.whl:

Publisher: release.yml on adriangalilea/dkb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page