algia
                                
                                
                                
                                    algia copied to clipboard
                            
                            
                            
                        A cli application for nostr
algia
nostr CLI client written in Go
Usage
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
Installation
Download binary from Release page.
Or install with go install command.
go install github.com/mattn/algia@latest
Configuration
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-pub and nwc-uri which are provided from https://nwc.getalby.com/apps/new?c=Algia
{
  "relays": {
   ...
  },
  "privatekey": "nsecXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "nwc-uri": "nostr+walletconnect://xxxxx",
  "nwc-pub": "xxxxxxxxxxxxxxxxxxxxxxx"
}
TODO
- [x] like
 - [x] repost
 - [x] zap
 - [x] upload images
 
FAQ
Do you use proxy? then set environment variable HTTP_PROXY like below.
HTTP_PROXY=http://myproxy.example.com:8080
License
MIT
Author
Yasuhiro Matsumoto (a.k.a. mattn)