Available Now on Telegram

Visualize Technical
Discussions Instantly

A Telegram bot that automatically detects Mermaid diagram syntax in group conversations and renders them as beautiful images.

MerGram Showcase

Key Features

🔍 Auto-Detection

MerGram monitors group messages for Mermaid code blocks and automatically triggers rendering without user input.

⚡ Smart Rendering

High-speed rendering powered by the mermaid.ink service. Delivers crisp PNG diagrams directly in your chat flow.

🔒 Privacy-Focused

We don't store your messages. Diagrams are processed via mermaid.ink; ensure your diagram data doesn't contain sensitive information.

See it in
Action

Technical teams often share architecture designs, but recipients have to copy-paste code into a browser. MerGram removes this friction.

Better Collaboration

Discuss architecture without leaving your Telegram app.

Rich Diagram Support

Flowcharts, Sequence, Gantt, Class diagrams and more.

Interactive Sandbox

How to Use

M
Dev Team Group
MerGram Bot is online
Alex
Check out the new workflow:
```mermaid
graph LR
  Start --> Process --> End
```
MerGram Bot BOT
Rendered Diagram
Rendered with mermaid.ink

1 Auto-Detection

Add the bot to your group and give it permission to read messages. It will automatically catch any message containing ```mermaid blocks.

2 Manual Commands

Use the /mermaid command for quick rendering. Perfect for one-off diagrams or private chats with the bot.

Host Your Own

Docker Installation

docker run -e TELEGRAM__TOKEN=your_token_here ghcr.io/capcom6/mergram-tg-bot:latest

Build from Source

Step 1: Clone

git clone https://github.com/capcom6/mergram-tg-bot.git

Step 2: Install & Run

make deps
make air

Built with Industry Standards

Go Telegram Mermaid Docker