🚧 Built my own Nostr bot from scratch using python-nostr.

I generated keypairs directly, and wrote a custom Python wrapper for WebSocket + REST communication. The bot is currently live on my self-hosted relay, where I’m doing end-to-end testing. πŸ§ͺ

Primal only reads from its own relay β€” it won’t fetch content from other relays (like my self hosted) you post to. Primal only publishes to relays you have in your profile. To get around this, I extended my lite indexer that parses and searches my relay directly. Please note the bot will not spam primal relay and will only use my relay. It will not post to Primal and used for my own internal testing.

This is the beauty of Nostr. Self hosted and free to do anything without causing spam.

Integrated the bot with n8n β€” so now I can auto-post to my Nostr relay from any workflow, API, or trigger. πŸ€–

Planning experiments with Homomorphic Encryption β€” enabling collaborative computation over encrypted data, embedded in Nostr's event model. πŸ”

More fun ahead...

#Nostr #SelfHosted #BotDev #Automation #n8n #HomomorphicEncryption #Decentralization #Prima

Reply to this note

Please Login to reply.

Discussion

🧠 My Nostr Bot Posting Reddit Content!

Hey ! I’ve extended my bot that automatically posts content from the r/nostr subreddit to my own self-hosted Nostr relay.

πŸ›°οΈ What it does:

Pulls fresh content from the nostr subreddit (using n8n workflow)

Publishes it as Nostr notes using my own relay

Posts only to my own relay to keep the network clean and spam-free

you can find my bot here

npub13ktz9vxqyvmvnsmr7url6zy2sxaxl7ugkw3xdswp8w5ztsuapayqp9xv6t

Zap or boost if you think this is cool ⚑

nostr:nevent1qvzqqqqqqypzq59aa2xs9z3t8jxr6jt9c7zpg9xa59agm2akp8vv62784cqjstrfqythwumn8ghj7cnfw33k76twv4ezuum0vd5kzmp0qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qghwaehxw309aex2mrp0yh8qunfd4skctnwv46z7qpq4atmy6vlc3l0msanylluj60mkqu4dpygxy2a2y6sgjacefvd3a8svcyyyn