tgcf


Nametgcf JSON
Version 1.1.8 PyPI version JSON
download
home_pagehttps://github.com/aahnik/tgcf
SummaryThe ultimate tool to automate custom telegram message forwarding.
upload_time2022-12-18 15:01:05
maintainer
docs_urlNone
authoraahnik
requires_python>=3.10,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- markdownlint-disable -->

<p align="center">
<a href = "https://github.com/aahnik/tgcf" > <img src = "https://user-images.githubusercontent.com/66209958/115183360-3fa4d500-a0f9-11eb-9c0f-c5ed03a9ae17.png" alt = "tgcf logo"  width=120> </a>
</p>

<h1 align="center"> tgcf </h1>

<p align="center">
The ultimate tool to automate custom telegram message forwarding.
</p>

<p align="center">
<a href="https://github.com/aahnik/tgcf/blob/main/LICENSE"><img src="https://img.shields.io/github/license/aahnik/tgcf" alt="GitHub license"></a>
<a href="https://github.com/aahnik/tgcf/stargazers"><img src="https://img.shields.io/github/stars/aahnik/tgcf?style=social" alt="GitHub stars"></a>
<a href="https://github.com/aahnik/tgcf/issues"><img src="https://img.shields.io/github/issues/aahnik/tgcf" alt="GitHub issues"></a>
<img src="https://img.shields.io/pypi/v/tgcf" alt="PyPI">
<a href="https://twitter.com/intent/tweet?text=Wow:&amp;url=https%3A%2F%2Fgithub.com%2Faahnik%2Ftgcf"><img src="https://img.shields.io/twitter/url?style=social&amp;url=https%3A%2F%2Fgithub.com%2Faahnik%2Ftgcf" alt="Twitter"></a>
</p>
<p align="center">
<a href="https://github.com/aahnik/tgcf/actions/workflows/quality.yml"><img src="https://github.com/aahnik/tgcf/actions/workflows/quality.yml/badge.svg" alt="Code Quality"></a>
</p>

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

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

## Videos

<!-- markdownlint-enable -->

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

