simple bots for nostr using monstr
Project description
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?
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nostr_bots-0.0.4.tar.gz
(232.0 kB
view details)
Built Distribution
File details
Details for the file nostr_bots-0.0.4.tar.gz
.
File metadata
- Download URL: nostr_bots-0.0.4.tar.gz
- Upload date:
- Size: 232.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2b3ed8ba12d76231fc56b6321a4864a939a7d63f53e0a5bc903410b6f376b85 |
|
MD5 | 2ad9f9b6c7ffef48671c3d920b7427c5 |
|
BLAKE2b-256 | 3218cc4888fd0854eb91648467200bd7375a9dece4bd1ce594c6dc6405b1af36 |
File details
Details for the file nostr_bots-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: nostr_bots-0.0.4-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bd97c3515c0027b941dbf7ad49f980b8289c611649fd5f542e9b3d1eb512767 |
|
MD5 | 5ed54ad73f6958ba99234328a53c1891 |
|
BLAKE2b-256 | 863d00d0661f14669bea842b0d44425c457ecc1bfc75e519aff7dc683aded9d8 |