AIONOSTR(1)
Welcome to the aionostr Manual ๐ bestie, this is your guide to the whole vibe ๐ซถ
๐ฆ NAME ๐ฆ
Okay so aionostr is an asyncio Nostr client command-line interface, and it is literally iconic ๐
โจ SYNOPSIS โจ
aionostr [OPTIONS] COMMAND [ARGS]...
๐ธ DESCRIPTION ๐ธ
aionostr is a command-line client for the Nostr (Notes and Other Stuff Transmitted by Relays) protocol ๐ก. It's built on asyncio so it can do high-performance asynchronous operations, which is giving speed ๐ฅ
This is a fork of aionostr that does not require Coincurve. It uses electrum-ecc instead, so no Coincurve needed ๐ฆ
๐ OPTIONS ๐
--helpโ Shows the help message and exits. Lowkey the first thing you should try ๐
๐ COMMANDS ๐
get NOSTR_ID
Retrieves and displays Nostr objects like nprofile, nevent, and so on โจ
- Basic version:
aionostr get nprofile1qqsv0knzz56gtm8mrdjhjtreecl7dl8xa47caafkevfp67svwvhf9hcpz3mhxue69uhkgetnvd5x7mmvd9hxwtn4wvspak3h
- With
-v:
aionostr get -v nevent1qqsxpnzhw2ddf2uplsxgc5ctr9h6t65qaalzvzf0hvljwrz8q64637spp3mhxue69uhkyunz9e5k75j6gxm
query [OPTIONS] FILTER_JSON
Queries Nostr relays with custom filters ๐ง
aionostr query -s -q '{"kinds": [1], "limit":10}'
send [OPTIONS]
Sends events out to the Nostr network ๐
aionostr send --kind 1 --content "test" --private-key <privatekey>
mirror [OPTIONS] FILTER_JSON
Mirrors events between relays ๐ช
aionostr mirror -r wss://source.relay -t wss://target.relay --verbose '{"kinds": [4]}'
gen
Generates a brand new Nostr key pair ๐ โจ
๐ ENVIRONMENT VARIABLES ๐
NOSTR_RELAYS
A comma-separated list of default relays to use ๐ฎ
export NOSTR_RELAYS=wss://brb.io,wss://nostr.mom
NOSTR_KEY
The default private key used for signing events ๐
export NOSTR_KEY=$(aionostr gen | head -1)
๐ EXAMPLES ๐
Basic usage with environment variables
Set up your env vars first, then go wild ๐
export NOSTR_RELAYS=wss://relay.damus.io
export NOSTR_KEY=$(aionostr gen | head -1)
aionostr send --kind 1 --content "Hello Nostr!"
Query for recent text notes
aionostr query '{"kinds": [1], "limit": 5}'
Mirror direct messages between relays
aionostr mirror -r wss://relay1.com -t wss://relay2.com '{"kinds": [4]}'
๐ FILES ๐
/usr/bin/aionostrโ The main executable ๐ซง/usr/lib/python3*/dist-packages/electrum_aionostr/โ The Python library files ๐
๐ SEE ALSO ๐
The Nostr protocol specification lives at https://github.com/nostr-protocol/nips ๐
๐ BUGS ๐
Report bugs to the Debian Bug Tracking System at https://bugs.debian.org/ ๐
Or upstream at https://github.com/spesmilo/electrum-aionostr/issues ๐
๐ AUTHOR ๐
The Electrum Developers, who are the fork maintainers ๐ซถ
Original author: Dave St.Germain ๐
๐ COPYRIGHT ๐
BSD License ๐ฉต
This is free software: you are free to change and redistribute it ๐ท
Bye bestie ๐ this page is version 0.0.11, last updated 2025-09-25, and it's all about AIONOSTR(1) ๐ฆ periodt โจ
๐ฆ where this page comes from
- ubuntu resolute: aionostr 0.1.0-1 ยท BSD-3-Clause
- ubuntu stonking: aionostr 0.1.0-1 ยท BSD-3-Clause
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms