镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tgmsgcleaner

Clean up your Telegram presence — delete old messages, reactions, and leave groups you no longer need.

Features

  • Delete your messages from any group, supergroup, or channel
  • Delete your reactions
  • Export messages to plaintext before deleting
  • View messages in a built-in paginated viewer
  • Find channels/supergroups you already left and clean those too
  • Multi-account support
  • FLOOD_WAIT handling — won't get you rate-limited

Install

macOS

brew install anik1ng/tap/tgmsgcleaner

Linux / Windows

Download the binary from Releases, extract, and run in your terminal.

From source

go install github.com/anik1ng/tgmsgcleaner/cmd/tgmsgcleaner@latest

Setup

  1. Get api_id and api_hash at my.telegram.org/apps
  2. Run tgmsgcleaner
  3. Enter credentials and auth code on first run

Config stored in ~/.config/tgmsgcleaner/.

Use --reset to wipe all settings and accounts.

Hotkeys

Key Action
Enter Open action menu for selected group
Tab / Shift+Tab Switch filter
/ Search
l Find left channels
a Add account
s Switch account
? Help
q Quit

About

Clean up your Telegram presence — delete old messages, reactions, and leave groups you no longer need.

Resources

Stars

26 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages