Skip to the content
herald

You publish a release. Herald tells everyone.

One file sends your news to Discord, Matrix, Slack, Microsoft Teams, email and the Fediverse. Run it again and nothing is posted twice.

Mac

gh release download -R nightworksio/herald \
  -p 'herald-aarch64-apple-darwin.tar.gz' -O - | tar xz
./herald init

Linux

gh release download -R nightworksio/herald \
  -p "herald-$(uname -m)-unknown-linux-musl.tar.gz" -O - | tar xz
./herald init

Post your first releaseWindows and other downloads

One release, six posts

Herald’s own sample release, as Herald writes it for each place. herald preview shows you yours.

One file says what goes where

This is the file Herald announces its own releases with. It watches one repository on GitHub, and posts each release to a Discord channel with a thread and a pin.

Secrets are named in the file and never written in it.

#:schema https://raw.githubusercontent.com/nightworksio/herald/main/herald.schema.json
version = 1

[store]
kind = "markers"

[markers]
key = { secret = "HERALD_MARKER_SECRET" }

[destinations.discord]
kind = "discord"
token = { secret = "HERALD_DISCORD_TOKEN" }

[sources.herald]
kind = "github"
repository = "nightworksio/herald"

[[routes]]
id = "herald-releases"
sources = ["herald"]
kinds = ["release"]
destination = "discord"
channel = "1566184281406177531"
template = "package-release"
crosspost = true
thread = { name = "{{ event.project }} {{ event.attributes.version }}", archive_after = "14d" }
pin = "markers"

[templates.package-release]
title = "📦 {{ event.project }} {{ event.attributes.version }}{% if event.attributes.prerelease %} · pre-release{% endif %}"
body = "{{ event.body }}"

Three steps to a first post

  1. Answer a few questions

    herald init asks where your project lives and where its news goes. It writes herald.toml and the workflow that runs it.

  2. Store the secrets it names

    It says how to make each one, and offers one test message, so you see it arrive.

  3. Publish a release

    Herald announces it, and every one after it.

It never says it twice

Herald remembers each thing it did: the post, the thread, the pin. Run it again and it sends only what is missing, which is usually nothing.

If it can’t tell whether a post was made, it stops instead of guessing.

It runs where you do

WhereWhat it does there
GitHub ActionsAnnounces your releases and keeps threads tidy. A workflow and one secret are enough.
ServerlessAlso answers webhooks, buttons and commands, on Cloudflare Workers, AWS Lambda, Vercel, Netlify or Deno Deploy.
ContainerThe same, on your own machine, with SQLite or Postgres.

Herald is new

Tell us what breaks.