# TG Vault

> Self-hosted Telegram file archiver that stores files to local disk, OneDrive, Google Drive, S3, WebDAV and more with a web UI and bot for private cloud management.

- **Category:** File Management
- **Licence:** MIT
- **Latest version:** v2.6.0
- **Open source:** oss
- **Languages:** Typescript
- **Platforms:** Docker Compose
- **Tags:** Backup, Telegram, Webdav, File Manager, Media Management, Onedrive, Typescript, Docker Compose, S3, Multi cloud, Google drive, Telegram bot, Pgvector, Self Hosted, Private cloud, File Archiver, Media Archiver

## Description

TG Vault is a self-hosted Telegram file archiving and private cloud system. It receives files from Telegram Bot or web uploads, stores them to local disk or multiple cloud storage providers (OneDrive, Google Drive, Aliyun OSS, S3-compatible, WebDAV, OpenList), and provides a web file manager with search, folders, previews, and a unified task center. It supports channel/group historical downloads and subscriptions via a user-account downloader. Deployment uses Docker Compose with an automated install script that generates secrets and starts frontend, backend, and PostgreSQL 16 containers. All sensitive credentials are encrypted at rest. The project is open source under MIT license with active development.

## Links

- [Homepage](https://github.com/hicocos/tg-vault)
- [Website](https://hicocos.github.io/tg-vault/)
- [Docker](ghcr.io/hicocos/tg-vault-backend)
- [GitHub Repository](https://github.com/hicocos/tg-vault)
- [Quick Start Guide](https://hicocos.github.io/tg-vault/quick-start.html)
- [Storage Configuration](https://hicocos.github.io/tg-vault/storage.html)
- [Telegram Configuration](https://hicocos.github.io/tg-vault/telegram.html)
- [Security Documentation](https://hicocos.github.io/tg-vault/security.html)
- [Operations & Backup](https://hicocos.github.io/tg-vault/operations.html)
- [Architecture](https://hicocos.github.io/tg-vault/architecture.html)
- [Issues](https://github.com/hicocos/tg-vault/issues)

---
Source: https://selfhost.directory/project/tg-vault