Repository navigation
Conversation
added 4 commits
November 12, 2026 03:54
- Replaced Python/Telethon dependencies with a lightweight, standalone native Go MTProto 2.0 client (tools/telegram-vdb) - Cross-compiled as pure static binaries for arm64-v8a, armeabi-v7a, x86, and x86_64 - Integrated binary cross-compilation into .github/scripts/build_bin.sh and CI workflows - Zero Python runtime or vendor libraries required - Supported phone authentication with OTP and 2FA passwords - Configured official Telegram Desktop emulation (DeviceTDesktopWindows & TDesktopResolver) with Obfuscated2 transport to protect active sessions on other devices - Fixed channel argument parsing for negative channel IDs (-100...) during uploads and downloads - Automatic detection of existing backup channels ending in _VDB to prevent spamreport restrictions - Full backup, list, and restore integration with helper and worker - Automatically prune dead operation PIDs to prevent UI getting stuck on reattach - Rebased on upstream v1.06
…chitecture - Remove custom non-standard cloud backups modal (#tg-backups-modal) and toolbar button - Remove custom download verbs and unused CSS styles - Treat Telegram strictly as a first-class native destination in #destlist and #d-type - Retain MTProto upload transfer and standard destination testing
- Replace bulky card container in trackOp with clean .op-head and .op-cancel-btn - Immediate responsive cancellation without blocking modal overlay - Reduce finished operations auto-dismiss delay from 4000ms to 1500ms - Remove blocking Telegram network status check on general destinations load - Fast-path session file existence check in telegram-vdb check-auth (0ms if no session)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses feedback from #3 regarding file count and runtime dependencies:
This PR implements native Telegram Cloud Storage using a single self-contained, compiled Go MTProto binary (
telegram-vdb), completely eliminating Python, external runtimes, and hundreds of vendored script files.Key Highlights & Changes
tools/telegram-vdb/main.go,go.mod,go.sum, andmodule/scripts/telegram.sh).telegram-vdb).arm64-v8a,armeabi-v7a,x86_64,x86) and package directly into release zips alongside existing binaries.dest-test), upload backup (telegram.sh upload), list backups (telegram.sh ls), download archive (telegram.sh download), and browse/restore.VD_Backup_<hex>).helper.sh cancel).Verification