Skip to main content

Notify you when something is mentioned in a telegram channel

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telegram-bell-0.7.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

telegram_bell-0.7.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file telegram-bell-0.7.1.tar.gz.

File metadata

  • Download URL: telegram-bell-0.7.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.10.1 Windows/10

File hashes

Hashes for telegram-bell-0.7.1.tar.gz
Algorithm Hash digest
SHA256 3723612415e0090748c03be6737fe1e10c88552d7aaf19acf7a66793c9e0261d
MD5 f86ef5db22fd77686f96f2ac8b6a60d5
BLAKE2b-256 6b33587f530c6b7f08b6b9d64a5902f4d39bedc2f6b838cddea97dc3dc025d93

See more details on using hashes here.

File details

Details for the file telegram_bell-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: telegram_bell-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.10.1 Windows/10

File hashes

Hashes for telegram_bell-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0cb14fbe06a07aee212018e60c77f1482b1de9a07e7fb807267efa486c1a8ef8
MD5 33443ec0c2106b2b138cbb355968828b
BLAKE2b-256 16554d0b6d3a925970047eb7761f7ba412b979a612287cce30c1d0369fc082e7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page