GramSieve

Verified safeOpen source
No reviews reviews
11
downloads
13
android

AI summary

LSPosed module for Telegram with local message filtering, anti-recall, anti-edit, edit-history viewing, and original media preview. All filtering stays on device; global and per-chat rules. Settings live inside Telegram. Open source under GPL-3.0.

Generated by AI. May contain inaccuracies.

About this app

An LSPosed module for local Telegram enhancements, including message filtering, host-settings integration, browsing position redirection, anti-recall, anti-edit/edit interception, multi-version edit-history viewing, and original media preview.

Local-only filtering — all filtering happens on-device; no network requests, no data leaves your phone

Global + per-chat rules — set broad filters globally, then override or exclude specific chats

Rich match targets — message text, media captions, inline button labels/URLs, sender names/IDs, chat names/IDs

Whitelist wins first — exclusion rules always override filter rules; use them for admins, notices, or trusted contacts

Three filter actions — hide locally, collapse locally, or debug-mark (for testing)

Fully host-native settings — provides no standalone app UI; global and per-chat settings live inside Telegram, follow the host theme, and apply immediately after saving

Mark & jump — tap a message to mark its position, jump back anytime from the menu; marks are per-chat

Browse position memory — automatically tracks scroll position, one-tap jump to last viewed message

Download page select all — select all loaded download items at once in Telegram's download manager

Anti-recall & anti-edit — proactively loads messages in the background and when push updates arrive, combining delete-path interception and local-storage marking to preserve recalled or edited content where possible

Multi-version edit history — stores edit history by version and recovers edits that arrive through Telegram local history-sync writes while the device was offline

Edit-history media viewer — open original pre-edit content from the message popup; original images prefer Telegram's official PhotoViewer and official save flow

Persistent diagnostics — runtime logs are written to app-specific external storage instead of relying on overflow-prone logcat buffers

Bilingual UI — English and Simplified Chinese, with system-follow option

GramSieve is released under the GNU General Public License v3.0 or later (GPL-3.0-or-later). You may copy, modify, and distribute this project, but modified versions and binary distributions must follow the GPL-3.0-or-later requirements for source availability, license preservation, and same-license distribution. See LICENSE for the full license text.

What's new

v0.1.4Jul 26, 2026
  • Added
  • Added a Telegram history-loading adapter that isolates GramSieve proactive loads from Telegram chat pagination, scrolling, and jump requests while safely constructing arguments for the active overload. Added straightforward download control so downloads follow your intent: after you cancel, Telegram cannot restart the download automatically; after you tap Download, Telegram cannot stop it on its own, and internal interruptions resume automatically. Added reliable video download management across regular file loading, stream loading, internal queue creation, and download-progress notifications; interrupted or stalled downloads recover automatically with backoff. Added explicit cancellation tracking: after the user taps X on a download, automatic retries, player cleanup, and hidden loading paths cannot restart that file. Only a new user-initiated download clears the hard stop. Made configuration fully host-native: global settings now live in Telegram Settings, chat settings live in the top-right chat menu, and the standalone app UI plus Full Settings fallback are removed. The host panel now follows Telegram theme colors, handles system bars, and saves global rules, chat rules, and proactive-loading configuration directly inside Telegram with immediate effect.
  • Fixed And Improved
  • Fixed proactive loading sharing request state with Telegram pagination, which could overwrite offsets, duplicate callbacks, or select an incompatible overload; Telegram 12.9.x compatibility is improved. Fixed video downloads rebounding after an explicit X through playback, FileLoader queue, or player-cleanup paths while preserving manual restart. Fixed persistence union-merging old and new rules and resurrecting deleted entries; persistence now selects the newest complete snapshot, with the newly saved host snapshot winning equal timestamps. Empty configuration broadcasts and persistence requests are now ignored instead of risking an overwrite. Fixed the host settings panel requiring the top-left Back button; the system Back button and edge-back gesture now close GramSieve first and remain on the underlying Telegram page. Fixed system-back callbacks potentially surviving panel close, replacement, or host-window teardown. Proactive Loading and Cleanup Mode menu labels no longer append chat IDs, while their per-chat behavior is unchanged. Removed the standalone configuration Activity, launcher entry, obsolete dialog themes, and module-activity fallback so configuration no longer crosses between Telegram and a separate app. Updated the save confirmation to state that changes are saved and immediately applied, and refreshed the bilingual README entry-point and persistence documentation. Engineering, Tests, And Release Added TelegramHistoryApiAdapter, ReliableVideoDownloadManager, ReliableDownloadState, and DownloadCancellationRegistry, separating background-history and download-reliability responsibilities from the main hook orchestrator. Added and expanded JVM regression coverage for background loading, Telegram history API adaptation, explicit cancellation, reliable download state, and complete configuration snapshots. Completed testDebugUnitTest, assembleDebug, lintDebug, and Release build checks, with Telegram 12.9.x device verification for host settings, system Back, and download hook paths. Updated the app to versionName 0.1.4 and versionCode 5.

About this version

Version
0.1.4 (5)
Size
11.4 MB
Requires Android
13
Target SDK
33
Architecture
universal
Downloads
11
Updated
Jul 26, 2026
Package
com.tianqianguai.gramsieve

Similar apps

Ratings & reviews

0 ratings
  • 5
    0
  • 4
    0
  • 3
    0
  • 2
    0
  • 1
    0

Write a review

Tap a star to rate this app