- [Feature Overview](https://youtu.be/FclVGY-K70M)
- [Running on Windows/Mac/Linux](https://youtu.be/5GzHb6J7mc0)
- Running on Android
- [Deploy to Digital Ocean Droplet](https://youtu.be/0p0JkJpfTA0)

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

  ```shell
  mkdir my-tgcf
  cd my-tgcf
  ```

- Create a python virtual environment and activate it.

  ```shell
  python3 -m venv .venv
  source .venv/bin/activate
  ```

- Install tgcf using `pip`

  ```shell
  pip install tgcf
  tgcf --version
  ```

- Set the password for accessing web interface.
  The password is to be set in the `.env` file.

  ```shell
  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.

  ```shell
  tgcf-web
  ```

To run tgcf without the web-ui read about
[tgcf cli](https://github.com/aahnik/tgcf/wiki/CLI-Usage).

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](https://github.com/aahnik/tgcf/wiki/Additional-Requirements).

## Deploy to Cloud

Click on [this link](https://m.do.co/c/98b725055148) and get **free 200$**
on Digital Ocean.

[![DigitalOcean Referral Badge](https://web-platforms.sfo2.digitaloceanspaces.com/WWW/Badge%203.svg)](https://www.digitalocean.com/?refcode=98b725055148&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=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.

- [Heroku](https://github.com/aahnik/tgcf/wiki/Deploy-to-Heroku)
- [Digital Ocean](https://github.com/aahnik/tgcf/wiki/Deploy-to-Digital-Ocean)
- [Gitpod](https://github.com/aahnik/tgcf/wiki/Run-for-free-on-Gitpod")
- [Python Anywhere](https://github.com/aahnik/tgcf/wiki/Run-on-PythonAnywhere)
- [Google Cloud Run](https://github.com/aahnik/tgcf/wiki/Run-on-Google-Cloud)

## Getting Help

- First of all [read the wiki](https://github.com/aahnik/tgcf/wiki)
  and [watch the videos](https://www.youtube.com/channel/UCcEbN0d8iLTB6ZWBE_IDugg)
  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](https://github.com/aahnik/tgcf/discussions/new).
  Please avoid duplicates.

- For reporting bugs or requesting a new feature please use the [issue tracker](https://github.com/aahnik/tgcf/issues/new)
  of the repo.

## Contributing

PRs are most welcome! Read the [contributing guidelines](/.github/CONTRIBUTING.md)
to get started.

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/aahnik/tgcf",
    "name": "tgcf",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "aahnik",
    "author_email": "daw@aahnik.dev",
    "download_url": "https://files.pythonhosted.org/packages/38/cd/d6c7049679eae837352c852fc0631550feff30f4d66fcadb51df66bf9fbc/tgcf-1.1.8.tar.gz",
    "platform": null,
    "description": "<!-- markdownlint-disable -->\n\n<p align=\"center\">\n<a href = \"https://github.com/aahnik/tgcf\" > <img src = \"https://user-images.githubusercontent.com/66209958/115183360-3fa4d500-a0f9-11eb-9c0f-c5ed03a9ae17.png\" alt = \"tgcf logo\"  width=120> </a>\n</p>\n\n<h1 align=\"center\"> tgcf </h1>\n\n<p align=\"center\">\nThe ultimate tool to automate custom telegram message forwarding.\n</p>\n\n<p align=\"center\">\n<a href=\"https://github.com/aahnik/tgcf/blob/main/LICENSE\"><img src=\"https://img.shields.io/github/license/aahnik/tgcf\" alt=\"GitHub license\"></a>\n<a href=\"https://github.com/aahnik/tgcf/stargazers\"><img src=\"https://img.shields.io/github/stars/aahnik/tgcf?style=social\" alt=\"GitHub stars\"></a>\n<a href=\"https://github.com/aahnik/tgcf/issues\"><img src=\"https://img.shields.io/github/issues/aahnik/tgcf\" alt=\"GitHub issues\"></a>\n<img src=\"https://img.shields.io/pypi/v/tgcf\" alt=\"PyPI\">\n<a href=\"https://twitter.com/intent/tweet?text=Wow:&amp;url=https%3A%2F%2Fgithub.com%2Faahnik%2Ftgcf\"><img src=\"https://img.shields.io/twitter/url?style=social&amp;url=https%3A%2F%2Fgithub.com%2Faahnik%2Ftgcf\" alt=\"Twitter\"></a>\n</p>\n<p align=\"center\">\n<a href=\"https://github.com/aahnik/tgcf/actions/workflows/quality.yml\"><img src=\"https://github.com/aahnik/tgcf/actions/workflows/quality.yml/badge.svg\" alt=\"Code Quality\"></a>\n</p>\n\nLive-syncer, Auto-poster, backup-bot, cloner, chat-forwarder, duplicator, ...\n\nCall it whatever you like! tgcf can fulfill your custom needs.\n\n## Videos\n\n<!-- markdownlint-enable -->\n\nThe following videos (english) explain everything in great detail.\n\n- [Feature Overview](https://youtu.be/FclVGY-K70M)\n- [Running on Windows/Mac/Linux](https://youtu.be/5GzHb6J7mc0)\n- Running on Android\n- [Deploy to Digital Ocean Droplet](https://youtu.be/0p0JkJpfTA0)\n\n## Supported environments\n\n- Linux\n- Mac\n- Windows (Running Ubuntu on top of WSL-2)\n- Android (Using Termux app)\n- Any Linux VPS\n\n## Install and Run\n\nIf you want to use tgcf for free, then run on your own desktop or mobile computer.\n\nMake sure you are on a supported environment and have python:3.10 or above, installed.\n\n- Create a directory and move into it.\n\n  ```shell\n  mkdir my-tgcf\n  cd my-tgcf\n  ```\n\n- Create a python virtual environment and activate it.\n\n  ```shell\n  python3 -m venv .venv\n  source .venv/bin/activate\n  ```\n\n- Install tgcf using `pip`\n\n  ```shell\n  pip install tgcf\n  tgcf --version\n  ```\n\n- Set the password for accessing web interface.\n  The password is to be set in the `.env` file.\n\n  ```shell\n  echo \"PASSWORD=hocus pocus qwerty utopia\" >> .env\n  ```\n\n  Set your own password, instead of whats given above.\n\n  _Security advice_:\n\n  - Please make sure the password has more than 16 characters.\n  - You can save your password in any password manager (may be of browser)\n    to autofill password everytime.\n\n- Start the web-server.\n\n  ```shell\n  tgcf-web\n  ```\n\nTo run tgcf without the web-ui read about\n[tgcf cli](https://github.com/aahnik/tgcf/wiki/CLI-Usage).\n\nIf you are planning to use watermarking and ocr features within tgcf,\nyou need to install `ffmpeg` and `tesseract-ocr` libraries in you system.\n[Read more](https://github.com/aahnik/tgcf/wiki/Additional-Requirements).\n\n## Deploy to Cloud\n\nClick on [this link](https://m.do.co/c/98b725055148) and get **free 200$**\non Digital Ocean.\n\n[![DigitalOcean Referral Badge](https://web-platforms.sfo2.digitaloceanspaces.com/WWW/Badge%203.svg)](https://www.digitalocean.com/?refcode=98b725055148&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge)\n\n> **NOTE** You will get nothing if you directly sign up from Digital Ocean Home Page.\n> **Use the link** above, or **click on the big fat button** above to get free 200$.\n\nDeploying to a cloud server is an easier alternative if you cannot install\non your own machine.\nCloud servers are very reliable and great for running `tgcf` in live mode\nfor a long time.\n\nHere are some guides for deployment to different cloud providers.\n\n- [Heroku](https://github.com/aahnik/tgcf/wiki/Deploy-to-Heroku)\n- [Digital Ocean](https://github.com/aahnik/tgcf/wiki/Deploy-to-Digital-Ocean)\n- [Gitpod](https://github.com/aahnik/tgcf/wiki/Run-for-free-on-Gitpod\")\n- [Python Anywhere](https://github.com/aahnik/tgcf/wiki/Run-on-PythonAnywhere)\n- [Google Cloud Run](https://github.com/aahnik/tgcf/wiki/Run-on-Google-Cloud)\n\n## Getting Help\n\n- First of all [read the wiki](https://github.com/aahnik/tgcf/wiki)\n  and [watch the videos](https://www.youtube.com/channel/UCcEbN0d8iLTB6ZWBE_IDugg)\n  to get started.\n\n- Type your question in GitHub's Search bar on the top left of this page,\n  and click \"In this repository\".\n  Go through the issues, discussions and wiki pages that appear in the result.\n  Try re-wording your query a few times before you give up.\n\n- If your question does not already exist,\n  feel free to ask your questions in the\n  [Discussion forum](https://github.com/aahnik/tgcf/discussions/new).\n  Please avoid duplicates.\n\n- For reporting bugs or requesting a new feature please use the [issue tracker](https://github.com/aahnik/tgcf/issues/new)\n  of the repo.\n\n## Contributing\n\nPRs are most welcome! Read the [contributing guidelines](/.github/CONTRIBUTING.md)\nto get started.\n\nIf you are not a developer, you may also contribute financially to\nincentivise the development of any custom feature you need.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "The ultimate tool to automate custom telegram message forwarding.",
    "version": "1.1.8",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "827404c5c01fbb48b388f52dbbfe05d3",
                "sha256": "49f8505a29984d69945ef00a1e5cc48afa204104e4a6e469c6c7be47f3770dcd"
            },
            "downloads": -1,
            "filename": "tgcf-1.1.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "827404c5c01fbb48b388f52dbbfe05d3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 31983,
            "upload_time": "2022-12-18T15:01:03",
            "upload_time_iso_8601": "2022-12-18T15:01:03.265425Z",
            "url": "https://files.pythonhosted.org/packages/29/e0/5aa1b619c75bc5fc32026a8cec79a28e7d084497fcd889941bb88a310df8/tgcf-1.1.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "d744604f6fb55236c7164a80d3135f86",
                "sha256": "14dfe1355fce13809637cd759155039d62f468d7ab263859298c983ffff5b632"
            },
            "downloads": -1,
            "filename": "tgcf-1.1.8.tar.gz",
            "has_sig": false,
            "md5_digest": "d744604f6fb55236c7164a80d3135f86",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 26195,
            "upload_time": "2022-12-18T15:01:05",
            "upload_time_iso_8601": "2022-12-18T15:01:05.955033Z",
            "url": "https://files.pythonhosted.org/packages/38/cd/d6c7049679eae837352c852fc0631550feff30f4d66fcadb51df66bf9fbc/tgcf-1.1.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-18 15:01:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "aahnik",
    "github_project": "tgcf",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "tgcf"
}
        
Elapsed time: 0.02566s