Home

Awesome

snow-actions/nostr

Send EVENT to Nostr.

Usage

steps:
  - uses: snow-actions/nostr@v1.7.0
    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

NameDescriptionDefaultRequired
relaysRelay URLs wss://... (separated by \n)-yes
private-keyPrivate key (nsec or hex)-yes
contentContent''no
kindKind1no
tagsTags (YAML or JSON)[]no

Outputs

See action.yml

NameDescription
eventPublished event

Supported

Runners

Events

Dependencies

Contributing

Welcome.