Aftergram
Latest release macOS, Windows and Linux →

For Telegram · macOS, Windows, Linux

Deleted messages don’t vanish anymore.

Aftergram keeps a private log of your Telegram on your computer. When someone deletes or edits a message, the original stays here — with when it was sent, when it disappeared and what it said before.

Free forever for one account · Pro 20 USDT once · 7-day Pro trial included

DK Dan K. · Telegram
ok, I’ll send the contract tonight
and the price stays $1,500, as we agreed
actually forget what I said about the price 🙃
Dan can delete this for everyone.
Aftergram · the same chat, kept
DK Dan K. · Private chat actually forget what I said about the price 🙃 Saved · still in the chat
S Sam · Private chat sent you $1,500, check it Edited 2× · was “sent you $15,000”

The app

Your chats, with nothing missing.

A calm log that lives in the menu bar or system tray. Private chats and groups side by side, deletions in ember, edits in lavender, replies quoted the way Telegram shows them, and every version one click away.

Aftergram's main window: an account switcher and chats on the left, a feed with a deleted reply quoting 'so what's the story with Alex?', edited and deleted tags, and the selected message on the right.

Sample data throughout this page. Aftergram shows your own chats once you sign in.

What it keeps

Everything Telegram lets people take back.

And the context around it: who said what, to what, and what it said before.

Deleted at 14:31 · after 43s

Deleted messages

Text, sender, chat and exact times — even for messages that lived a few seconds. A whole cleared chat is one calm notification, not fifty.

original → 2 edits

Every edit

The first version and each change after it, with timestamps. “$15,000” quietly becoming “$1,500” no longer goes unnoticed.

↩ You · so what’s the story?

What they replied to

Each reply keeps a quote of the message it answered — including your own — so a deleted “forget it” still makes sense a week later.

Voice message · 0:18

Photos, voice, video

Media up to 20 MB is saved the moment it arrives, so a deleted photo or voice note is still playable.

View-once photo

View-once media, if you choose

Off by default. Turn it on and view-once photos, videos and voice notes are saved on arrival — unopened in Telegram, nothing sent to the sender.

Private · Groups

Your rules per chat

Choose what to record per chat: media, deletions, edits, notifications. Stop logging a noisy group, clear a chat and keep going, or delete one saved message with its edits and files. Nothing changes in Telegram.

🔒 Hidden · 2

Hidden chats

Keep some chats out of the list, the feed, search and notifications — still logged, behind an optional password. Closing the window locks them again.

All accounts · 10

Many accounts, one log

Personal and work Telegram side by side. One switcher shows every account’s connection and count, with search once the list grows.

“dan” · “contract”

Search and filters

Find anything across text, names, chats and @usernames — in any alphabet — or narrow the feed to deleted, edited or media.

.txt · .json

Export

Save a chat, an account or everything as readable text or JSON — deletions, replies and edit history included.

Listening · 2 accounts

Runs in the background

An optional background service keeps listening with the window closed, starts at login and, on macOS and Linux, restarts itself. The window just shows what it collects.

postgres://…

Your own Postgres

Mirror the log into a database you run, within seconds, for scripts and dashboards. Your computer stays the source; nothing goes anywhere else.

Edit history

See what it said before.

Pick any edited message and Aftergram lists the original and every later version, struck through in order. Search works across all of it — in any language.

S Sam · Private chat Click the message
2,075 messages kept in 8 chats

Any password works in this demo.

Accounts, search, hidden chats

Two accounts or ten, one line.

Switch between accounts or read them all together. Each shows whether it’s connected and how much it has kept; add another without leaving the log.

Search filters as you type, by name or @username. Hidden chats stay out of the list until you unlock them. Try it on the left.

Per chat

Your rules, chat by chat.

One panel per chat: what to record there, whether it notifies you, hide it from the list, clear what was saved or stop logging it. Everything else follows your defaults.

DK Logging in Dan K. @dan_k · Private chat · 212 saved
What to record

Using the defaults for private chats.

Chat
Hide from the listKeeps logging; shown only under Hidden chats.
Danger zone
Clear saved messages212 messages and media, from this computer only.
Stop loggingIgnore new messages here. Resume in Settings.

