What Herald does
One file sends your news to every place people follow you, and nothing is posted twice.
Herald announces what happened to the places people gather. Each post is formatted for its destination and threaded where the destination can thread, and it is never posted twice.
One file, herald.toml, describes it all. The same file runs as a GitHub Action, a serverless endpoint or a container. Nothing long-lived is needed: a repository with a workflow and one secret is enough to start.
What it announces
- Releases and CI runs from GitHub, GitLab and Forgejo or Gitea, from one repository or every repository an owner holds.
- Package versions from Packagist, crates.io, npm and Docker Hub, and image tags from ghcr and any OCI registry.
- Entries in RSS and Atom feeds.
- Anything an app says, through the CLI or the HTTP API.
Where it posts
- Discord: announcement, forum and text channels, with crossposting, a thread per announcement, and opt-in role pings.
- Matrix: threaded messages in any room, from a bot account.
- Slack: Block Kit messages with threaded overflow, from a bot or an incoming webhook.
- Microsoft Teams: Adaptive Cards from a bot or a Workflows webhook.
- Email: one message per part, each later part a reply to the first, through an SMTP server, Amazon SES, Mailgun, Gmail, Microsoft Graph, Postmark or Resend.
- The Fediverse: posts from a Mastodon-API account, or from Herald's own ActivityPub actor that people follow per project.
Where it runs
Herald has three layers. Each serves everything the one before it does.
| Layer | Runs as | Adds |
|---|---|---|
| Actions-only | the CLI in GitHub Actions | announcements from forge events, scheduled polling and thread housekeeping |
| Serverless | Cloudflare Workers, AWS Lambda, Vercel, Netlify or Deno Deploy | the HTTP API, verified webhooks, slash commands and buttons, Matrix commands, the ActivityPub actor |
| Container | a signed multi-arch image on GHCR, under Compose, Kubernetes or Helm | the same endpoint, with SQLite on a volume or Postgres |
herald doctor names every feature your config asks for that the layer it runs in cannot serve, before anything posts, and the first layer that serves it. --layer names the host to check for, such as actions, server, worker or lambda.
Never twice, never half-posted
Each announcement has a fixed key, and every step that lands is recorded: the post, the crosspost, the thread, each overflow part and the pin. A rerun finds the key and sends nothing. An interrupted run is finished by the next one, which sends only what is missing.
I build with it
Installing, settings and technical reference.
- Quick start
Write a first herald.toml and the workflow that runs it, store its secrets, and send one test message.