Web-based file manager for Telegram bots. Manage and organize files stored in your Telegram chats with a beautiful, modern interface.
https://foxxw0lf.github.io/telegram-drive/ https://telegram-drive-iota.vercel.app/
- Connect to any Telegram bot using Bot Token and Chat ID
- Automatically fetch and display files from Telegram chats
- Support for all file types (documents, images, videos, audio, archives)
- View: Browse all files with thumbnails and metadata
- Download: Direct download from Telegram servers
- Share: Generate share links for files
- Categorize: Auto-sort files into Documents, Images, Videos, Others
- Clean, responsive design that works on desktop and mobile
- File grid with icons and detailed information
- Category-based filtering and navigation
- Upload guide with step-by-step instructions
- Automatic fallback when Telegram API is unavailable
- Sample files for testing and demonstration
- No setup required to try the interface
- Open Telegram and search for
@BotFather - Send
/newbotcommand - Follow the instructions to create your bot
- Copy the Bot Token (format:
123456789:ABCdefGHIjklMNOpqrsTUVwxyz)
Option A: Use your bot
- Send a message to your bot
- Visit:
https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates - Find
"chat":{"id":in the response
Option B: Use @userinfobot
- Send any message to
@userinfobot - It will reply with your Chat ID
Option C: For groups/channels
- Add your bot to the group/channel
- Send a message mentioning the bot
- Use the getUpdates method above
- Open the Telegram Drive application
- Enter your Bot Token and Chat ID
- Click "Hubungkan" (Connect)
- Start uploading files to your Telegram chat!
- Bot Token and Chat ID is saved on localstorage
- Open your Telegram app
- Go to the chat with your bot
- Send files by:
- Drag & drop files into the chat
- Click attachment button and select files
- Forward files from other chats
- Return to Telegram Drive and click "Refresh"
- Your files will appear in the interface!
- CORS Handling: Graceful fallback to demo mode when API calls fail
- Local Storage: Remembers your bot configuration
- File Type Detection: Automatic categorization based on file extensions
- Error Handling: User-friendly error messages and recovery
- Responsive Design: Optimized for all screen sizes
- Keyboard Shortcuts:
ESC- Close modalsF5- Refresh filesCtrl+R- Refresh files
- All data processing happens in your browser
- Bot tokens are stored locally in your browser only
- No server-side storage or processing
- Direct communication with Telegram API
- Open source - you can review all code
- PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX
- JPG, JPEG, PNG, GIF, BMP, SVG
- MP4, AVI, MOV, WMV, FLV
- MP3, WAV, FLAC, AAC
- ZIP, RAR, 7Z, TAR, GZ
- ✅ Chrome 80+
- ✅ Firefox 75+
- ✅ Safari 13+
- ✅ Edge 80+
Contributions are welcome! Feel free to:
- Report bugs
- Suggest new features
- Submit pull requests
- Improve documentation
This project is open source and available under the MIT License.
- Live Application: https://foxxw0lf.github.io/telegram-drive/
- Repository: https://github.com/foxxw0lf/telegram-drive
- Telegram Bot API: https://core.telegram.org/bots/api
Made with ❤️ for the Telegram community