Skip to main content

about

Some simple bots for nostr in python.

install

from github

git clone https://github.com/monty888/nostr_bots.git  
cd nostr_bots  
python3 -m venv venv   
source venv/bin/activate      
pip install .

using pip

pip install nostr_bots

[!Note]
Won't work with current pip of monstr get current version from https://github.com/monty888/monstr until updated

[!Note] when install via pip to run use python -m nostr_bots.name e.g python -m nostr_bots.run_echo_bot

echo bot

Replies with the same text that it receives.

python run_echo_bot.py

ip bot

Replies with the external ip of where the ip is running.

python run_ip_bot.py

bitcoin bot

Executes commands against a local bitcoin node and sends the replies over nostr.

python run_ip_bot.py

todo

  • get the inbox code working
  • add support for nip44 encryption and not just nip4
  • relay needs to be parsed from command line at least plus other options
  • min basic commands for the bitcoin bot + simple web interface?

Metadata

Release files for nostr-bots 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nostr-bots 0.0.4
File Size Uploaded
nostr_bots-0.0.4.tar.gz 232.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nostr-bots 0.0.4
File Interpreter ABI Platform
nostr_bots-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 244.3 kB

Release files / nostr_bots-0.0.4.tar.gz

Download URL nostr_bots-0.0.4.tar.gz
Size 232.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e2b3ed8ba12d76231fc56b6321a4864a939a7d63f53e0a5bc903410b6f376b85
BLAKE2b-256 checksum
How to use checksums
3218cc4888fd0854eb91648467200bd7375a9dece4bd1ce594c6dc6405b1af36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.12

Release files / nostr_bots-0.0.4-py3-none-any.whl

Download URL nostr_bots-0.0.4-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6bd97c3515c0027b941dbf7ad49f980b8289c611649fd5f542e9b3d1eb512767
BLAKE2b-256 checksum
How to use checksums
863d00d0661f14669bea842b0d44425c457ecc1bfc75e519aff7dc683aded9d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

3 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page