Description

日本語はこちら。
n8n-nodes-Nostrobots
n8n node for nostr.
This is an n8n community node. It lets you use nostr in your n8n workflows.
n8n is a fair-code licensed workflow automation platform.
- Installation
- Operations
- Credentials
- Usage
- Resources
- Nostr Write (Nostrobots)
- Nostr Read
- Nostr Utils
- [BETA] Nostr Trigger
- Secret Key
- n8n community nodes documentation
- nips
Installation
Follow the installation guide in the n8n community nodes documentation.
Operations
– Send kind1 note
– Send event(advanced)
– Raw Json Event(advanced)
– Encrypted Direct Message (NIP-04)
– Fetch kind1 events
– Query by eventId, public key, search word(NIP-50), hashtag, mention, and json filter
– Encrypted Direct Message reading (NIP-04)
– Conversion from event to naddr, nevent
– Transform bech32, hex representation of keys to each other
– Decrypt NIP-04 encrypted messages
– Trigger n8n workflow by subscribing to events
– Triggering workflows by mentions to specific npubs
– Ability to limit execution frequency (per all, per event creator)
Credentials
– You can use bech32 or lower case hex string.
Usage
Let’s try the tutorial on creating an RSS feed bot..
Resources
Test in local
Please read Run your node locally.
“ sh
project root path
npm run build
npm link
move to n8n node directory. eg. ~/.n8n/nodes
npm link n8n-nodes-nostrobots
n8n start
Unit test
sh
npm run test
lint
sh
npm run format
npm run lint
“