Skip to main content

The ultimate tool to automate custom telegram message forwarding.

Project description

tgcf logo

tgcf

The ultimate tool to automate telegram message forwarding.

GitHub license GitHub stars GitHub issues PyPI Twitter


The key features are:

  1. Two modes of operation are past or live for dealing with either existing or upcoming messages.
  2. Supports login with both telegram bot account as well as user account.
  3. Custom filter replace watermark ocr and whatever you need !
  4. Detailed docs 📚 + Video tutorial + Help from community in discussion forum 😎.
  5. If you are a python developer, writing plugins 🔌 is like stealing candy from a baby.

What are you waiting for? Star 🌟 the repo and click Watch 🕵 to recieve updates.

You can also join the official Telegram Channel, to recieve updates without any ads.

Video Tutorial 📺

A youtube video is coming soon. Subscribe to get notified.

Run Locally 🔥

Note: Make sure you have Python 3.8 or above installed. Go to python.org to download python.

Click on your platform of choice for a more detailed guide.

Platform Supported
Windows
Mac
Linux
Android

If you are familiar with Docker, you may go that way for an easier life.

Open your terminal and run the following commands.

pip install --upgrade tgcf

To check if the installation succeeded, run

tgcf --version

If you see an error, that means installation failed.

Configuration 🛠️

Configuring tgcf is easy. You just need two files in your present directory (from which tgcf is invoked).

  • .env : To define your environment variables easily.

  • tgcf.config.yml : An yaml file to configure how tgcf behaves.

Start tgcf

In your terminal, just run tgcf live or tgcf past to start tgcf. It will prompt you to enter your phone no. or bot token, when you run it for the first time.

For more details run tgcf --help or read docs.

Run on Cloud 🌩️

Deploying to a cloud server is an easier alternative if you cannot install on your own machine. Cloud servers are very reliable and great for running tgcf in live mode for a long time.

Platform Pros Cons
Deploy to Heroku free for 450 hr/mo can't use tgcf in past mode
Deploy to DO speed and reliability starts from $5/mo
Run on Gitpod easily edit config file only 50 hr/mo free

Other options

Getting Help 💁🏻

Contributing 🙏

PRs most welcome! Read the contributing guidelines to get started.

Also read:

If you are not a developer, you may also contribute financially to incentivise the development of any custom feature you need.

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

tgcf-0.1.32.post0.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

tgcf-0.1.32.post0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file tgcf-0.1.32.post0.tar.gz.

File metadata

  • Download URL: tgcf-0.1.32.post0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.5 Linux/5.8.0-50-generic

File hashes

Hashes for tgcf-0.1.32.post0.tar.gz
Algorithm Hash digest
SHA256 0096aa7a2d02b856bcf72e897c7187d8155d21362896b276ddc1568efa4c8bc1
MD5 e0d353c30004bde4c5ca31153d1eb6f7
BLAKE2b-256 517542481855930fff6b06d1dfb46b8c8c6503d1ad1c295bab032e6c1acdd8f3

See more details on using hashes here.

File details

Details for the file tgcf-0.1.32.post0-py3-none-any.whl.

File metadata

  • Download URL: tgcf-0.1.32.post0-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.5 Linux/5.8.0-50-generic

File hashes

Hashes for tgcf-0.1.32.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 2159daa23cc2de22839b5c5f1a4428fb81a7ef34d163d7e68c3f127aeae845e9
MD5 eac764e01f50312ec50c7c86352bb44e
BLAKE2b-256 a0c898215acf7ee5e6b98a93fb95a5e939fd06ad4e2faaaa7628b75877785adf

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