Skip to main content

os-notif-telegram

Forward OS notifications to Telegram in real time.

Currently supports: Windows 10 / 11

Requirements

  • Python 3.9+

Installation

pipx install os-notif-telegram

pipx automatically adds the command to your PATH so it works from any terminal. If you don't have pipx yet:

pip install pipx
pipx ensurepath

Then open a new terminal and install:

pipx install os-notif-telegram

Quick Start

1. Create a Telegram bot

Talk to @BotFather → /newbot → copy the bot token.

2. Get your Chat ID

Talk to @userinfobot → copy the id number.

3. Configure

os-notif-telegram setup

Follow the prompts to enter your bot token and chat ID. Config is saved to %APPDATA%\os-notif-telegram\config.json — never committed to any repo.

4. Start forwarding

os-notif-telegram start

The program minimises to the system tray. You can close the terminal window.

Commands

Command Description
os-notif-telegram setup Interactive setup wizard
os-notif-telegram config Show current configuration
os-notif-telegram start Start forwarding (system tray)
os-notif-telegram start --no-tray Start in terminal (foreground)
os-notif-telegram stop Stop the running forwarder
os-notif-telegram status Show whether the forwarder is running
os-notif-telegram test Send a test notification to verify Telegram is working
os-notif-telegram --version Show version

Non-interactive setup

os-notif-telegram setup --token "YOUR_TOKEN" --chat-id "YOUR_CHAT_ID"

Windows Notification Access

If you see an "Access denied" error, enable notification access:

Settings → Privacy & security → Notifications

Enable access for your terminal application (e.g. Windows Terminal, PowerShell).

How it Works

  • Listens to OS notification APIs
  • On each new notification, extracts app name, title, and body
  • Sends a formatted message to your Telegram chat via the Bot API
  • Deduplicates notifications by ID and content to prevent spam

License

MIT

Metadata

Release files for os-notif-telegram 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for os-notif-telegram 0.1.1
File Size Uploaded
os_notif_telegram-0.1.1.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for os-notif-telegram 0.1.1
File Interpreter ABI Platform
os_notif_telegram-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.0 kB

Release files / os_notif_telegram-0.1.1.tar.gz

Download URL os_notif_telegram-0.1.1.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
64ef8e74d36d98d5d91b1a0263235d490523d1d927d4c06096ed5bca02ec9c91
BLAKE2b-256 checksum
How to use checksums
663b24e558f421e58f616c3355f2b1bda4b50440f4563a4fee42ab92f403b167
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 24, 2026.

Transparency log

Release files / os_notif_telegram-0.1.1-py3-none-any.whl

Download URL os_notif_telegram-0.1.1-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a92f9ddbae4b3d49202600b0d98ca7d78d6eda001639b1f1afc04d427d615ee
BLAKE2b-256 checksum
How to use checksums
0900351a0ca4f8819d9f6d8e191f1a1ce3146aef1762dd0ef41cbd108d65fe4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page