| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Ghostgram Desktop is a privacy- and automation-focused fork of Telegram Desktop (tdesktop). It keeps full Telegram functionality and adds a layer of client-side stealth, message recovery, anti-restriction and quality-of-life features — all toggleable from a single Ghostgram settings section.
It is cross-platform (Windows / macOS / Linux). Pre-built binaries for this fork are produced by the GitHub Actions workflow in this repo; you can also build it yourself with the instructions below.
Based on Telegram Desktop. Source is published under GPLv3 with the OpenSSL exception (see LICENSE). Ghostgram is an unofficial fork and is not affiliated with Telegram FZ-LLC.
The macOS build is signed with Developer ID but not notarised — on first launch use right-click → Open (or run xattr -dr com.apple.quarantine Ghostgram.app).
Most features are purely local and never leave your client. A few intentionally change what the Telegram server sees (because that is the point of the feature).
All Ghostgram state is stored locally next to your account data and is never uploaded:
tdata/ghostgram_config.json # all toggles tdata/ghostgram_archive.json # deleted + edited messages tdata/ghostgram_media_archive.json # view-once / ephemeral metadata tdata/ghostgram_media/ # captured view-once / voice / round files
A master toggle that gates the stealth sub-options:
Applied to every outgoing message before it leaves the client:
All of the above live under Settings → Ghostgram.
API credentials (TDESKTOP_API_ID / TDESKTOP_API_HASH) are required to build. Get your own from https://my.telegram.org. Never commit them.
The .exe is produced by .github/workflows/ghostgram-windows.yml. It runs on windows-latest, builds all native dependencies (Qt 6, tg_owt, …), caches them, then builds Ghostgram.exe in Release. Push to the ghostgram branch (or run the workflow manually via workflow_dispatch) and download the Ghostgram-Windows-x64-Release artifact.
Key build flags used by CI:
configure.bat x64 qt6 ^
-D TDESKTOP_API_ID=<id> -D TDESKTOP_API_HASH=<hash> ^
-D CMAKE_CONFIGURATION_TYPES=Release ^
-D DESKTOP_APP_DISABLE_AUTOUPDATE=ON ^
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=ON
cmake --build ..\out --config Release --parallel 2The Xcode project is generated by CMake into out/. Build the native dependencies once (Qt 6.2.13, tg_owt, rnnoise, tde2e), then:
# Regenerate the project after editing CMakeLists.txt:
cd out && cmake .
# Debug:
xcodebuild -project out/Telegram.xcodeproj -target Telegram \
-configuration Debug ONLY_ACTIVE_ARCH=YES -arch arm64
# Release (always pass -arch arm64):
xcodebuild -project out/Telegram.xcodeproj -target Telegram \
-configuration Release ONLY_ACTIVE_ARCH=YES -arch arm64Output is out/Debug/Ghostgram.app or out/Release/Ghostgram.app. New source files must be added to Telegram/CMakeLists.txt and the project regenerated with cmake . — never add files through Xcode's project navigator (the project is fully generated).
The upstream tdesktop build process applies. See upstream's build instructions for the toolchain; the Ghostgram sources live under Telegram/SourceFiles/ghostgram/.
All fork code is isolated under Telegram/SourceFiles/ghostgram/ in namespace Ghostgram, reached through one singleton:
Ghostgram::Manager::Instance().config() // toggles, persisted JSON
Ghostgram::Manager::Instance().ghostMode() // online/typing/read suppression
Ghostgram::Manager::Instance().archive() // deleted + edited messages
Ghostgram::Manager::Instance().mediaArchive() // view-once / ephemeral mediaFeatures integrate by branching on Manager::Instance().config().xxx() directly inside the relevant upstream code path — there is no separate event bus.
Ghostgram Desktop is built on Telegram Desktop by Telegram FZ-LLC and contributors. The original and this fork are licensed under GPLv3 with the OpenSSL exception. This is an independent, unofficial project.
| Back | FazBrowse Home | New Git URL |