nostr CLI client written in Go
NAME:
algia - A cli application for nostr
USAGE:
algia [global options] command [command options]
DESCRIPTION:
A cli application for nostr
COMMANDS:
timeline, tl show timeline
stream show stream
post, n post new note
reply, r reply to the note
repost, b repost the note
unrepost, B unrepost the note
like, l like the note
unlike, L unlike the note
delete, d delete the note
search, s search notes
dm-list show DM list
dm-timeline show DM timeline
dm-post post new note
profile show profile
powa post ぽわ〜
puru post ぷる
zap zap [note|npub|nevent]
version show version
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
-a value profile name
--relays value relays
-V verbose (default: false)
--help, -h show help
Download binary from Release page.
Or install with go install command.
go install github.com/mattn/algia@latest
Minimal configuration. Need to be at ~/.config/algia/config.json
{
"relays": {
"wss://relay-jp.nostr.wirednet.jp": {
"read": true,
"write": true,
"search": false
}
},
"privatekey": "nsecXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
If you want to zap via Nostr Wallet Connect, please add nwc-uri
which are provided from https://nwc.getalby.com/apps/new?c=Algia
{
"relays": {
...
},
"privatekey": "nsecXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"nwc-uri": "nostr+walletconnect://xxxxx"
}
- like
- repost
- zap
- upload images
Do you use proxy? then set environment variable HTTP_PROXY
like below.
HTTP_PROXY=http://myproxy.example.com:8080
MIT
Yasuhiro Matsumoto (a.k.a. mattn)