For power users

A service, a command line, and your database.

Aftergram doesn’t need its window. Run it as a background service, drive it from Terminal, and copy everything into Postgres for your own tools.

# background: starts at login, restarts itself
aftergram service install
aftergram status
Service: running (pid 4242)
  Jack          listening since 09:12
  Jack · work   listening since 09:12
Postgres: up to date, last sync 3 s ago

# what's in the log
aftergram chats

# copy it all to your Postgres (Pro)
aftergram db set postgres://me@db:5432/aftergram
RecordingDefaults for every chat. Any chat can differ via Chat settings.
PrivateGroups Mediaphotos, voice, video, files Deletionsmark what disappears Editskeep every version Notificationswhen something is deleted
Keep regular messages forDeleted and edited ones are kept forever.
Save view-once mediaSaved on arrival, stays unopened in Telegram. Off by default.
Hidden chatsStill logged, kept out of the list, feed, search and notifications.
2 hidden chatsShown only when opened with the password.
Password is onAsked every time you open hidden chats.
Not logged
FLFlat 42 · noiseJack · new messages are ignored
BackgroundHow Aftergram keeps listening while you’re not looking.
Background serviceListens without the window, starts at login, restarts itself.Running · pid 4242
aftergram status · aftergram logs
Open at loginAftergram starts in the menu bar, without a window.
Keep the computer awakeA sleeping computer can’t receive messages.
AccountsSigning out keeps that account’s messages on this computer.
JJackConnected · 871 kept
JWJack · workConnected · 1,204 kept
2 of 10 on Pro
Data & PostgresEverything stays on this computer unless you copy it to your own database.
On this computer · 391 MB~/Library/Application Support/app.aftergram.mac Messages 286 MB   Media 105 MB
Postgres copyEvery message in your own Postgres, for scripts and dashboards.Up to date · 5 s ago
postgres://me@db:5432/aftergram
PlanYour key is checked on this computer, never online.
Aftergram ProLicensed to jack@example.com · free updates for 1.x
IncludedUp to 10 accounts · history up to 10 years · media and view-once · per-chat settings · export · Postgres copy

Background service

A launchd agent on macOS, a systemd user service on Linux, a login entry on Windows. It listens without the window and reports its state to the app and aftergram status. Start a stopped service in the app, retry a launch error, or collect messages in the open window instead.

Command line

Sign in, check accounts, list chats with their deletions and edits, read the log — all from a terminal. Handy over SSH to a Mac mini or a Linux box.

Postgres copy

Messages, edits, deletions and replies land in plain tables within seconds. Offline? Changes queue up and catch up. Query it, graph it, back it up.

Command reference · Postgres schema and queries

Setup

Two minutes, once.

  1. Get your keys

    Telegram gives every app its own api_id and api_hash at my.telegram.org. Aftergram walks you through it.

  2. Sign in

    Your number, the code Telegram sends you, and your cloud password if you use one. Aftergram appears in your sessions as “Aftergram · Mac”, “· Windows” or “· Linux”.

  3. Forget about it

    Aftergram sits in the menu bar or system tray, or runs as a background service with no window at all. When something disappears, you’ll know.

Privacy

Your log never leaves your computer.

There is no Aftergram server. Nothing to breach, nothing to subpoena, nothing we could read even if we wanted to.

How Aftergram handles your data

  • Messages, media and your Telegram session are stored in your user folder — ~/Library/Application Support on macOS, ~/.local/share on Linux (readable only by your account), %APPDATA% on Windows.
  • No analytics, no tracking, no account with us. Update checks request only the public release manifest; they do not send your chats or account data.
  • Your Pro key is checked on your computer — no phoning home.
  • Aftergram only reads. It never sends, marks as read or opens anything in Telegram.
  • The Postgres copy goes only to a server you set up — Aftergram has none of its own.

What it can’t do — honestly

  • It works while your computer is awake. Aftergram can keep it from dozing off; a message sent and deleted while it slept can’t be recovered.
  • Secret chats stay out of reach, as Telegram intends. View-once media is saved only if you turn it on, and only if it arrives before anyone opens it.
  • Telegram doesn’t say who deleted a message, so Aftergram doesn’t guess.
  • Channels are not logged — only private chats and groups.

