explaingit

huydatvn/telegram-cloud-drive

Analysis updated 2026-05-18

29PHPAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

A self-hosted cloud drive that stores your files inside a Telegram bot instead of a paid server, giving free and unlimited storage with a normal web file-manager interface.

Mindmap

mindmap
  root((telegram-cloud-drive))
    What it does
      Uses Telegram as storage
      Web file manager
      Sharing with links
    Tech stack
      PHP
      Laravel
      SQLite
    Use cases
      Free cloud storage
      Multi user accounts
    Audience
      Developers
      Self hosters

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Self-host a personal cloud drive that uses free Telegram bot storage instead of paying for cloud space.

USE CASE 2

Share files with password protection and expiration dates on the shared links.

USE CASE 3

Run a small multi-user file storage system with per-user quotas and admin roles.

What is it built with?

PHPLaravelSQLiteBlade

How does it compare?

huydatvn/telegram-cloud-drivetempestphp/markdownbensondevs/indonesian-ktp
Stars292221
LanguagePHPPHPPHP
Setup difficultymoderateeasyeasy
Complexity3/52/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires creating a Telegram bot via BotFather and adding its token to a config file.

MIT license: free to use and modify.

In plain English

Telegram Cloud Drive is a self-hosted file storage application that uses Telegram's Bot API as the actual storage backend. Instead of saving your files on a traditional server or paying for cloud storage, all uploaded files go directly into a Telegram bot that you control. This makes the storage effectively free and unlimited, since Telegram does not charge for bot file storage. The application gives you a web interface that looks and works like a typical cloud drive. You can upload and download files, organize them into folders, mark favorites, move items to a trash bin with the option to restore them, and search across your files. Sharing is supported with optional password protection and expiration dates on links, so shared files can automatically stop being accessible after a set time. It supports multiple user accounts with different roles: regular users and admins. Each user can be assigned a storage quota limit. Login is secured with JWT authentication (a standard method of keeping user sessions secure). The interface works on both desktop and mobile and is available in Vietnamese and English. The tech stack is PHP with the Laravel framework for the backend, SQLite as the database, and Blade templates for the frontend. You set it up by creating a Telegram bot via Telegram's BotFather tool, putting the bot token in a configuration file, and running the application on a server. The license is MIT, meaning it is free to use and modify.

Copy-paste prompts

Prompt 1
Help me create a Telegram bot with BotFather and set up huydatvn/telegram-cloud-drive to use it as storage.
Prompt 2
Explain how file uploads actually get stored in Telegram when using this app.
Prompt 3
Show me how to set up password-protected, time-limited sharing links in this cloud drive.
Prompt 4
Walk me through adding a second user account with a storage quota in this app.

Frequently asked questions

What is telegram-cloud-drive?

A self-hosted cloud drive that stores your files inside a Telegram bot instead of a paid server, giving free and unlimited storage with a normal web file-manager interface.

What language is telegram-cloud-drive written in?

Mainly PHP. The stack also includes PHP, Laravel, SQLite.

What license does telegram-cloud-drive use?

MIT license: free to use and modify.

How hard is telegram-cloud-drive to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is telegram-cloud-drive for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.