Skip to content

Nostr action

Actions
Send EVENT to Nostr
v1.8.1
Latest
Star (16)

snow-actions/nostr

Send EVENT to Nostr.

Usage

steps:
  - uses: snow-actions/[email protected]
    with:
      relays: ${{ vars.NOSTR_RELAYS }}
      private-key: ${{ secrets.NOSTR_PRIVATE_KEY }}
      content: |
        Text message
    id: publish
  - run: echo "${event}"
    env:
      event: ${{ steps.publish.outputs.event }}

Other examples are test.yml.

Inputs

See action.yml

Name Description Default Required
relays Relay URLs wss://... (separated by \n) - yes
private-key Private key (nsec or hex) - yes
content Content '' no
kind Kind 1 no
tags Tags (YAML or JSON) [] no

Outputs

See action.yml

Name Description
event Published event

Supported

Runners

  • ubuntu-*
  • windows-*
  • macos-*
  • self-hosted

Events

  • Any

Dependencies

Contributing

Welcome.

Nostr action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Send EVENT to Nostr
v1.8.1
Latest

Nostr action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.