ClawVault
Commands

tailscale

Sync and discover vaults over Tailscale networks

ClawVault provides four Tailscale commands for vault networking: status, sync, serve, and discover. Each has a short alias (ts-*).

clawvault tailscale-status

Show Tailscale connection status and peers.

clawvault tailscale-status [options]
# alias: clawvault ts-status

Options

FlagDescriptionDefault
--jsonOutput as JSONfalse
--peersShow all peers including offlinefalse

clawvault tailscale-sync

Sync vault with a peer on the Tailscale network.

clawvault tailscale-sync [options]
# alias: clawvault ts-sync

Options

FlagDescriptionDefault
--peer <hostname>Peer hostname or IP to sync withRequired
-v, --vault <path>Vault pathNearest vault
--port <number>Port on the peer8384
--direction <dir>Sync direction: push, pull, or bidirectionalbidirectional
--dry-runShow what would be synced without making changesfalse
--delete-orphansDelete files that exist locally but not on peer (pull only)false
--categories <list>Comma-separated list of categories to syncAll
--httpsUse HTTPS for connectionfalse
--jsonOutput as JSONfalse

clawvault tailscale-serve

Serve vault for sync over Tailscale.

clawvault tailscale-serve [options]
# alias: clawvault ts-serve

Options

FlagDescriptionDefault
-v, --vault <path>Vault pathNearest vault
--port <number>Port to serve on8384
--funnelExpose via Tailscale Funnel (public internet)false
--backgroundRun in backgroundfalse
--stopStop servingfalse

clawvault tailscale-discover

Discover ClawVault peers on the Tailscale network.

clawvault tailscale-discover [options]
# alias: clawvault ts-discover

Options

FlagDescriptionDefault
--port <number>Port to check8384
--jsonOutput as JSONfalse

Examples

# Check Tailscale status
clawvault ts-status

# Start serving this vault on tailnet
clawvault ts-serve

# Discover vaults on your tailnet
clawvault ts-discover

# Sync with a peer (bidirectional)
clawvault ts-sync --peer my-laptop

# Pull from peer, specific categories
clawvault ts-sync --peer server --direction pull --categories "decisions,lessons"

# Dry run to preview sync
clawvault ts-sync --peer server --dry-run

Details

The Tailscale commands use your existing Tailscale network for peer-to-peer vault synchronization. No cloud accounts or third-party sync services required — data travels directly between your machines over WireGuard tunnels.

--funnel on tailscale-serve exposes your vault API to the public internet via Tailscale Funnel. Use with caution.

On this page