JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q51025F
  • License MIT

n8n node to create nostr activities

Package Exports

  • n8n-nodes-nostrobots
  • n8n-nodes-nostrobots/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (n8n-nodes-nostrobots) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

日本語はこちら

n8n-nodes-Nostrobots

n8n node for nostr.

This is an n8n community node. It lets you use nostr in your n8n workflows.

Nostr is the simplest open protocol. that is able to create a censorship-resistant global "social" network once and for all.

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)
    • Encrypted Direct Message (NIP-04)
  • Nostr Read
    • Fetch kind1 events
      • Query by eventId, public key, search word(NIP-50), hashtag, mention, and json filter
    • Encrypted Direct Message reading (NIP-04)
  • Nostr Utils
    • Conversion from event to naddr, nevent
    • Transform bech32, hex representation of keys to each other
    • Decrypt NIP-04 encrypted messages
  • [BETA] Nostr Trigger
    • 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

  • 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

License

MIT License