README
¶
tapper Documentation
This documentation is for end users and contributors working with tapper.
tap is the primary CLI. keg is a narrower project-focused profile built
from the same command tree.
Audience And Goals
Use these docs if you need to:
- set up tapper on your machine
- configure project-level defaults for a repository
- inspect or edit a keg's own configuration
- troubleshoot keg resolution behavior
- design sustainable KEG structure patterns
Choose Your Path
- I want to set up my machine: User Config
- I want this repo to have defaults: Project Config
- I want to inspect or edit a keg: Keg Config
- I want to design entities/tags and node conventions: KEG Structure Patterns
- I want to understand node revision history: Node Snapshots
- I want to back up or migrate a keg: Backups And Archives
- I want to understand internals and code flow: Architecture Overview
- I want to configure AI coding agents (Claude Code, Codex): AI Coding Agent Configuration
If you are unsure where to start, read Configuration Overview.
Command Quick Reference
Global keg targeting flags (mutually exclusive)
--keg ALIAS— target a keg by alias--project— target the project-local keg--cwd— target the keg in the current working directory--path PATH— target a keg by filesystem path
Node operations
tap cat NODE_ID— print node contenttap create— create a new node (reads stdin)tap edit NODE_ID— replace node content (reads stdin)tap meta NODE_ID— show or replace node metadata (reads stdin)tap stats NODE_ID— show node statisticstap rm NODE_ID— remove a nodetap mv SRC DST— move/renumber a nodetap list— list all nodes (supports--query)tap grep QUERY— search node contenttap tags [EXPR]— list tags or nodes matching a tag expression (supports--query)tap backlinks NODE_ID— show nodes linking to a given node
Keg operations
tap dir [NODE_ID]— print keg or node directory pathtap index rebuild— rebuild keg indicestap info— show keg diagnosticstap config— show active keg configtap config edit— edit active keg config (reads stdin)tap graph— output keg link graphtap import FILE— import nodes from a file
Locking
tap lock acquire NODE_ID— acquire a cross-process lock on a nodetap lock release NODE_ID— release a lock on a nodetap lock status NODE_ID— check the lock state of a nodetap lock force-release NODE_ID— unconditionally remove a lock
Attachments
tap file ls|upload|download|rm— manage node file attachmentstap image ls|upload|download|rm— manage node image attachments
Snapshots and archives
tap snapshot create NODE_ID -m "message"— capture a node snapshottap snapshot history NODE_ID— list node snapshot historytap snapshot restore NODE_ID REV --yes— restore a node snapshottap archive export -o out.keg.tar.gz— export a keg archivetap archive import out.keg.tar.gz— import a keg archive
Snapshot history is included in archives by default. Use --no-history to omit
it.
Repository management
tap repo init [--keg ALIAS]— initialize a keg with repo configtap repo rm ALIAS— remove a keg aliastap repo list— list configured keg aliasestap repo config— show merged repo configtap repo config --user|--project— show user or project configtap repo config edit --user|--project— edit user or project config (reads stdin)tap repo config template user|project— print starter config templates
Use the project-local profile when you want that narrowed workflow:
keg snapshot|archive ...
Common Scenarios
- Single-user local setup: Configuration Examples
- Team/project override setup: Configuration Examples
- Resolution and precedence details: Resolution Order
- Starting layout examples by domain: Example Keg Structures
- Writing consistent KEG note markdown: Markdown Style Guide
- Understanding command and service internals: Architecture Overview
- Backing up, restoring, or migrating a keg: Backups And Archives
Next Steps
Documentation
¶
Click to show internal directories.
Click to hide internal directories.