Skip to content

monty888/nostr_bots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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?

About

some simple python nostr bots

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages