Skip to content

Instantly share code, notes, and snippets.

@stek29
Last active February 7, 2026 10:07
Show Gist options
  • Select an option

  • Save stek29/8a7ac0e673818917525ec4031d77a713 to your computer and use it in GitHub Desktop.

Select an option

Save stek29/8a7ac0e673818917525ec4031d77a713 to your computer and use it in GitHub Desktop.
Extract Telegram messages from db_sqlite PostBox – made for Telegram for macOS, but should work with Telegram for iOS
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@soakes
Copy link

soakes commented Feb 5, 2026

Hey @soakes, that's amazing, thank you for sharing!

Just in case I'd like to clarify that I absolutely do not mind since this gist didn't state any license.

A minor suggestion is not to call the app "Telegram Desktop" since Telegram Desktop is the name of the cross-platform Qt app (named Telegram Lite in App Store for some reason) to avoid confusion — the native Telegram macOS app is different from Telegram Desktop.

Hi @stek29

Great catch!

Will rename it later today.

Any ideas what we shell call it?

In brew its just called telegram, in the app its just called the same.

image image image

Open to suggestions for app name and repo name.

I will also adjust the documentation to make sure its clear which version its for.

Update
I have just made some adjustments, see what you think.
https://github.com/soakes/telegram-message-exporter/pull/4/changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment