Skip to content

TGCloud is a secure and reliable cloud storage solution built on top of Telegram's infrastructure

License

Notifications You must be signed in to change notification settings

Kumneger0/TGCloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

176 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TGCloud

TGCloud Logo

License: GPL-3.0 Built with Next.js Database: PostgreSQL Auth: Better Auth 100% Free

TGCloud is a cloud storage solution that provides unlimited storage by leveraging Telegram's API.

🚀 Overview

TGCloud offers a simple, secure, and free way to store and manage files. Built with modern web technologies, it uses Telegram's infrastructure to provide unlimited cloud storage without restrictions.

💡 Why TGCloud?

  • Completely Free: Unlike traditional cloud storage services with tiered payment plans, TGCloud is 100% free with no hidden costs or premium tiers.
  • No Storage Limits: Leverage Telegram's unlimited storage capabilities without restrictions on file size or total storage used.
  • Privacy-Focused: Your files are stored in private Telegram channels accessible only to you.
  • Simple & Fast: Modern interface designed for easy file management with quick uploads and downloads.
  • Open Source: Fully transparent codebase you can inspect, modify, and contribute to.

✨ Features

  • Unlimited Storage: Store as many files as you need—TGCloud utilizes Telegram's channel storage without restrictions.
  • Secure and Private: Each user has a unique, private Telegram channel, ensuring their files are only accessible to them.
  • File Organization: Create folders and organize your files with a familiar interface.
  • File Sharing: Generate temporary links to share files with others.
  • File Preview: View images, videos, and documents directly in the browser.

🛠 How It Works

  1. Create an Account: Sign up on TGCloud and connect your Telegram account when prompted.
  2. Private Storage Channel: Once connected, TGCloud automatically creates a private Telegram channel for you.
  3. Store Files Securely: All uploaded files are sent to this private channel, where they remain accessible only to you.
  4. Access Anywhere: Log in to your TGCloud account from any device to access your files.

🔧 Installation

Prerequisites

  • Node.js 18.x or higher
  • PostgreSQL database
  • Telegram Bot token

Setup

  1. Clone the repository:
git clone https://github.com/kumneger0/TGCloud.git
cd TGCloud
  1. Install dependencies:
pnpm install
  1. Set up environment variables:

Create your environment files for development and production using the provided .env.example as a template:

cp .env.example .env.development
cp .env.example .env.production

Edit both .env.development and .env.production and replace all placeholder values with your own credentials

  1. Set up the database:
pnpm db:migrate
  1. Run the development server:
pnpm dev

Open http://localhost:3000 in your browser to see the application.

🖥 Technologies Used

  • Next.js
  • Tailwind CSS
  • Shadcn UI
  • Drizzle ORM
  • PostgreSQL
  • Better Auth
  • Telegram API
  • Dexie (for client-side caching)

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📜 Code of Conduct

We are committed to providing a welcoming and inclusive experience for everyone. We expect all participants in our community to abide by our Code of Conduct. Please read it to understand what behaviors will and will not be tolerated.

📝 License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

📞 Contact

For questions or support, please reach out to:


⭐ Star this repository if you find it useful! ⭐

Made with ❤️ by Kumneger Wondimu

About

TGCloud is a secure and reliable cloud storage solution built on top of Telegram's infrastructure

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages