39
Python program to automate custom telegram chat forwarding
The ultimate tool to automate telegram message forwarding.
You can forward messages from a source chat to a destination chat. You can configure tgcf to do exactly what you need.
Click on any link in this article to learn more about that particular thing.
The key features are:
What are you waiting for? Star π the repo and click Watch π΅ to recieve updates.
A youtube video is coming soon. Subscribe to get notified.
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.
If you are familiar with Docker, you may go that way
for an easier life.
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.
Configuring
(from which tgcf is invoked).
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.
In your terminal, just run
It will prompt you to enter your phone no. or bot token, when you run it
for the first time.
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.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
for a long time.
on your own machine.
Cloud servers are very reliable and great for running
tgcf
in live modefor a long time.
Other options
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.
incentivise the development of any custom feature you need.
39