Pricing

Free catches the deletions. Pro keeps everything.

Every download starts with 7 days of Pro. After that, Free keeps working for as long as you like.

Pay 20 USDT through Crypto Bot. Your personal license key appears in Telegram after payment.

Free
$0
  • Deleted and edited messages
  • Replies with the message they answered
  • One Telegram account
  • Regular messages for 7 days
  • Hidden chats, search, notifications
  • Background service and command line
Download
Pro one-time
20 USDTonce, all your computers
  • Everything in Free
  • Up to 10 Telegram accounts
  • Regular messages up to 10 years; deleted and edited messages kept forever
  • Photos, voice, video, files — and view-once media if you want it
  • Per-chat settings
  • Export to text, JSON and a workspace ZIP
  • Copy to your own Postgres
  • Free updates for Aftergram 1.x
Buy Pro →
CompareFreePro
Deleted and edited messages, replies✓✓
Telegram accounts1up to 10
Regular messages kept7 daysup to 10 years
Deleted and edited messages keptforeverforever
Photos, voice, video and files—✓
View-once media (opt-in)—✓
Per-chat settings—✓
Export to .txt/.json and workspace ZIP—✓
Postgres copy—✓
Hidden chats, search, notifications✓✓
Background service and CLI✓✓

In Aftergram 1.9.0, 1.10.0, 1.10.1, 1.11.0, 1.12.0 and 1.13.0

More context, with the same local log.

Sign in with a QR code

Instead of the phone number you can choose Sign in with a QR code. Aftergram draws the code on your screen and you scan it with a phone that is already signed in to Telegram. The code is replaced when it expires, and two-step verification asks for the cloud password afterwards; Aftergram 1.13.0 completes that sign-in instead of stopping at the request. The code is drawn on the device; the sign-in link behind it is never written to the log, the settings or an export.

A new account is collected right away

After an update of Aftergram the app replaces a background service that still runs the previous build, so an account you just signed in with is collected from then on. The service keeps the accounts it loaded when it started, and it takes a new one as soon as it runs the current code.

Settings, grouped by what each part decides

The settings window lists its sections in groups instead of one flat column: Capture for what is recorded, Accounts & service for who is signed in and how Aftergram keeps listening, Intelligence for the local analysis, Storage for your saved data and the optional Postgres copy, and Subscription for the plan.

Contact dossiers and a synced address book

Aftergram adds contact cards, observed profile snapshots, incoming/outgoing activity filters, and saved Telegram contacts without retained messages. Sync uses the account’s existing Telegram session. Links and email mentions open their exact local source; wallet-shaped text is labelled as a candidate, not verified ownership.

A persistent attachment download queue

A durable Downloads queue keeps pending transfers across restarts, shows progress and retry reasons, respects Telegram cooldowns and lets you set a per-file limit (20 MiB by default, up to 512 MiB). Pro, chat Media and explicit view-once choices still apply. Existing retention rules are unchanged.

Local AI suggestions with their source

A private contact’s Facts & promises tab can analyze up to 100 eligible saved texts with an installed local Ollama language model. Completed and active unchanged sources are skipped so repeated batches can reach older history. Results include source quotes; promises retain direction and exact source history. Confirm, correct or reject suggestions; confirmed dated promises can receive generic reminders after opt-in. A separate default-off local option can analyze future eligible live private text only; saved history, backfills and imports are not swept. No model downloads.

Optional cloud AI with a preview before sending

OpenRouter and Ollama Cloud are available under Settings → AI analysis. Keys stay in the system credential store. Each batch shows its exact selected texts, provider and model before a separate consent checkbox enables sending. Retries remain tied to those sources; changing settings cancels old cloud work. Local Ollama remains the default. ChatGPT subscription access is blocked pending private-client approval.

Choose the Telegram history you save

Select 1–20 private contacts in one account, choose local calendar dates, review a count and queue that exact history import. Pause, resume and cancel preserve saved pages and Telegram cooldowns. Media and optional local analysis start off. This cannot recover messages Telegram no longer returns; existing retention still applies.

