Skip to content

snow-actions/nostr

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9f4802e · Dec 29, 2024
Dec 29, 2024
Dec 29, 2024
Feb 17, 2023
Feb 17, 2023
Feb 17, 2023
Feb 17, 2023
Feb 17, 2023
Feb 17, 2023
Feb 17, 2023
Dec 29, 2024
Dec 28, 2024
Jul 15, 2023
Dec 29, 2024
Dec 29, 2024
Dec 29, 2024
Dec 29, 2024

Repository files navigation

snow-actions/nostr

Send EVENT to Nostr.

Usage

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