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
♻️ 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
⭐️ Introducing TG Drive's Bot Mode! πŸš€

We are thrilled to announce a brand-new feature in TG Drive: Bot Mode! Now, you can upload files directly to your TG Drive website from Telegram. Just send or forward any file to the bot, and it will be uploaded instantly. You can even choose the folder where you want the files to go!

Make file management smoother and faster with TG Drive's Bot Mode!

πŸ“˜ For more information, check out the TG Drive Bot Mode documentation

πŸŽ₯ Watch our demo video to see how easy it is to use this feature: YouTube Demo

#TGDrive #BotMode #NewFeature #FileManagement #TelegramBot
❀1πŸ‘1
Channel photo updated
♻️ TG Drive Update

- Using curl_cffi to bypass cloudflare in url uploads
- Share link not getting copied problem fixed

Many file links wasnt working before because of cloudflare, now with this update you can url upload those urls too.

Note : Remove tg drive's website cache from your browser before using
❀1
πŸš€ Dockerfile Added To TG Drive

Deploy on vps or other websites using it
❀4
Want Public Folder Sharing On TG Drive ?
Anonymous Poll
88%
Yes βœ…
12%
No ❌
πŸ”° Introducing TechZDL - Python Package

TechZDL is a powerful file downloader package for Python that supports multi-threaded downloads, dynamic worker adjustments based on network speed, custom headers, and more.

πŸ”₯ Features

- Multi-threaded downloads: Efficiently download files using multiple threads.
- Dynamic worker adjustments: Automatically adjusts the number of workers based on network speed.
- Custom headers: Add custom headers to your download requests.
- Error handling: Robust error handling and retry mechanisms.
- Asynchronous support: Fully asynchronous for non-blocking operations.

πŸš€ To install the latest version, use:

pip install --upgrade techzdl


Cant install/update ? Check here

⏰ Basic Usage :

import asyncio
from techzdl import TechZDL

async def main():
downloader = TechZDL(url="https://link.testfile.org/bNYZFw")
await downloader.start()

asyncio.run(main())

🎯 Want to know more, Check out DOCS.md and Examples / Demos

⭐️ Project Links : Github Repo | PyPi Project

Written from scratch, Easy to use, For all your file download needs in python
😁3❀2
πŸ”° TechZDL v1.2.3 Update

πŸš€ Added

- Introduced the download_success attribute to indicate successful downloads.
- Added the download_error attribute to capture exceptions during the download process.

Note: The attributes output_path, download_success, and download_error are particularly useful when using the background download mode, as errors raised and the file path cannot be directly accessed.

For more details, check TechZDL Attributes.
😁1
♻️ Are Your TG Drive Files Getting Deleted Automatically?

First, let's understand how TG Drive stores your files:

TG Drive saves your files on Telegram, with a local database file that keeps track of the uploaded files, their folder locations, and their status (e.g., deleted or in trash). This local database is backed up to your Telegram channel every minute. You can adjust this interval to suit your needs.

The Problem:

Free deployment services like Render, where you might have hosted your site, can shut down automatically after some time. If the service shuts down within the minute between backups, any newly uploaded files might not get saved in the local database file. Even though the files are still on your Telegram channel, the database will not reflect the new files.

To Fix This:

1. Use Reliable Services:
- Consider using deployment services that do not shut down automatically.
- If keeping the website active through pinging is an option, use the WEBSITE_URL and modify this line for more frequent pings.

2. Decrease Backup Interval:
- Lower the DATABASE_BACKUP_TIME variable to 10 or 20 seconds. This way, the backup file updates more frequently, reducing the risk of data loss.
πŸ‘2
♻️ TG Drive Update

- Improved Remote URL Uploading Using the TechZDL Package

You will experience better speeds and fewer errors, especially with larger files.

Note: Clear your browser's cache for the TG Drive website before using the new update.