bbgo
nostr bulletin board CLI client written in Go

Usage
print bulletin boards list:
./bbgo boards
read threads in a specific board:
./bbgo board --id 34550:e105abbad0ef6ea4a6a1ef3a1876b0033c51c650e63abdda5612507c44228c94:g
read a thread:
./bbgo thread --id nevent1qqsdzev77wu9tmq8hn3merj89nk5wpye39kea0kgcts7qcfpcx997dgmc77m8
reply to a thread or a comment:
./bbgo reply --id nevent1qqsdzev77wu9tmq8hn3merj89nk5wpye39kea0kgcts7qcfpcx997dgmc77m8 "replying from CLI!"
create a new thread:
./bbgo new-thread --board 34550:e105abbad0ef6ea4a6a1ef3a1876b0033c51c650e63abdda5612507c44228c94:g --subject "bbgo - A cli application for nostr bulletin boards" "Repository: https://codeberg.org/WabiChan/bbgo"
Installation
git clone the repo and run make
Or install with go install command.
go install codeberg.org/WabiChan/bbgo@latest
Configuration
Minimal configuration. Need to be at ~/.config/bbgo/config.json
{
"relays": {
"wss://nostr.oxtr.dev": {
"read": true,
"write": true,
"search": true,
"global": false,
"dm": false,
"bm": false
},
"wss://freelay.sovbit.host": {
"read": true,
"write": true,
"search": true,
"global": false,
"dm": false,
"bm": false
}
},
"boardRoots": [
"e105abbad0ef6ea4a6a1ef3a1876b0033c51c650e63abdda5612507c44228c94"
],
"privatekey": "nsecXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
Replace nsecXXX... with your own private key.
WARNING: Before posting anything on WabiChan make sure your public key is trusted, otherwise your posts won't show up.
TODO
- boards
- board
- thread
- reply
- new-thread
- new-board
FAQ
Do you use proxy? then set environment variable HTTP_PROXY like below.
HTTP_PROXY=socks5://127.0.0.1:9050 HTTPS_PROXY=socks5://127.0.0.1:9050
License
MIT
Author
WabiChan
forked from algia by Yasuhiro Matsumoto (a.k.a. mattn)