koteitan / algia

A cli application for nostr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

algia

nostr CLI client written in Go

Usage

NAME:
   algia - A new cli application

USAGE:
   algia [global options] command [command options] [arguments...]

DESCRIPTION:
   A cli application for nostr

COMMANDS:
   timeline, tl  show timeline
   post, n       post new note
   reply, r      reply to the note
   repost, b     repost the note
   like, l       like the note
   delete, d     delete the note
   help, h       Shows a list of commands or help for one command

GLOBAL OPTIONS:
   -a value    profile name
   -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://nostr.h3z.jp": {
      "read": true,
      "write": true,
      "search": false
    }
  },
  "privatekey": "nsecXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}

TODO

  • like
  • repost
  • 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)

About

A cli application for nostr


Languages

Language:Go 93.3%Language:Makefile 6.7%