Skip to main content

telegram-bell

PyPI

Notify you when something is mentioned in a telegram channel.

Install

pip install telegram-bell

Usage

CLI

Run

tbell run

Before you can use, it will ask you for:

  • your Telegram API ID
  • your Telegram API hash
  • channels and keywords which you want to get notified
  • Telegram token (2FA)

The app will then forward the matching messages to your "Saved Messages" channel in Telegram over time.

Config

tbell config

You can reconfigure the application at any time with this command.

Show susbscribed channels

tbell show

Systemd user service

Clone the repo and:

cd telegram-bell/scripts
sh install_service.sh
sh start_service.sh # it will ask you for config

Check the service is running:

sh check_service.sh

You can check the services logs too:

sh show_service_logs.sh

If the service fails or the machine is restarted, the service will run transparently again.

If you want to change your config in some moment:

tbell config
sh restart_service.sh

Metadata

Release files for telegram-bell 0.7.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 telegram-bell 0.7.1
File Size Uploaded
telegram-bell-0.7.1.tar.gz 6.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for telegram-bell 0.7.1
File Interpreter ABI Platform
telegram_bell-0.7.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.7 kB

Release files / telegram-bell-0.7.1.tar.gz

Download URL telegram-bell-0.7.1.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3723612415e0090748c03be6737fe1e10c88552d7aaf19acf7a66793c9e0261d
BLAKE2b-256 checksum
How to use checksums
6b33587f530c6b7f08b6b9d64a5902f4d39bedc2f6b838cddea97dc3dc025d93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.10.1 Windows/10

Release files / telegram_bell-0.7.1-py3-none-any.whl

Download URL telegram_bell-0.7.1-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0cb14fbe06a07aee212018e60c77f1482b1de9a07e7fb807267efa486c1a8ef8
BLAKE2b-256 checksum
How to use checksums
16554d0b6d3a925970047eb7761f7ba412b979a612287cce30c1d0369fc082e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.10.1 Windows/10

Release history Release notifications | RSS feed

This release

0.7.1 This release

2 release files

0.7.0

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.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