GithubHelp home page GithubHelp logo

mxvsh / drivegram Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 3.0 745 KB

☁️ Personal cloud storage application that uses Telegram for storing files.

Home Page: https://github.com/mxvsh/drivegram

TypeScript 97.20% CSS 1.30% JavaScript 0.71% Dockerfile 0.79%
bun gramjs nextjs tailwindcss telegram trpc

drivegram's Introduction

☁️ DriveGram - Personal Cloud Storage

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.

banner

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.

Features

  • ✨ Clean UI
  • 📁 Organize your content
  • 📤 Upload/download files
  • 🔖 Bookmark files
  • 🗑️ Move to trash
  • 📱 Multiple accounts

Roadmap

  • Search files
  • File preview
  • Link Google Drive
  • Generate shareable link
  • Custom chat for uploading files

🚀 Installation

Right now, you can run the project locally by following the steps below. It uses SQLite as a database.

Docker

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

Local Server

To run the project locally, follow the steps below.

  1. Clone the repository and install the dependencies.
git clone [email protected]:mxvsh/drivegram.git
  1. Install the dependencies and start the server.
cd drivegram
pnpm install
  1. Create a .env (or copy .env.example) file in the root directory and add the following environment variables.
TELEGRAM_API_ID=
TELEGRAM_API_HASH=
  1. Build and start the server.
pnpm run build
pnpm drizzle-kit push:sqlite
pnpm start

🙂 Thanks

Contact me on Telegram for any queries or suggestions.

drivegram's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

vectorcodes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.