TG-Photos is a bot that allows you to use Telegram as an alternative to Google Photos. With this bot, you'll be able to easily store and organize your photos and browse through them directly on Telegram.
- Unlimited photo storage
- Easy organization with tags
- Search for photos
- Direct access to your photos on Telegram
docker & docker-compose
- clone this repository
- copy
.env.sample
as.env
- create a bot in @botFather and take note of it Bot API Token
- (optional) while in dialog with @botFather, add commands from
commands.txt
to your bot - create a telegram channel and take note of it's ID
- fill
botToken, chatId
andusername
in.env
respectfully - run
docker build -t tgphotos:latest .
and wait - run
docker-compose up -d
to start the container - go to your bot username and send
/start
(or press start) to see if it's working. If bot responds, it's running successfully
The Telegram Google Photo Bot comes with a set of commands to help you organize and manage your photos. Here are the available commands:
/search
- search for photos by tags or dates/searchlist
- same as search, but in list view/upload
- upload a media/taglist
- list all tags- and other commands in commands.txt...
The TG-Photos is built using Python and the Telegram Bot API. It uses an Telegram API and SQL database to store and retrieve photos from your specified channel.
This project is licensed under the MIT License - see the LICENSE for details.
Contributions are welcome! If you have any suggestions or improvements, feel free to create an issue or submit a pull request.