- A plain text note-taking assistant
- Leverage Nostr as an external database
- View your nostr published notes on Ixian
Notebook interacts with nostr via long-form notes, as depicted in NIP-23.
If you want to use nostr as an external database to store and propagate your notes, you have to create a config file and set the NOSTR
env var:
Create your config file in ~/.config/nostr/dextryz.json
containing:
{
"nsec": "nsec..."
"relays": ["wss://relay.highlighter.com/", "wss://relay.damus.io/"],
}
and set the env var
> export NOSTR=~/.config/nostr/dextryz.json`
To start you have to initiate a notebook:
> export NOTEBOOk=/tmp/slipbox
> nz init
- Is nostr is setup,
notebook
will populate theNOTEBOOK
path with all your kind30023
notes.
The following command will create a new markdown file in your notebook directory.
> nz new
created file in notebook slipbox at:
/tmp/slipbox/202404041212.md
- The filename is the article
identifier
as specified in NIP-23.
Open the note with your favourite editor (hopefully NeoVim) and update the content.
If you have nostr setup, you can push your note with a title and set of tags. The note will be published to all relays specified in the NOSTR
config file.
> nz push --content /tmp/slipbox/202404051040.md --title "Hello Friend" --tag nostr --tag bitcoin
./nb search --title Intuition
./nb search --tag focus