Skip to content

About

System-level privacy shield & LSPosed module to strip tracking parameters from copied URLs in real-time.

Topics

Resources

Stars

13 stars

Watchers

0 watching

Forks

Latest commit

 

History

32 Commits

Folders and files

Repository files navigation

GhostShare Logo

👻 GhostShare
System-level privacy shield that strips tracking parameters from copied links in real-time.

Android LSPosed Material 3 License


✨ 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_server with zero memory leaks (ThreadLocal sanitation).
  • 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

  1. Install LSPosed Framework.
  2. Download and install the latest GhostShare.apk from Releases.
  3. Enable GhostShare in LSPosed Manager (Target: System Framework / system_server).
  4. Reboot your phone or soft-restart the framework.

📄 License

Copyright (C) 2026 BS1388. Licensed under the GNU GPLv3.


Developed by BS1388

About

System-level privacy shield & LSPosed module to strip tracking parameters from copied URLs in real-time.

Topics

Resources

Stars

13 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages