Skip to content

Simple destructive telegram file synchronization utility

License

Notifications You must be signed in to change notification settings

yarfuo/telegram-files-move

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple telegram file synchronization utility

This utility finds files which have not been changed for 15 minutes and removes them and uploads to Telegram. Created for task when I need to upload big access logs.

Created with MTProto API to bypass low file size limits.

Installation

python3.8 -m venv venv
source ./venv/bin/activate
pip3 install -r requirements.txt
python3 main.py \
  --chat-id 674973662 \
  --bot-token '123456789:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
  --filename-regex '.*\.zip' \
  --path 'path' \

Notes

  • File uploads optimized by cryptg module.
  • File telegram size limit is 2 GB for now.

Thanks to

About

Simple destructive telegram file synchronization utility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages