Back to services

Github Ntfy

Push notifications to NTFY when a new release is available on Docker Hub or Github.

View alternatives to Github Ntfy
Suggest edit
Open source
Self-hostable
GPL-3.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

Github Ntfy (repository name ntfy_alerts, by BreizhHardware) sends you notifications about new releases of GitHub repositories and Docker Hub images. It periodically checks the projects you follow and pushes a message to your preferred notification channels when a new version appears, so you no longer have to visit each repository's Release page one by one.

Starting with v2.0, the project was completely rewritten in Rust, with better performance and lower resource usage. The old Python version is kept as the stable v1.7.x release. The project is open source under the GPL-3.0 license.

Key features

  • GitHub Release monitoring: tracks new releases of GitHub repositories
  • Docker Hub image monitoring: tracks updates to Docker Hub images
  • Multiple notification channels: supports ntfy, Gotify, Discord (Webhook) and Slack (Webhook)
  • Adjustable check interval: set the check period with GHNTFY_TIMEOUT, which defaults to 3600 seconds (1 hour)
  • Web interface: the container exposes port 80 by default and provides web access; a username and password must be set at deployment
  • Data persistence: data is stored in the mounted /data directory

Who it's for

  • Self-hosting enthusiasts and homelab users who need to know promptly about new versions of the services they run
  • Developers and operations staff who need to keep track of updates to dependencies or upstream images
  • Users who already receive notifications through ntfy, Gotify, Discord or Slack

Deployment

Docker (recommended)

The official image breizhhardware/github-ntfy:latest supports the amd64, arm64 and armv7 architectures. Docker Compose example:

services:
  github-ntfy:
    image: breizhhardware/github-ntfy:latest
    container_name: github-ntfy
    environment:
      - USERNAME=username        # 必填
      - PASSWORD=password        # 必填
      - NTFY_URL=ntfy_url        # 使用 ntfy 时必填
      - GHNTFY_TIMEOUT=3600      # 检查间隔,默认 3600 秒
      - GHNTFY_TOKEN=            # GitHub Token,可选
      - DOCKER_USERNAME=         # Docker Hub 用户名,可选
      - DOCKER_PASSWORD=         # Docker Hub 密码,可选
      - GOTIFY_URL=gotify_url    # 使用 Gotify 时必填
      - GOTIFY_TOKEN=            # 使用 Gotify 时必填
      - DISCORD_WEBHOOK_URL=     # 使用 Discord 时必填
      - SLACK_WEBHOOK_URL=       # 使用 Slack 时必填
    volumes:
      - /path/to/data:/data
    ports:
      - 80:80
    restart: unless-stopped

Manual build

# 安装 Rust(如尚未安装)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# 克隆并编译
git clone https://github.com/BreizhHardware/ntfy_alerts.git
cd ntfy_alerts
cargo build --release
# 运行
./target/release/github-ntfy

Configuration notes

  • If you set a GitHub Token (GHNTFY_TOKEN), it needs the repo, read:org and read:user permissions.
  • Configure notification channels as needed: just fill in the environment variables for the channels you want to use.

Notable points

  • Implemented in Rust with low resource usage, making it well suited to running long-term on low-power devices such as a Raspberry Pi
  • Provides multi-architecture Docker images for simple deployment
  • The author's roadmap includes: redesigning the web interface, adding notification channels such as Telegram and Matrix, and replacing environment-variable configuration with a web-based guided setup
  • This is a small, personally maintained open source project with a modest community