Local speech, image text and Words / Meaning search

Recognize saved speech with locally installed FFmpeg and whisper.cpp, and image text with Tesseract. Manual requests and separate, default-off automatic recognition keep generated text apart from captions. Words includes verified current media text; optional Meaning uses local Ollama embeddings, shows partial coverage or a Words fallback and opens exact saved evidence. Indexing starts off. No tools or models are downloaded.

Promises & reminders across contacts

Contacts includes a paged cross-contact board for current promises, review states, due dates and snoozes. Shared mentions are bounded matches between incoming saved text from distinct contacts, not proof of a relationship or ownership. Every result opens its exact local evidence.

What requires an external setup?

ChatGPT subscription access needs private-client registration and is not included. OpenRouter and Ollama Cloud use your own provider key and may incur provider charges. Windows background-service reminder delivery needs native Windows verification. A shared mention is evidence of matching saved text, not proof of a relationship or ownership.

How do I back up a workspace?

Settings → Data creates a sanitized, unencrypted ZIP when your Pro trial or Pro license permits export. Close Aftergram and run aftergram restore <backup.zip> <empty-folder>; open it with aftergram --archive-dir <folder>. Restore never overwrites a nonempty workspace and opens without Telegram sessions. See the documentation for exclusions and limits. Public release metadata follows GitHub separately.

Questions

Before you download.

Will the other person know I use Aftergram?

No. Aftergram is another session of your own account, like Telegram on a second computer. Telegram messages go to Telegram as part of the signed-in session. Aftergram sends selected message text to a cloud AI provider only when you review a batch and explicitly consent; other processing stays on your device.

Is it safe for my Telegram account?

Aftergram signs in through Telegram’s official API and only reads — it sends nothing and automates nothing, which is what Telegram’s anti-spam rules watch for. It is still a third-party app, so use it at your own discretion.

Why do I need my own api_id?

Telegram asks every app to use its own keys. Yours take a minute to create at my.telegram.org, stay on your computer, and keep Aftergram independent of anyone else’s keys.

Does it work when my computer is asleep?

No app does. Aftergram can stop your computer from going to sleep on its own (on a Mac, while it charges); after sleep it reconnects by itself and fetches what arrived meanwhile. A message both sent and deleted during sleep is the one thing it can’t catch.

Can it recover messages deleted before I installed it?

No — Telegram doesn’t keep them. On first sign-in Aftergram saves the recent history of your latest chats, so anything deleted from then on is kept.

Does saving view-once media tell the sender?

No. Aftergram downloads the file without opening the message, so it stays unopened in Telegram and you can still view it there once. It’s off by default: Telegram asks apps to respect view-once, so whether to keep them is your call.

What does the Postgres copy contain?

Every stored message with its chat, sender, times, deletion mark, reply quote and full edit history, in two plain tables. Media files stay on your computer; their local path is copied. Aftergram only writes to the database you point it at. Schema and example queries.

Do I have to keep the window open?

No. Turn on the background service in Settings (or run aftergram service install) and Aftergram keeps listening with the window closed, from login onward.

Is there a Windows version?

Yes. Aftergram runs on Windows 10 and 11 (x64), on Linux x86_64 (.deb for Debian and Ubuntu, .rpm for Fedora and openSUSE) and on macOS 13 Ventura or later on Apple silicon. The Windows build isn’t code-signed yet, so SmartScreen may warn: choose More info → Run anyway.

Latest release · for macOS, Windows and Linux

What’s left after they delete it.

Release version has not been verified on this page. Download links remain available.

Installer version is available in the download manifest.

Includes 7 days of Pro. No account, no email, no card. Read the docs.

Get in touch

Contacts

Questions, bug reports or ideas — write wherever is easiest. I read everything.

Telegram @skensel
Lifetime Pro · 20 USDT

Get Aftergram Pro.

Pay with USDT in Crypto Bot. Your license key will appear in Telegram after payment.

This email labels your license. No email is sent; save the key from Crypto Bot. It unlocks Pro in Aftergram on your computers.

One-time payment. Download and try the app free before buying. License details.