Skip to content

Instantly share code, notes, and snippets.

@fu-sen
Last active November 16, 2024 08:27
Show Gist options
  • Save fu-sen/360d6d08ebffdb97e1472859ab242cf8 to your computer and use it in GitHub Desktop.
Save fu-sen/360d6d08ebffdb97e1472859ab242cf8 to your computer and use it in GitHub Desktop.
algia (nostr CLI client written in Go) config..json

algia の config.json

https://github.com/mattn/algia

置き場所

mv config.json ~/.config/algia/

または Windows の場合

MOVE config.json ~\AppData\Roaming\algia\

複数の鍵を切り替える

config.json の代わりに config-名前.json として複数の鍵を入れます。 algiaコマンドで-a 名前` を追加して下さい。

mv config-example.json ~/.config/algia/
algia -a example n "test"
{
"relays": {
"wss://yabu.me": {
"read": true,
"write": true,
"search": false
},
"wss://relay.damus.io": {
"read": true,
"write": true,
"search": false
},
"wss://nos.lol": {
"read": true,
"write": true,
"search": false
},
"wss://r.kojira.io": {
"read": true,
"write": true,
"search": false
},
"wss://relay-jp.nostr.wirednet.jp": {
"read": true,
"write": true,
"search": false
},
"wss://その他リレーサーバー": {
"read": true,
"write": true,
"search": false
}
},
"privatekey": "nsec... 暗号鍵"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment