https://github.com/SlavikMIPT/opentfd
Opensource telegram flood daemon
https://github.com/SlavikMIPT/opentfd
Last synced: over 1 year ago
JSON representation
Opensource telegram flood daemon
- Host: GitHub
- URL: https://github.com/SlavikMIPT/opentfd
- Owner: SlavikMIPT
- License: apache-2.0
- Created: 2018-07-23T03:00:51.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-30T11:46:19.000Z (over 4 years ago)
- Last Synced: 2024-11-07T17:51:31.260Z (over 1 year ago)
- Language: Python
- Size: 33.7 MB
- Stars: 35
- Watchers: 4
- Forks: 15
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenTFD
* Merges series of Telegram messages if there is a pause of less than 30 seconds between them
* Inline draft-based Google Translator (just put /en in the end of message to translate into English or /ru to translate into russian). Full list of supported languages you can see in supported_langs at opentfd.py
* Bash assistant - type '!bash command' in any chat to execute command on your host
Compiled versions is on [releases of this repo](https://github.com/mediatube/opentfd/releases/tag/latest)
### Scripts
* opentfd.service - template of linux systemd service for 24/7 execution on VDS
### For non-compiled versions
1. `pip3 install -r requirements.txt`
2. Add [API token and hash](https://core.telegram.org/api/obtaining_api_id) to secret.template.py and rename it to secret.py
3. `python3 opentfd.py`
### Dependencies
* Latest version of Telethon: http://telethon.readthedocs.io/en/stable/
* Translator: https://github.com/mouuff/mtranslate.git
Follow author and contributors at Telegram:
* https://t.me/MediaTube_stream
* https://t.me/nastalo