Nostr Bot Daemon Framework
Problem Description
- Nostr Apps
- app.flotilla.social/spaces/wss%3A%2F%2Fgroups.0xchat.com%2F/2c12184c5fe866653d4f0b433264aa0191ef78cd8cbae0591a8eab0d19a70ac8
- Nostr protocol in a single page - E2Encrypted
- Logs - Nostr Bot Daemon Framework
Tasks
- Run end to end Demo
- Hacker News Recreator Bot
- Research other Types of Bots
- We need a testing playbook, and that is what we should do next
- Nostr LLM Bot deploy
- Get the local.testnostr.com letsencrypt cert for testing
- Get the AI Taskmaster done
- We should also get the bots dockerized as well
- Maybe we need a config file that can run many bots
- I like the idea of having each bot in their own container
- We need a explanation of the code base, explain where people need to start
- What are the steps for developing a new bot
- What are the steps for testing a new bot
- What are the steps for deploying a new bot?
- What are the different type of apps or tools you can develop on Nostr
- NIP-29 Integration, a group with the bot
Steps to Deploy a Bot
Gather Information * First you need a NSEC * Second you need some relays * Third you need to configure a profile * Fourth you need relays to configure NIP65 with
Deploying the bot * Get a device for the bot to run on * Configure the settings with everything from setup * The bot detects and publishes the nostr account's profile and NIP-65 to a specific list of public relays * The bot starts listening to the relays listed in the NIP-65 relay list metadata
Developing a Bot
- So we generalizing this stuff into a single bot
- No it doesn't matter
- We can configure DMs and THread in the config
- Isin't the LLM_API_KEY supposed to be fed in via an ENV Variable
- We can set that in settings
- This is simpler
TODO
- We need to define the problem we are trying to solve
- We need a user journey and problem statement
- Backup the Config to a encrypted message sent to self
Product Features
- Nostr LLM Bot
- Nostr NIP05 Bot
- AI Taskmaster
- Documentation for Creating your own Bot
- RBAC Secure Bots
- Custom Nostr Relay with RBAC
- RBAC Responses over traditional Nostr Relays via Encrypted Ephemeral Events
- Nostr Token Standard
- Custom Nostr Endpoints like Google Docs Share Links
- Bot Listening
- RBAC Roles
- NIP05 Verified
- Any NIP05
- White List of Domains
- Blacklist of Domains
- Community Moderated NIP-72
- White List (Only Moderators)
- Posts Approved by Moderators
- Users followed by Moderators
- A white list that is public and queryable via tags
- A white list that is not publicly accessable
- NIP05 Verified
Tickets
- DDT002 -Add CLI Slash Command functionality to the AI chatbots to change AI model and get help
- DDT010 - NIP05 Slash Command Bot
- DDT011 - Listen to multiple nostr relays
- DDT012 - Nostr Filter to SQL Functions
- DDT013 - Download and Replay events against Nostr Relays
- DDT014 - Nostr Relay Feature Testing Framework
- DDT015 - Add as many nostr relays as I can to nostr
Backlinks
- Nostr Relay From Scratch
- ETL to QE, Update 66, Do One Thing and Do It Well
- ETL to QE, Update 61, Quality Assurance
- ETL to QE, Update 61, Quality Assurance
- ETL to QE, Update 60, Project Management Strategy
- ETL to QE, Update 60, Project Management Strategy
- ETL to QE, Update 60, Project Management Strategy
- ETL to QE, Update 60, Project Management Strategy
- ETL to QE, Update 58, Trust No Server, Client, or Relay Implementation; Be Your Own Node
- ETL to QE, Update 57, Roadmap Animation
- Project Products
- DDaemon 2025 Roadmap Rev. 0.0.4
- DDaemon 2025 Roadmap Rev. 0.0.3
- DDaemon 2025 Roadmap Rev. 0.0.2