| Status | Under Development |
| Location | https://github.com/rlkandela/TeleSync |
TeleSync is an utility for uploading all the elements selected to Telegram only when they are updated and downloading them when they are newer than the local ones.
At the momment it’s only supported on linux, and it has been only tested on Archlinux with python3.8.
- Install dependency
telethon.pip install telethon - Clone this repository.
git clone https://github.com/rlkandela/TeleSync - Run
install.pylocated on the src folder.cd TeleSync/src python install.py - You may be asked for root password up to two times.
- You will be asked to enter the app id, you have to follow the link on the upper line and create an app, this step will be more documented in the future.
- Copy the app id and paste it on the terminal.
- Copy the app hash and paste it on the terminal.
- Enter your phone number with the prefix of the country, for example in case of spain
0034XXXXXXXXXnot+34XXXXXXXXX. - A message will be sent to your telegram account with a code, copy and paste it or just write it.
- Now configure
$HOME/.config/TeleSync/sync.confto add the folders you would like to sync.For example, to sync the
Documentsfolder, add/home/<username>/Documents/where<username>is your username.To add more folders separate them with a newline. You can also add the folders by echoing the path to the
sync.conffile.echo "/absolute/path/to/the/folder" >> ~/.config/TeleSync/sync.conf
As the CLI is not yet developed, the way to use it is just python /opt/TeleSync/src/tls.py
Currently the CLI is not developed, and multi-device is not supported, there is no way to exclude subfolders from a foler in sync.conf yet and Telegram puts you in delay mode if you send too many messages.