https://github.com/womblee/telegram_file_drive
Telegram based cloud storage solution with AES256 encryption and an integrated user interface.
https://github.com/womblee/telegram_file_drive
cloud discord-bot fuse storage telegram telegram-api telegram-bot
Last synced: 12 months ago
JSON representation
Telegram based cloud storage solution with AES256 encryption and an integrated user interface.
- Host: GitHub
- URL: https://github.com/womblee/telegram_file_drive
- Owner: womblee
- License: unlicense
- Created: 2024-02-11T10:30:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-30T20:47:28.000Z (almost 2 years ago)
- Last Synced: 2025-03-29T15:17:34.962Z (about 1 year ago)
- Topics: cloud, discord-bot, fuse, storage, telegram, telegram-api, telegram-bot
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram File Drive
Telegram based cloud storage solution with **AES256** encryption and an integrated user interface.
# Description
This program allows you to synchronize your files in a specific folder with a Telegram channel.
* All files are **encrypted and cannot be viewed by anyone** but you!
* Big files (20 MB+) are split into several smaller chunks.
* Files are compressed.
* Files are stored without extensions in a random string format, and it loops through every one of them until it finds the one you need (usually doesn't take a long time, unless you have 1000+ files).

Files are downloaded via their **UID**, since we can't really keep track of everything and store everything in the filename itself.
That's why we use a **metadata file** which stores every info.
Multi-directory support is present, and you can even upload files with extensions which will automatically get their extension!
# Commands list

* **/upload** - lets you upload and encrypt your file to the Telegram cloud
* **/sync** - synchronizes your uploads folder with the Telegram cloud [tech]
* **/download *%file_uid%*** - downloads a file by its UID in the specified folder
* **/list** - gives an embed of every file you store in the Telegram cloud
# Installation

This is basically how your folder should look like.
Edit 'app_id' and 'app_hash' to your own one, and login via the CMD afterwards. Voila.
Oh, and also make sure you change the 'invite_link' to a **PRIVATE** telegram **CHANNEL**.
# PIP
telethon, cryptography, aiofiles, hashlib, watchdog, zlib
# Credits
Inspired by 'Dev Detour' YouTube channel.
I made everything from scratch and I barely watched the video, but it's still a pretty cool concept.