Awesome
<img src="./assets/top-image.png" width=600px height=auto />日本語はこちら。
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
Follow the installation guide in the n8n community nodes documentation.
Operations
- Nostr Write (Nostrobots)
- Send kind1 note
- Send event(advanced)
- Raw Json Event(advanced)
- Nostr Read
- Fetch kind1 events
- Query by eventId, public key, search word(NIP-50), hashtag, mention, and json filter.
- Fetch kind1 events
- Nostr Utils
- Conversion from event to naddr, nevent.
- Transform bech32, hex representation of keys to each other.
Credentials
- Secret Key
- 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.
# project root path
yarn build
yarn link
# move to n8n node directory. eg. ~/.n8n/nodes
yarn link n8n-nodes-nostrobots
n8n start
Unit test
yarn test
lint
yarn format
yarn lint
TODO
- Trigger node by getting event from relay.
See also
- ノーコードで作るnostrボット - n8n-nostrobots (japanese)