Metadata-Version: 2.3
Name: nostr_bots
Version: 0.0.2
Summary: simple bots for nostr using monstr
Project-URL: Documentation, https://github.com/monty/bots#readme
Project-URL: Issues, https://github.com/monty/bots/issues
Project-URL: Source, https://github.com/monty/bots
Author-email: monty <monty@monty888.com>
License-Expression: MIT
License-File: LICENSE.txt
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.10
Requires-Dist: monstr>=0.1.2
Description-Content-Type: text/markdown

# about
Some simple bots for nostr in python.

# install

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

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


# echo bot
Replies with the same text that it receives.

```sh
python run_echo_bot.py
```

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

```sh
python run_ip_bot.py
```

# bitcoin bot
Executes commands against a local bitcoin node and sends the replies over nostr.
```sh
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?
