👻 GhostShare
System-level privacy shield that strips tracking parameters from copied links in real-time.
✨ Overview
GhostShare is an ultra-lightweight, battery-friendly LSPosed module hooked directly into system_server. It automatically monitors clipboard operations and cleans telemetry, affiliate, and analytical tracking tags from URLs without breaking essential parameters or requiring root background services.
🚀 Key Features
-
Zero Overhead (
$O(N)$ fast-path): Bypasses non-URL clips instantly; zero battery drain and immune to ReDoS. -
Deep System Hook: Runs securely inside
system_serverwith zero memory leaks (ThreadLocalsanitation). - Silent & Non-intrusive: 5-second silent notification with an instant Undo button.
-
Preserves Media States: Retains crucial parameters like YouTube timestamps (
t=,start=) and playlist indexes. - Material You (Dynamic Colors): Follows system palette, dark/light themes, and edge-to-edge aesthetics.
- Per-app settings: Enable per-app cleans links only for the apps you choose, Bypass Mode never touches links copied from the apps you choose.
-
My Parameters: the tracking-parameter list is data, not code. See, add and remove parameters (a trailing
*matches a prefix) or restore the defaults. - Excluded websites: links from the websites you add (subdomains included) are never changed.
- JSON backup: export and import your parameters and exceptions through the system file picker, with overwrite or merge on import.
-
Redirect links: unwraps wrapper links (
l.facebook.com,google.com/url,youtube.com/redirect,out.reddit.com, ...) to the real destination. - Live changes: every change is applied immediately, no reboot needed (after the first reboot that loads the updated module).
🌐 Supported Platforms
- Instagram & Threads: every query parameter and the URL fragment are removed, except the functional ones (
img_index,story_media_id,next,q) - YouTube & YouTube Music:
si,feature, timestamp preserved - X (Twitter):
s,t,ref_src - TikTok & Google Analytics:
_r,_t,gclid,fbclid - Reddit & Pinterest
- Spotify & SoundCloud
📥 Installation
- Install LSPosed Framework.
- Download and install the latest
GhostShare.apkfrom Releases. - Enable GhostShare in LSPosed Manager (Target:
System Framework/system_server). - Reboot your phone or soft-restart the framework.
📄 License
Copyright (C) 2026 BS1388. Licensed under the GNU GPLv3.
Developed by BS1388
