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.

local md files > MCP

🎯 Perfect for Claude Code

dkb automatically generates a CLAUDE.md file that provides context about your local documentation cache. This integrates seamlessly with Claude Code by:

  1. Auto-generated context: The CLAUDE.md file includes repository descriptions and paths
  2. Easy referencing: Simply add @~/.local/share/dkb/CLAUDE.md to your Claude instructions
  3. Always up-to-date: Regenerates whenever you add, remove, or update documentation

Example CLAUDE.md reference in your instructions:

@/Users/you/.local/share/dkb/CLAUDE.md

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.0

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 vue https://github.com/vuejs/docs.git src/guide src/api
  dkb remove vue
  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
  • Explain how to hook-up Claude Code with dkb

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.0.tar.gz (7.3 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.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dkb-0.1.0.tar.gz
  • Upload date:
  • Size: 7.3 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.0.tar.gz
Algorithm Hash digest
SHA256 a98e1f72b62bc6d31f32b148949e3da550c3edae65874f3ef03ffaf587c501bc
MD5 007f3e7f98e10415f2253c5b7a72a21c
BLAKE2b-256 b95a9320aa24f57a20e7209e86abdd9623b4c20aed4659430921f040d0edf7bd

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: dkb-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d78f8ad5f5ca59397cfc5ec5a5ba10dbe4651ad4e935eea49220c5c7e426a80b
MD5 123e0035bb28eba7bc72adb24225a553
BLAKE2b-256 5c05c066ac1611c45dd2143d0e263567db9410840372f6b1bfaac133f5b8beab

See more details on using hashes here.

Provenance

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