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,cron} ...

dkb v0.1.3

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

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

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 remove tailwind
  dkb update
  dkb status

# Add a repository with specific paths
$ dkb add orpc https://github.com/unnoq/orpc.git apps/content/docs
Fetching orpc from https://github.com/unnoq/orpc.git
Branch: main
Paths: apps/content/docs
✓ orpc updated

# Show status - note the newly added 'orpc' repository
$ dkb status
Knowledge Base Status

drizzle         no-tags              eb8d0dd2  25m ago
nextjs          no-tags              81f0c764  31m ago
orpc            v1.6.4               99032307  0m ago     # <-- just added!
turborepo       no-tags              6c85c5ae  29m ago
uv              no-tags              c3f13d25  19m ago

# Update all repositories
$ dkb update

# Remove a repository
$ dkb remove drizzle
✗ drizzle removed

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.1.3.tar.gz (186.4 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.1.3-py3-none-any.whl (190.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dkb-0.1.3.tar.gz
Algorithm Hash digest
SHA256 24f997e0b5c620821ca3435bb01387c01dd34d1844ddc833e2a7aa5e446188b6
MD5 6ba7fcd7c93a5959dffa41d2d67fa2dc
BLAKE2b-256 8fefc0c9acda8244529526a762cdce6b22dda9aba7aa851a73b9a689fe886b2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dkb-0.1.3.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.1.3-py3-none-any.whl.

File metadata

  • Download URL: dkb-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 190.6 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.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 642d08df42df651968498ddc6fee3c981ebf16c821c0e5b9c9260cb9aebf7107
MD5 4584aea803ee5e35f0523ab8e324324f
BLAKE2b-256 8aa9a649abc3ecf3ecfd4d9de7ef9bfde5c1d690ffee99704b7b86e41f96dbaa

See more details on using hashes here.

Provenance

The following attestation bundles were made for dkb-0.1.3-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