| Crates.io | dialog_final_v2_cli |
| lib.rs | dialog_final_v2_cli |
| version | 0.1.0 |
| created_at | 2025-09-12 11:18:55.565574+00 |
| updated_at | 2025-09-12 11:18:55.565574+00 |
| description | Dialog CLI — Nostr-based encrypted notes-to-self |
| homepage | |
| repository | https://github.com/ |
| max_upload_size | |
| id | 1835570 |
| size | 75,186 |
A privacy-first note-taking CLI using Nostr with NIP-44 encryption.
The CLI is configured entirely through environment variables:
# Required: Your Nostr private key
export DIALOG_NSEC=nsec1...
# Optional: Custom relay URL (default: ws://localhost:10548)
export DIALOG_RELAY=wss://relay.damus.io
# Optional: Custom data directory (default: OS-specific)
export DIALOG_DATA_DIR=/path/to/data
dialog_cli create "My note with #tags"
# List recent notes
dialog_cli list
# List more notes
dialog_cli list --limit 20
# Filter by tag
dialog_cli list --tag myproject
# Watch for new notes in real-time
dialog_cli list --watch
# Watch for notes with specific tag
dialog_cli list --watch --tag important
dialog_cli pubkey
dialog_cli --relay wss://nos.lol create "Note to different relay"
For testing without a public relay, you can use a local nak relay with negentropy support:
# From the project root, setup nak with negentropy patch
./setup_nak_local.sh
# Run local relay on port 10548
~/go/bin/nak serve --port 10548
# In another terminal, use the CLI with local relay
export DIALOG_RELAY=ws://localhost:10548
dialog create "Testing with local relay"
Alternatively, install nak directly (without negentropy):
go install github.com/fiatjaf/nak@latest
nak serve --port 10548
cd dialog_cli
cargo build --release
The binary will be at target/release/dialog_cli