Complete guide to all Fukura CLI commands with detailed options and examples
fuku init
fuku add
fuku search
fuku view
fuku open
fuku serve
fuku gc
fuku push
fuku pull
fuku sync
fuku config remote
fuku config redact
fuku daemon
fuku hook
These options can be used with any command:
--repo <PATH>
Path to the repository root (defaults to current directory)--quiet
Suppress celebratory output--version
Display version information--help
Display help informationInitialize a new Fukura repository in a directory
fuku init [PATH] [OPTIONS]
--force
Reinitialize existing repository--no-daemon
Skip daemon setup--no-hooks
Skip shell hooks installationfuku init
fuku init ~/projects/myapp
fuku init --no-daemon
fuku init --force
Add a new note to the repository
fuku add [OPTIONS]
--title <TEXT>
Note title--body <TEXT>
Note content--file <PATH>
Read content from file--stdin
Read content from stdin--tag <TAG>
Add tag (can be used multiple times)--meta <KEY=VALUE>
Add metadata (can be used multiple times)--link <URL>
Add link (can be used multiple times)--privacy <LEVEL>
Privacy level: private, org, or public (default: private)--author <NAME>
Author name--email <EMAIL>
Author email--no-editor
Skip editor and use inline inputfuku add --title "Fixed CORS issue"
fuku add \
--title "Redis connection error" \
--body "Added retry logic with exponential backoff" \
--tag redis \
--tag error-handling \
--meta severity=high \
--link "https://redis.io/topics/connection-handling" \
--privacy org
fuku add --title "Deploy script" --file ./deploy.sh
echo "Quick note" | fuku add --title "Temp fix" --stdin
git log --oneline -5 | fuku add --title "Recent commits" --stdin
fuku add --title "Quick note" --no-editor
Search notes in the repository
fuku search [QUERY] [OPTIONS]
-n, --limit <N>
Maximum number of results (default: 20)-s, --sort <SORT>
Sort by: relevance, updated, or likes (default: relevance)--json
Output as JSON--tui
Interactive TUI mode-a, --all-repos
Search across all local repositoriesfuku search "database error"
fuku search "api" --limit 5
fuku search "deployment" --sort updated
fuku search cors nginx api
fuku search "redis" --tui
fuku search "kubernetes" --all-repos
fuku search "error" --json | jq '.[].title'
↑/↓
Navigate resultsTab
Switch between results and filtersSpace
Toggle tag filter1-4
Set time filter (All/7d/30d/90d)f
Clear all filterso
Open note in browserr
Refresh searchq/Esc
Exit TUIView a note's contents
fuku view <ID> [OPTIONS]
--json
Output as JSONfuku view a3f8e9b2c4d5e6f7
fuku view a3f8e9b2
fuku view @latest
fuku view @1
fuku view @latest --json
Open a note in your web browser with rendered HTML
fuku open <ID> [OPTIONS]
--theme <THEME>
Theme: light or dark (default: dark)--browser-only
Open in browser directly (no local server)--url-only
Show URL only (don't open browser)--server-port <PORT>
Local server port (default: 8080)fuku open @latest
fuku open a3f8e9b2 --theme light
fuku open @latest --browser-only
fuku open a3f8e9b2 --url-only
fuku open @latest --server-port 3000
Start a local web server to browse notes via HTTP API
fuku serve [OPTIONS]
--addr <HOST:PORT>
Server address (default: 127.0.0.1:8765)--page-size <N>
Default page size (default: 50)fuku serve
fuku serve --addr 0.0.0.0:8080
fuku serve --page-size 100
curl http://127.0.0.1:8765/notes?q=redis&limit=5
curl http://127.0.0.1:8765/notes/a3f8e9b2
curl -X POST http://127.0.0.1:8765/notes \
-H "Content-Type: application/json" \
-d '{"note":{"title":"API test","body":"Created via API","tags":[],"privacy":"private"}}'
GET
/healthz
Health checkGET
/notes?q=<query>&limit=<n>&sort=<relevance|updated|likes>
List/search notesGET
/notes/:id
Get specific notePOST
/notes
Create noteGarbage collection: optimize storage by packing loose objects
fuku gc [OPTIONS]
--prune
Remove loose objects after packingfuku gc
fuku gc --prune
Push a note to remote server
fuku push <ID> [OPTIONS]
--remote <URL>
Remote URL (overrides config)fuku push a3f8e9b2
fuku push a3f8e9b2 --remote https://hub.fukura.dev
fuku push @latest
Pull a note from remote server
fuku pull <ID> [OPTIONS]
--remote <URL>
Remote URL (overrides config)fuku pull hub-id-12345
fuku pull hub-id-12345 --remote https://hub.fukura.dev
Sync notes with remote server
fuku sync [ID] [OPTIONS]
--remote <URL>
Remote URL (overrides config)--all
Sync all private notes--enable-auto
Enable automatic syncing--disable-auto
Disable automatic syncingfuku sync --enable-auto
fuku sync --disable-auto
fuku sync a3f8e9b2
fuku sync --all
fuku sync --all --remote https://hub.fukura.dev
Configure remote URL for syncing
fuku config remote [OPTIONS]
--set <URL>
Set remote URL--clear
Clear remote URL--global
Apply globally (all projects)fuku config remote --set https://hub.fukura.dev
fuku config remote --set https://hub.fukura.dev --global
fuku config remote --clear
fuku config remote --clear --global
Manage redaction rules for sensitive data
fuku config redact [OPTIONS]
--set <NAME=REGEX>
Add redaction rule (can be used multiple times)--unset <NAME>
Remove redaction rule (can be used multiple times)fuku config redact --set api_key='sk-[a-zA-Z0-9]{32}'
fuku config redact \
--set api_key='sk-[a-zA-Z0-9]{32}' \
--set password='password=\S+' \
--set token='token:\s*\S+'
fuku config redact --unset api_key
fuku config redact --unset api_key --unset password
Manage the background daemon for automatic error capture
fuku daemon [OPTIONS]
--status
Show daemon status and information--stop
Stop the daemon--foreground
Run daemon in foreground (for debugging)fuku daemon
fuku daemon --status
fuku daemon --stop
fuku daemon --foreground
Manage shell hooks for automatic error detection
fuku hook [OPTIONS]
--install
Install hooks--uninstall
Uninstall hooks--status
Check installation statusfuku hook --install
fuku hook --status
fuku hook --uninstall
1. Initialize repository
cd ~/projects/myapp
fuku init
2. Add a note
fuku add --title "Initial setup notes"
3. Search notes
fuku search "setup"
4. View note in browser
fuku open @latest
The daemon captures errors automatically
cd ~/projects/myapp
fuku init # Enables daemon by default
Run commands normally - errors are auto-captured
npm test
cargo build
docker-compose up
Check captured errors
fuku search "error"
fuku daemon --status
1. Configure remote
fuku config remote --set https://hub.fukura.dev
2. Enable auto-sync
fuku sync --enable-auto
3. Add notes with org privacy
fuku add --title "Deployment guide" --privacy org
4. Sync all team notes
fuku sync --all
5. Pull teammate's note
fuku pull hub-id-12345
Set up redaction rules
fuku config redact \
--set api_key='sk-[a-zA-Z0-9]{32}' \
--set password='password=\S+' \
--set aws_key='AWS[A-Z0-9]{16}' \
--set token='Bearer\s+[A-Za-z0-9-._~+/]+=*'
Now all notes automatically redact sensitive patterns
fuku add --title "API integration" --file ./script.sh
@latest
- Latest note
@1
- Second most recent note
@2
- Third most recent note
alias fn='fuku add --title'
alias fs='fuku search'
alias fv='fuku view @latest'