DriveGram is a personal cloud storage application that uses Telegram as a drive. It allows you to upload, download, and organize your files using the Telegram API. The project is built using Next.js and Gramjs.
✨ The project is actively under development, expect frequent updates and new features.
Run on your local machine without any external dependencies. You just need to create a Telegram application and get the API ID and API Hash from my.telegram.org.
It uses SQLite as a database to store user data and files. You can run the project using Docker or on your local machine.
- ✨ Clean UI
- 📁 Organize your content
- 📤 Upload/download files
- 🔖 Bookmark files
- 🗑️ Move to trash
- 📱 Multiple accounts
- Search files
- File preview
- Link Google Drive
- Generate shareable link
- Custom chat for uploading files
Right now, you can run the project locally by following the steps below. It uses SQLite as a database.
Use the following commands to run the project using Docker.
docker run -d -p 3000:3000 \
-e TELEGRAM_API_ID='' \
-e TELEGRAM_API_HASH='' monawwar/drivegram:latest
To run the project locally, follow the steps below.
- Clone the repository and install the dependencies.
git clone [email protected]:mxvsh/drivegram.git
- Install the dependencies and start the server.
cd drivegram
pnpm install
- Create a
.env
(or copy.env.example
) file in the root directory and add the following environment variables.
TELEGRAM_API_ID=
TELEGRAM_API_HASH=
- Build and start the server.
pnpm run build
pnpm drizzle-kit push:sqlite
pnpm start
Contact me on Telegram for any queries or suggestions.