TreeMap
A free, open-source disk-space visualizer. Squarified treemap, duplicate hunting, disk-full forecasting, and cleanup that only ever moves files to the Trash.
翻譯準備中
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
A personal cloud drive that stores your files in Telegram: unlimited storage, a web app, an Android app and a Windows app. There's no backend server; the app runs on your device and talks to Telegram directly.
Website: https://teledrive-storage.vercel.app · Status: Phase 9 (public release). See the roadmap.檢視完整 README ↗A personal cloud drive that stores your files in Telegram: unlimited storage, a web app, an Android app and a Windows app. There's no backend server; the app runs on your device and talks to Telegram directly.
Website: https://teledrive-storage.vercel.app · Status: Phase 9 (public release). See the roadmap.
Windows app (same code, wrapped with Electron): installs like any program, opens from the Start menu, no server to run.
Android app (same code, wrapped with Capacitor):
Your browser / phone ──── MTProto (WebSocket) ────► Telegram
• GramJS private channel =
• IndexedDB cache files + metadata
updates.getChannelDifference).public/sw.js) turns the player's byte-range requests into
Telegram downloads of just those bytes, so you can seek without downloading the whole file.Full details: REQUIREMENTS.md · IMPLEMENTATION.md · DESIGN.md
git clone https://github.com/samarthbc/teledrive.git
cd teledrive
npm install
cp .env.example .env
Put your keys in .env:
VITE_TG_API_ID=12345678
VITE_TG_API_HASH=your32characterhashhere
.env is git-ignored. Never commit it. If you leave it empty, the app asks for the keys on first launch and stores them on that device only.
Public builds (website, release apps) never include these keys: everyone enters their own on the Setup screen.
npm run dev # http://localhost:5173
npm test # unit tests
npm run build # production build in dist/ (with your keys, for yourself)
The website and the downloadable apps are built without API keys; each person enters their own on the Setup screen (once per device).
npm run build:website # the website (dist/), with a Content-Security-Policy
npm run android:release # then: cd android && ./gradlew assembleRelease (signed APK)
npm run desktop:release # %LOCALAPPDATA%\TeleDrive-build\TeleDrive-Setup.exe
Every public build runs scripts/check-keys.mjs, which fails if your api_hash is inside it.
vercel.json), deployed on every push to main.v<version> runs .github/workflows/release.yml, which builds the signed APK and
the Windows installer and publishes them as a GitHub Release. The website's Get the app links always
point to the latest one.Details and first-time setup (Vercel, GitHub secrets, the Android signing key): IMPLEMENTATION.md Phase 9.
Requirements: Android Studio (includes the right Java). The app runs on Android 10 or newer.
npm run android # build the web app, copy it into android/, open Android Studio
In Android Studio, connect your phone (USB debugging on) and press Run ▶. Or use
Build → Build App Bundle(s) / APK(s) → Build APK(s) and copy
android/app/build/outputs/apk/debug/app-debug.apk to your phone.
After changing the web code, run npm run android:sync and press Run again.
Building from a terminal instead: point JAVA_HOME at Android Studio's Java, then
cd android && ./gradlew assembleDebug.
npm run desktop:build # builds the installer into %LOCALAPPDATA%\TeleDrive-build
Run TeleDrive-Setup.exe from that folder. It installs for your user only (no admin), adds
TeleDrive to the Start menu and desktop, and keeps you logged in between launches. It isn't signed, so
Windows may say "Unknown publisher" the first time: More info → Run anyway. After code changes, build
and run the installer again. npm run desktop opens the app without installing it.
The installer contains the API keys from your .env, so keep it to yourself.
src/
├── telegram/ client, login flow, storage channel, message parsing
├── drive/ metadata format, folder tree, sync, upload (resumable), download, streaming,
│ thumbnails, file ops (trash/star), transfer queue
├── db/ IndexedDB (Dexie): session, cache, settings
├── store/ app state (Zustand)
├── pages/ Setup, Login, TeleDrive password, Drive
├── components/ file views, preview, dialogs, menus, transfer panel, shared form controls (ui.tsx)
├── lib/ formatting, theme switch, releases and app updates
├── dev/ sample files for design work (`?mock`, development only, never shipped)
└── native/ Android bridge (downloads, share-to-app, camera backup, notification, back button); desktop bridge
public/sw.js service worker for video/audio streaming
android/ Android project (Capacitor); native code in app/src/main/java/com/samarthbc/teledrive/
electron/ Windows app (Electron): window, serving the app's files, preload
| Phase | Scope | Status |
|---|---|---|
| 0 | Project setup | ✅ |
| 1 | Login, storage channel, upload/download, chunking, folders, rename/move/delete, sync | ✅ |
| 2 | Thumbnails, previews, video streaming, search, trash, multi-select, resume uploads | ✅ |
| 3 | Android app (Capacitor), share-to-app, camera backup, background transfers | ✅ Tested on a Redmi (Android 14) |
| 4 | End-to-end encryption, duplicate detection, folder upload, ZIP download, send to Telegram, multiple drives, PWA | ✅ Being tested |
| 5 | Camera backup upgrades: backup while the app is closed, more folders | ✅ Being tested |
| 6 | Security: TeleDrive password (every file encrypted), locked files and folders with their own passwords | ✅ Being tested |
| 7 | UI redesign (Soft Swiss): light/dark themes and switch, every screen restyled | ✅ Being tested |
| 8 | Windows desktop app (Electron): installer, no server needed | ✅ Being tested |
| 9 | Public release: website on Vercel, downloads for the apps, everyone enters their own API keys | ✅ Website live; app release needs the GitHub secrets |
| 10 | Settings: density, thumbnails, auto-lock time, lock on close, lock everything, active sessions, check for updates | ✅ Being tested |
React · TypeScript · Vite · Tailwind CSS · GramJS · Dexie · Zustand · Vitest · Capacitor (Android) · Electron (Windows)