TechZ Bots
1.2K subscribers
206 photos
22 videos
7 files
287 links
Join To Get Latest Updates About Our Projects

Github : https://github.com/TechShreyash

Support Group : @TechZBots_Support
Download Telegram
TechZ Bots
πŸš€ Exciting News! Introducing TGDrive - Open Source πŸš€ TGDrive is a powerful Google Drive Clone built with FastAPI and Telegram Storage. Manage folders, upload/download files, and enjoy seamless sharing with public links. Admin features and automatic backups…
#TODO

1. Add search feature for files/folders
2. Video Player And Image Viewer Support On Website
3. Remote url upload support
4. Folder/File Sorting according to name/date_uploaded
πŸ”₯3❀1
♻️ TG Drive Update

- Database Backup Loader and Bot Client Generator issues resolved.
- Added 4GB File Upload Support using a Telegram Premium account.

Note: The 4GB file upload feature is untested as I currently do not have a Telegram Premium account. Please test this feature and let me know if it works by contacting me (@TechShreyash).

4gb upload works, check proof : https://t.me/TechZBots/858
πŸ‘1πŸ€”1
Someone have a good internet ?

go test uploading a 4gb file (atleast greater than 2gb) on https://tgdrive.techzbots.co
Its working now... (upto 4gb file upload)

Someone uploaded a 2.5gb file
πŸ‘3❀1
Note : After every update done to TG Drive you must clear your browser cache ( or just for the website if possible ). As the code gets updated but your browser may be running the old js code.
♻️ TG Drive - Today's Updates

What's New:

- File/Folder Sorting: Files and folders are now sorted by the date and time of upload.

- Bug Fixes: Various issues have been resolved to enhance performance.

- Website Auto Pinger: Added functionality to keep hosting websites from idling. Enable it by adding the WEBSITE_URL variable.

- Optimized Use of Premium Accounts: Premium Client (STRING_SESSIONS) will only be used for uploads exceeding 2GB. Bots (BOT_TOKENS) will handle file streaming and downloads.

- Improved File Uploader: The file uploader is now asynchronous, allowing for streaming file uploads.

- File Size Exceed Error Fixed: Resolved issues related to exceeding file size limits.

- Audio File Uploads: Fixed problems related to uploading audio files.

Important Note: If you have already deployed TG Drive, you need to update the DATABASE_BACKUP_MSG_ID variable. This change is necessary to store the upload dates of files and folders in the database. As a result, the existing database will need to be removed.


🌐 Demo Website : https://tgdrive.techzbots.co
πŸ” Password : admin
πŸ‘1πŸ”₯1
TechZ Bots pinned a photo
♻️ TG Drive Updated

- Added Progress While File Is Being Processed At Server

You may have encountered this while uploading large files in TGDrive, after uploading from device their somewhat delay to upload to telegram progress to work.
It appears to be stuck at this point, but actually the file you sent to the server is being saved to its storage (storage of server). Its same as copying file and takes some time depending upon storage speed.

After this update, you will see the progress while the file in being saved to server's storage
πŸ‘2❀1
♻️ TG Drive Fixed
πŸ”₯1πŸ₯°1
♻️ TG Drive Updated

- File/Folder Searching Added
- Added Deploy To Render Button (here)
πŸ€”1
♻️ TG Drive Update

- Fixed "Peer ID Invalid" Error (by bypassing the peer id checker in pyrogram)

Anyone having similar error in pass can redeploy/update now, this problem got fixed
❀1πŸ‘1
πŸ”° TG Drive Updated

- Added Video Player To TG Drive

Double Clicking A File (only if it is a video) Will Open This Stream Page
Also clicking share link button will copy the stream link

πŸ–₯ Demo : https://tgdrive.techzbots.co/stream?url=https://tgdrive.techzbots.co/file?path=/NY4BGJ
❀5
πŸ”° TG Drive Updated

- Fixed file upload issue
πŸ‘4
πŸ”° TG Drive Updated

- Remote URL Upload Support Added
- Fix Wrong Share Link Getting Copied For Non Video Files
- Cache Directory Resetter (removes cache files if exist)

URL Upload might not work properly for all urls currently, it has some issues

🌐 Demo Website : https://tgdrive.techzbots.co
πŸ” Password : admin

Note : remove your browser cache before using
❀2πŸ”₯1
πŸš€ TG Drive Tip

If you don't want to keep the browser tab open while a file is being uploaded, follow these steps:

1. File Upload from Device:

Wait until the file is successfully uploaded from your device.
Once the "Status: Uploading To Backend Server" message disappears, you can safely close the tab.


2. URL Upload:

Add the URL and observe the upload progress.
As soon as the progress is displayed, you can close the tab.
The file upload will continue in the background.


Note: If you close the tab, you won't be able to reconnect to the progress.
πŸ”₯3πŸ‘1
πŸ”° TG Drive Updated

πŸ”— Improvements for URL Upload

1. Random ID as Filename: If the filename cannot be retrieved from the Content-Disposition header or the URL, a random ID will be used as the filename. The file extension will be derived from the Content-Type header.

2. Cancel URL Uploads: Added functionality to support the cancellation of URL uploads.
πŸ‘1
render.com suspending tg drive for uploading/downloading large files