Back to all projects

Developer tool Available

tg-manager

Local developer tool for structuring Telegram Saved Messages. Indexes accumulated notes and links, organizes with tags, identifies duplicate forwards, exports clean Markdown into Obsidian and Wiki vaults, and stages safe cleanup with mandatory local backups. Includes an embedded Model Context Protocol (MCP) server over stdio for compatible AI clients.

Local CLI utility & MCP protocol

tg-manager operates as a local CLI tool and local stdio MCP server, not a public Telegram bot. It does not dispatch personal messages to third-party endpoints; integration with AI assistants (Claude, Cursor, Antigravity) runs strictly through local process pipes. Note: secrets scanning is heuristic and serves as an advisory check.

purpose

Problem & Purpose

Telegram Saved Messages easily becomes a cluttered archive of disparate notes. tg-manager converts it into an indexed knowledge base with tag search, Obsidian export, and AI assistant connectivity via local MCP.

audience

Target Audience

Developers, researchers, and power users who store research links, code snippets, and ideas in Telegram Saved Messages.

capabilities

Key Features & Capabilities

01

Rich CLI experience built with Typer and Rich formatting

02

Fast local indexing and full-text search across Saved Messages

03

Tagging taxonomy and thematic note categorization

04

Duplicate forward and repeated link detection

05

Export pipeline to Markdown vaults compatible with Obsidian and Wiki engines

06

Safe deletion staging with automated pre-delete backups

07

Heuristic analysis for accidentally saved credentials and API tokens

08

Built-in MCP server over stdio for read-safe AI client integration

interface

Screenshots & Demonstrations

Demonstration material based on synthetic test data without real personal info.

architecture

Verified Tech Stack

CLI & Core

Python 3.11+TyperRichPydantic Settings

Telegram & AI Protocol

Telethon (MTProto API)Model Context Protocol (MCP SDK)

Testing & Automation

pytestRuffGitHub Actions
responsibilities

Role & Contribution

Solo project: created CLI architecture, Telethon client interactions, MCP stdio server handlers, and unit tests.