Skip to content

Instantly share code, notes, and snippets.

@stek29
Last active April 17, 2025 21:28
Show Gist options
  • Save stek29/8a7ac0e673818917525ec4031d77a713 to your computer and use it in GitHub Desktop.
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.
@TrikzMe
Copy link

TrikzMe commented Mar 21, 2025

...

Just looking for initial setup guidance.

Hi, You better install Python (v3.10x or later), copy the code parts within a .PY file, edit this line "con = sqlite3.connect('plaintext.db')" to match the path of the db_sqlite file and execute the .PY with Python.

@pauloneves
Copy link

pauloneves commented Apr 8, 2025

How to get the Sqlite DB file from an Android phone or Windows desktop computer? I searched a lot, but can't find them.

I'm stuck in the fist step of the problem 🤷

@stek29
Copy link
Author

stek29 commented Apr 8, 2025

@pauloneves this is for iOS/macOS apps only, other apps are completely different

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