Integrations
Telegram Bot
Sync Telegram messages and images into Memos with Memogram.
Memogram is the Telegram integration for Memos. It syncs text and images from a Telegram bot into your Memos instance.
Repository and releases:
https://github.com/usememos/telegram-integration
https://github.com/usememos/telegram-integration/releasesPrerequisites
- A running Memos instance
- A Telegram bot token
Configuration
Create a .env file and set:
SERVER_ADDR=dns:localhost:5230
BOT_TOKEN=your_telegram_bot_token
BOT_PROXY_ADDR=https://api.your_proxy_addr.com
ALLOWED_USERNAMES=user1,user2,user3Configuration options
SERVER_ADDR: gRPC address where Memos is running.BOT_TOKEN: Telegram bot token.BOT_PROXY_ADDR: Optional proxy for Telegram API.ALLOWED_USERNAMES: Optional comma-separated list of allowed usernames (without@).
When ALLOWED_USERNAMES is set, only those users can use the bot.
Run Memogram
Binary
- Download the release binary.
- Put
.envnext to the binary. - Run:
./memogramDocker
docker build -t memogram .
docker run -d --name memogram \
-e SERVER_ADDR=dns:localhost:5230 \
-e BOT_TOKEN=your_telegram_bot_token \
memogramDocker Compose
services:
memogram:
env_file: .env
build: memogram
container_name: memogramCommands
/start <access_token>: Authenticate with your Memos access token.- Send text: Saves the message as a memo.
- Send files: Saves files as resources attached to a memo.
/search <words>: Search your memos.

