Skip to main content

The ultimate tool to automate custom telegram message forwarding.

Project description

tgcf logo

tgcf

The ultimate tool to automate custom telegram message forwarding.

GitHub license GitHub stars GitHub issues PyPI Twitter

Code Quality

Live-syncer, Auto-poster, backup-bot, cloner, chat-forwarder, duplicator, ...

Call it whatever you like! tgcf can fulfill your custom needs.

Videos

The following videos (english) explain everything in great detail.

  • Feature Overview
  • Running on Windows/Mac/Linux
  • Running on Android
  • Deploy to Digital Ocean Droplet
  • Running on Gitpod

Supported environments

  • Linux
  • Mac
  • Windows (Running Ubuntu on top of WSL-2)
  • Android (Using Termux app)
  • Any Linux VPS

Install and Run

If you want to use tgcf for free, then run on your own desktop or mobile computer.

Make sure you are on a supported environment and have python:3.10 or above, installed.

  • Create a directory and move into it.

    mkdir my-tgcf
    cd my-tgcf
    
  • Create a python virtual environment and activate it.

    python3 -m venv .venv
    source .venv/bin/activate
    
  • Install tgcf using pip

    pip install tgcf
    tgcf --version
    
  • Set the password for accessing web interface. The password is to be set in the .env file.

    echo "PASSWORD=hocus pocus qwerty utopia" >> .env
    

    Set your own password, instead of whats given above.

    Security advice:

    • Please make sure the password has more than 16 characters.
    • You can save your password in any password manager (may be of browser) to autofill password everytime.
  • Start the web-server.

    tgcf-web
    

To run tgcf without the web-ui read about tgcf cli.

If you are planning to use watermarking and ocr features within tgcf, you need to install ffmpeg and tesseract-ocr libraries in you system. Read more.

Deploy to Cloud

Click on this link and get free 200$ on Digital Ocean.

DigitalOcean Referral Badge

NOTE You will get nothing if you directly sign up from Digital Ocean Home Page. Use the link above, or click on the big fat button above to get free 200$.

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.

Here are some guides for deployment to different cloud providers.

Getting Help

  • First of all read the wiki and watch the videos to get started.

  • Type your question in GitHub's Search bar on the top left of this page, and click "In this repository". Go through the issues, discussions and wiki pages that appear in the result. Try re-wording your query a few times before you give up.

  • If your question does not already exist, feel free to ask your questions in the Discussion forum. Please avoid duplicates.

  • For reporting bugs or requesting a new feature please use the issue tracker of the repo.

Contributing

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

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.6.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

tgcf-0.6-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file tgcf-0.6.tar.gz.

File metadata

  • Download URL: tgcf-0.6.tar.gz
  • Upload date:
  • Size: 24.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.4 Linux/5.15.68.1-microsoft-standard-WSL2

File hashes

Hashes for tgcf-0.6.tar.gz
Algorithm Hash digest
SHA256 2e258e57b8daf31e99dcf78f01d465f33880d9c33a1d5b20877b27b0c7957cc3
MD5 76dd8793c7d8494e091364e66ce27219
BLAKE2b-256 851497b865a58701d8cb3eb25d91c6d864db3b05938d2c9adb4479539130039b

See more details on using hashes here.

File details

Details for the file tgcf-0.6-py3-none-any.whl.

File metadata

  • Download URL: tgcf-0.6-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.4 Linux/5.15.68.1-microsoft-standard-WSL2

File hashes

Hashes for tgcf-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0cfc645e3beb1e55a15ed3b29cf81b811c72d793b147574dc6cbfd1912942b8e
MD5 72d9e222ea21ed2961a903c6503e802f
BLAKE2b-256 0129436e2d76e0d12ececc8e561750b93ecad14bade5d407b144899c4816f35c

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