Skip to content

Nostr Bot Daemon Framework

Problem Description

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

  1. Nostr LLM Bot
  2. Nostr NIP05 Bot
  3. AI Taskmaster
  4. Documentation for Creating your own Bot
  5. RBAC Secure Bots
    1. Custom Nostr Relay with RBAC
    2. RBAC Responses over traditional Nostr Relays via Encrypted Ephemeral Events
    3. Nostr Token Standard
    4. Custom Nostr Endpoints like Google Docs Share Links
  6. Bot Listening
    • NIP-01 Threads
    • Encrypted Chat
    • IRC/Discord Style Chat NIP-C7
  7. 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

Tickets