A notification on your phone when something in your GitHub repositories needs attention.
Self-hosted on your own free Cloudflare account, delivered through your own messenger. No central service, nothing to maintain.
Pull requests wait for a review, a build turns red, a security alert opens, and you only notice when you happen to look at GitHub. Seluna turns those moments into a notification on your phone, so the state of your repositories comes to you. Drafts stay quiet, except for a leaked secret.
- Yours alone. Every user runs their own instance. A private GitHub App sends webhooks to a Cloudflare Worker in your own account, which keeps its state in D1 and delivers through a messenger of your own, today a Telegram bot. No data passes through a third party.
- Your messenger. Telegram works today. ntfy, Gotify, Matrix and Discord are planned, and you will be able to switch between the ones you have set up.
- Free to run. It fits the Cloudflare free plan; D1 and Telegram cost nothing either.
- Set up in the browser. Click the button above, then follow the setup wizard. No command line is needed.
- You choose the repositories. Install the GitHub App on only the repositories you pick, and add a new repository to the installation when you want it covered.
- Personal and team use. Your own account or an organization, a private chat or a group chat. Messages come in English or German.
| Event | Status |
|---|---|
| A pull request is opened | available |
| A draft pull request is marked ready for review | available |
| A review is requested | available |
| CI failed on the default branch or in a pull request | available |
| A Dependabot, code scanning or secret scanning alert is opened (code scanning: on the default branch) | available |
| A new issue, or a comment on an issue or a pull request (not your own and not a bot's) | available |
| A new star or fork (not your own and not a bot's), at once or as an hourly or daily digest | available |
| A new Seluna release is available | available |
| Messages were left out because too many of one kind (issues, comments, stars, forks, and pull requests and CI failures someone else caused) arrived in an hour; one notice per kind and hour | available |
Each message about an item names the repository and the case, shows its title and some context and carries a button that opens the item on GitHub. Draft pull requests stay quiet, except for a leaked secret, which is reported without the secret itself, and a failed CI run whose draft state GitHub cannot tell in time, which says so; quiet hours deliver messages without sound instead of holding them back. What each message says and when it is sent is in Notification rules, Stars and forks and Delivery.
flowchart LR
GH[GitHub App] -->|webhook| W[Cloudflare Worker]
W -->|verify signature, deduplicate| R[Rules]
R -->|notification| O[(D1 outbox)]
O -->|send| T[Messenger, today Telegram]
C[Cron] -->|retry, clean up| O
Every webhook is checked against its signature before anything happens. A delivery that led to a message or a collected star or fork is processed once, a matching event is stored in the outbox before it is sent, and your messenger never calls your instance: Seluna only sends. The GitHub App credentials and the Telegram bot token you enter in the setup are stored encrypted. The details are in docs/ARCHITECTURE.md.
- Create a bot for Telegram, the first supported messenger, with @BotFather and keep its token; you enter it in the setup wizard.
- Choose a random
SELUNA_SECRETof at least 32 characters. It is the password of the setup page. - Select Deploy to Cloudflare above. The button creates an independent copy of this repository in your GitHub account (not a fork) and deploys it.
- Open
https://<your-worker>.workers.dev/(it leads to the setup page/setup), sign in and let the wizard take your bot token, connect your Telegram chat and create the GitHub App.
The full walk-through, with a screenshot of every setup page and a test pull request at the end, is in the setup guide in English or Deutsch. If something does not work, troubleshooting lists the symptoms and their fixes. The setup guide's last sections say how to update and how to uninstall an instance. Every push to main of your copy deploys it; docs/update.md explains how to apply a new release.
Change them on the setup page (/setup); they apply without a new deployment.
| Setting | Default |
|---|---|
| Language of the notifications (English or German) | English |
| Time zone | UTC |
| Quiet hours (notifications arrive without sound) | off |
| New pull request, pull request ready for review, review requested | on |
| CI failed on the default branch, CI failed in a pull request | on |
| Dependabot alert, code scanning alert, secret scanning alert | on |
| New issue, new comment on an issue, new comment on a pull request | on |
| New star on a repository, new fork of a repository | off |
| Stars and forks: immediately, hourly or daily at a time | daily at 18:00 |
| Notice about a new Seluna release | on |
| Messenger (on the start page) | Telegram |
Seluna 1.0.0 is ready for everyone: it notifies you about pull requests, failed CI runs, security alerts, issues and comments, forks and stars, and new Seluna releases, and the setup guide was tested by someone outside the project. Development continues; the next releases are planned like this:
| Release | What it adds |
|---|---|
| 1.1.0 and 1.2.0 | More channels: ntfy, Gotify, Matrix and Discord |
The release plan is in docs/CONTRIBUTING.md and the changes of each release in the changelog.
Please report vulnerabilities privately through GitHub's private vulnerability reporting, see SECURITY.md; do not open a public issue for them.
Security notes for the owner of an instance:
- What is stored encrypted. The GitHub App's ID, private key and webhook secret and the Telegram bot token you enter in the setup live encrypted in your D1 database, as do the short-lived installation tokens (Storage). Nothing secret is logged or returned by a page. The chat id and your settings are not secret and are stored as plain values.
- What
SELUNA_SECRETprotects. It is the password of the setup page and the source of the key that encrypts the stored credentials. Repeated wrong attempts lock signing in for a while (Setup login). Keep it in a password manager: if you change it, Seluna cannot read the stored credentials any more and you set the earlier secret again or reset them (troubleshooting). The optional Worker secrets (TELEGRAM_BOT_TOKEN,GITHUB_APP_ID,GITHUB_APP_PRIVATE_KEY,GITHUB_WEBHOOK_SECRET,TELEGRAM_CHAT_ID) take precedence over the stored values. - Webhooks are signed. Seluna acts on a webhook only when its signature matches the webhook secret of your GitHub App; any other is refused.
- Why Only select repositories. A webhook of a public repository can come from strangers (for example issues and comments). Installed on only the repositories you pick, the app reports only those; with All repositories, every repository of the account, public ones included, reports to your instance.
- The bot token in traces. The Telegram Bot API takes the bot token in the request URL. If you turn on Workers traces or logs that record outbound requests in Cloudflare, they record the token with them; treat such traces as secret.
How to build, test and submit a change is in docs/CONTRIBUTING.md.