Skip to content
adishxmPublic

About

🎡 The privacy-first Android browser that loves music. Kotlin + Jetpack Compose + GeckoView. Zero telemetry, strict tracker blocking, HTTPS-first β€” and Spotify Web just plays. πŸ›‘οΈ

Topics

Resources

Contributing

Stars

2 stars

Watchers

2 watching

Forks

Latest commit

Β 

History

82 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎡 Musify

The privacy-first, ad-free Android browser engineered for music and the modern web.

Zero telemetry Β· Brave-aligned Shields Β· Anti-freeze Spotify & YouTube Playback Β· Obsidian Design System

License Platform Kotlin UI Engine Tests Author Stars

⬇️ Download APKs Β· ✨ Features Β· πŸ›‘οΈ Privacy & Ad Shields Β· 🎨 Design System Β· πŸ› οΈ Build & Test Β· πŸ—ΊοΈ Phased Roadmap Β· 🀝 Contribute

🏠 Safari Start Page 🎡 Spotify Web Player πŸ“Ί YouTube Music Feed
πŸ› οΈ UI Customization & Themes πŸ”” Background Media Notification πŸ” 10,000x Cryptographic Shredder

Why Musify?

Most mobile browsers harvest telemetry, profile users, inject sponsored newsfeeds, and freeze on web media streaming sites.

Musify is different. It is an independent, general-purpose native Android browser engineered for transparent, measurable privacy and stutter-free media playback. Built with a decoupled dual-engine architecture (GeckoView 135 + Android System WebKit) and the bespoke Obsidian Design System, Musify combines high-performance browsing with specialized, non-destructive content shielding reverse-engineered from Brave Browser's core architecture.


✨ Features

  • πŸ› οΈ Deep UI Customization & Ergonomics β€” Full settings suite allowing users to customize navigation dock placement (Bottom Floating Capsule vs Top Unified Header), toggle smooth auto-hide on downward scroll, inject a 68dp web safe-area clearance buffer to eliminate collisions with web app navbars (Spotify Web, Instagram), and pick between 4 themes (Editorial Obsidian, Safari Frosted Glass, Cyberpunk Emerald, Midnight Amethyst). Proudly branded: "Designed & Engineered by adishxm".
  • πŸ” 10,000x Extreme Cryptographic Private Mode β€” Features the CryptographicShredder engine executing 3-pass DoD 5220.22-M entropy overwrites, memory corruption injection ([CRYPTOGRAPHICALLY_CORRUPTED_0xDEADBEEF_BY_ADISHXM]), zero disk storage, WebStorage purge, and an immediate "⚑ Shred & Panic Wipe RAM Now" action.
  • 🎡 Background Media Audio & System Notifications β€” Full parity with Spotify and YouTube Premium. Audio streams continue playing uninterrupted in the background via MusifyMediaPlaybackService, paired with interactive Play, Pause, and Stop system media notification cards in the Android status bar and drawer, plus Picture-in-Picture (PiP) window hover.
  • πŸ•΅οΈ Zero Telemetry & Zero Data Harvesting β€” No behavioral trackers, no advertising identifiers, no crash analytics beacons, no cloud accounts. All state lives strictly on your device.
  • πŸ›‘οΈ Brave-Aligned Unified Privacy Shields β€” Engine-level filtering targeting ad networks, cross-site trackers, fingerprinters, and cryptominers via UnifiedShieldController.
  • 🎡 Spotify Web & Anti-Freeze Protection β€” Brave-inspired multi-tier content shield, declarative cosmetic ad hiding, and synthetic 200 OK empty JSON mocking for /ad-logic/ without playback interruption.
  • πŸ“Ί YouTube & YouTube Music Ad Defense β€” Player response scrubbing (playerAds, adPlacements, adSlots), cosmetic CSS hiding, and background playback keepalive (_lact timer + Page Visibility API spoofing).
  • ⚑ SABR Protobuf Backoff Interceptor β€” Zero-latency streaming bypass and Protobuf Field 4 (0x20 varint) rewriting for YouTube SABR streams (googlevideo.com?sabr=1), defeating intentional 4–16s buffering freezes.
  • 🎬 VAST & VMAP Video Ad Interception β€” Brave-aligned synthetic XML mock response engine (<VAST version="3.0"/>, <vmap:VMAP .../>), DoubleClick in-stream status stubs (google_ad_status = 1), and silent media buffers (noop-0.1s.mp3), defeating video player stalls across web portals.
  • πŸ›‘οΈ Brave Mock Scriptlet SDKs & Anti-Adblock Defusers β€” Bundles Brave's exact reverse-engineered JavaScript mock SDKs (googletagservices_gpt.js, adsbygoogle.js, amazon_apstag.js, amazon_ads.js, google-analytics_analytics.js) and anti-adblock defusers (nofab.js for FuckAdBlock, nobab2.js for BlockAdBlock, prebid-ads.js), eliminating "Adblocker Detected" warning dialogs and paywall walls without executing tracking scripts.
  • πŸͺ Brave Cookie Notice & Mobile Annoyance Shielding β€” Reverse-engineered from Brave components cdbbhgbmjhfnhnmgeddbliobbofkgdhe and bfpgedeaaibpoidldhjcknekahbikncb. Suppresses GDPR consent walls (OneTrust, Cookiebot, TrustArc, Didomi, Quantcast, Usercentrics) and mobile app download nags ("Open in App", Smart Banners, Reddit PWA sheets), with procedural scroll unfreezing (html, body { overflow: auto !important; position: static !important; }).
  • ⚑ High-Performance Zero-Copy Filter Engine (CompiledFilterIndex) β€” Inspired by Brave's engine0.dat FlatBuffers and adblock-rust. Deploys a 32 KB FastBloomFilter (262,144 bits), a reversed domain suffix Trie, and an inverted token index. Evaluates 1,000 URLs in 9.06 ms (9 microseconds per URL) with an estimated heap footprint under 1.3 MB for 10,000 rules.
  • πŸ’‰ Advanced Procedural DOM Scriptlets (ProceduralScriptletEngine) β€” Ports Brave's set-constant.js, json-prune.js, abort-current-script.js, and prevent-addEventListener.js into WebExtension and WebView dispatch pipelines, freezing anti-adblock variables, deleting ad payloads from JSON responses, neutralizing inline scripts, and preserving continuous background audio/video playback.
  • πŸ”— Bounce Tracking Defuser & Clean URLs β€” Ports Brave's debounce.json and query-filter.json to bypass affiliate redirect hops (dpbolvw.net, howl.me, tkqlhce.com) and strip tracking parameters (fbclid, gclid, msclkid, _gl, mc_eid).
  • 🎨 Editorial New-Tab Home & DM Serif Display Typography β€” Approved editorial dark-mode home screen (01_Home_Dark_Selected.png) combining M6 Exhibition typography with cinematic warmth. DM Serif Display headlines ("Find your sound."), procedural canvas lathe vinyl hero with metallic gold grooves, single address omnibox, 2x2 Bento shortcut cards (Spotify, YouTube Music, YouTube, SoundCloud), and a floating glassmorphic 4-action capsule dock.
  • 🎨 M6 Exhibition Design Language & Curated Media Bento Grid β€” Museum-grade architectural aesthetic inspired by the M6 UX/UI Exhibition. Deep #08080A obsidian canvas, monospaced metadata badges ([M6 // SOUND ARCHIVE], [WIDEVINE // DRM ACTIVE]), floating capsule navigation dock, real-time seismograph telemetry meters, and curated media exhibits (Spotify Web, YouTube Music, YouTube, SoundCloud).
  • 🌐 HTTPS-First & Enforced Strict TLS β€” Automatic HTTPS upgrades with cleartext disabled in the Android Network Security Config. Zero silent SSL overrides.
  • πŸ—‚οΈ Deterministic 20-Tab Architecture β€” Strict memory-capped tab management that lazy-allocates sessions and destroys them upon closure to prevent Android OOM kills.
  • ♻️ Zero-Leak Session Recovery β€” Persists and recovers browsing tabs across process restarts using strictly minimal metadata (UUID, URL, title, timestamp) β€” never DOM trees, form data, cookies, or secrets.
  • ⬇️ Sandboxed Off-Thread Downloads β€” User-confirmed background download management mediated via FileProvider with file-type inspection and executable threat alerts.
  • πŸ“‘ AdGuard DNS Companion Integration β€” System-wide Android Private DNS support cleanly separated from in-page Shields metrics.
  • πŸ§ͺ 249/249 Unit Tests Passing (100% Pass Rate) β€” Fully validated across 36 test suites spanning security, engine isolation, media safety, UI components, and network policy.
  • πŸ†“ 100% Free & Open Source β€” Licensed under Apache 2.0 with completely independent design and branding.

πŸ›‘οΈ Brave-Aligned Privacy & Ad Shielding

1. Spotify Web Player Anti-Freeze Shield

Spotify serves web ads dynamically through internal state machines. Traditional blockers hard-block spclient.wg.spotify.com, triggering anti-adblock detection and putting the player into an infinite "Playback Paused" freeze loop.

  • Anti-Freeze Response Engine: When spclient.wg.spotify.com/ads or /ad-logic is requested, Musify returns a synthetic 200 OK empty JSON payload ({}) with permissive CORS headers.
  • Declarative Cosmetic Ad Hiding: Early injection at document_start suppresses visual ad iframes, companion banners, sponsored playlists, and upsell banners ([data-testid="ad-companion-banner"], [aria-label="Advertisement"], .Root__ads-container).
  • Strict Media Clock & DRM Preservation: Fully preserves HTMLMediaElement clock integrity (no destructive currentTime = 9999 or forced playbackRate = 16.0 hacks), safeguarding Widevine CDM license key exchanges (/widevine-license, /license).

2. YouTube & YouTube Music SABR Protocol Defense

When ad blockers suppress YouTube commercial videos, the YouTube streaming server responds within the SABR (Server Adaptive Bitrate) protocol with an enforced delay parameter (backoffTimeMs), causing a 4–16 second buffering freeze.

  • Stream Teeing: Intercepts googlevideo.com requests containing sabr=1, streaming large media chunks (>= 1000 bytes) untouched to eliminate latency.
  • In-Place Protobuf Varint Rewriting: Inspects control chunks for Protobuf Field 4 (tag 0x20 varint backoffTimeMs) and rewrites delays exceeding 500ms to small randomized values (50–150ms) using continuation bits without altering byte length.
  • Player Response Pruning: Intercepts initial payload processing to force playerAds, adPlacements, and adSlots to undefined.
  • Background Playback Engine: Spoofs the Page Visibility API (hidden = false, visibilityState = 'visible') and refreshes window._lact every 5 minutes to prevent idle pause timeouts.

3. Bounce Tracking Defuser & Clean URLs

  • Bounce Hop Bypass: Port of Brave's debounce.json detects intermediate tracker domains (dpbolvw.net, tkqlhce.com, howl.me, avantlink.com) and resolves straight to the embedded destination URL before any tracking cookies are planted.
  • Tracking Parameter Stripper: Strips invasive surveillance tokens (fbclid, gclid, msclkid, _gl, mc_eid, __cft__, ascsubtag, ved) while preserving functional parameters (v=, q=, t=).

🎨 Obsidian Design System

Musify features a crafted dark aesthetic built on Jetpack Compose and typography from Google Fonts Inter:

  • Entry Launch Screen: Clean #242424 launch surface with two-line typography, creator attribution, and single-tap entry.
  • MusifyActionBar: Floating bottom pill toolbar with smooth expansion, glassmorphism surface, Omnibar address field, and one-tap shield status.
  • 14-Action Grid Panel: Quick-access modal grid for New Tab, Private Browsing, Downloads, History, Bookmarks, Desktop Mode, Refresh, Find in Page, Share, DNS Settings, and Privacy Diagnostics.
  • Iridescent Glow Button (MusifyGlowButton): Dynamic sweep gradient button with interactive border illumination.
  • Custom Iconography: 44 monochrome vector drawables tailored for high-density Android displays.

⬇️ Download

All release APKs are compiled with release optimizations, signed, and verified with Android SDK apksigner (v2 & v3 schemes).

Release Variant Artifact File File Size Engine Architecture SHA-256 Checksum Best Used For
Musify (Universal Release) Musify.apk 10.25 MB System WebKit / Android WebView (WebViewAdapter) B17C75CCD9F5B4C3D7020A005804FB515484CA4E19487248628199624EC5B3E3 Recommended for most users. Ultra-fast install, 36X smaller download, full ad-shielding.
Musify-Lite (Featherweight) Musify-Lite.apk 10.25 MB System WebKit (BUILD_LITE=true) B17C75CCD9F5B4C3D7020A005804FB515484CA4E19487248628199624EC5B3E3 Minimal storage and memory footprint with zero bundled native binaries.
Musify-ARM64 (GeckoView Engine) Musify-ARM64.apk 89.90 MB Mozilla GeckoView 135 (arm64-v8a compressed) CF43AF2A3E1AD8E430611860B60A43BE5E887776A12AB790F5197FC22B2A6601 Modern 64-bit devices requiring full Mozilla Gecko engine and hardware Widevine DRM CDM.

Requirements: Android 8.0 (API 26) or higher. Sideload the APK and launch immediately β€” no account, sign-in, or setup required.


πŸ—οΈ Tech Stack

Layer Technology
Language Kotlin 2.0.21
UI Framework Jetpack Compose (Material 3 BOM 2024.10.01, Edge-to-Edge)
Design System Musify Obsidian Design Tokens (#242424 Surface, Inter Variable Typography)
Engines Decoupled EngineAdapter β†’ GeckoView 135 (Primary) & AndroidX WebKit 1.12.1 (Fallback/Lite)
Ad Blocker Brave-Aligned Unified Shield (UnifiedShieldController + SABR Interceptor + Anti-Freeze Mocking + Debouncing)
Build System Gradle 8.13 (Kotlin DSL) + Android Gradle Plugin 8.13.2
Target / Min SDK Android 15 (API 35) / Android 8.0 (API 26)
JVM Target Java 17 / 21

πŸ› οΈ Building & Testing

Prerequisites

  • Android Studio Ladybug / Meerkat or command-line SDK tools.
  • Android SDK 35 & Build-Tools 35.0.0+.
  • JDK 17 or 21.

Build Commands

# Run the complete test suite (266 unit tests across 38 test suites)
./gradlew testDebugUnitTest

# Assemble Featherweight / Universal Release APK (10.25 MB)
./gradlew assembleRelease -PBUILD_LITE=true

# Assemble Compressed GeckoView ARM64 Release APK (89.90 MB)
./gradlew assembleRelease -PTARGET_ABI=arm64-v8a

# Install to connected device or emulator
./gradlew installDebug

πŸ—ΊοΈ Roadmap

Musify is developed through an evidence-based, test-gated phase plan. Every completed phase includes a detailed technical report in .brain/.report/:

Phase Milestone Scope Status Verification Report
00–02 Foundation, GeckoView feasibility spike, and single-tab browser shell βœ… PASS PHASE-00 Β· PHASE-01 Β· PHASE-02
03–04 Multi-tab architecture, session recovery, browsing history & bookmarks βœ… PASS PHASE-03 Β· PHASE-04
05–06 Privacy Shields, engine content blocking & filter-list pipeline βœ… PASS PHASE-05 Β· PHASE-06
07–08 Sandboxed downloads, permission gating & memory profiling hardening βœ… PASS PHASE-07 Β· PHASE-08
09–11 Beta distribution readiness, desktop content mode & capability transparency βœ… PASS PHASE-09 Β· PHASE-10 Β· PHASE-11
12–14 Media-safe script sanitization, engine policy isolation & real-device validation βœ… PASS PHASE-12 Β· PHASE-13 Β· PHASE-14
15–17 Obsidian design tokens, Inter typography, browser chrome & security sheets βœ… PASS PHASE-15 Β· PHASE-16 Β· PHASE-17
18–20 Monochrome screen redesign, floating action bar & minimalist entry launch βœ… PASS PHASE-18 Β· PHASE-19 Β· PHASE-20
21 Brave-aligned Spotify ad-shielding & non-destructive content scripting βœ… PASS PHASE-21
22 Spotify network shield harmonization, anti-freeze mocking & packaging βœ… PASS PHASE-22
23 GeckoView WebExtension network interception & main-world anti-adblock immunity βœ… PASS PHASE-23
24 Brave-aligned YouTube & YouTube Music ad shield & background playback engine βœ… PASS PHASE-24
25 SABR Protobuf streaming interceptor & video backoff defense βœ… PASS PHASE-25
26 Universal tracking parameter sanitizer & bounce tracker defuser (clean URLs) βœ… PASS PHASE-26
27 Universal privacy shields harmonization & multi-variant release assembly βœ… PASS PHASE-27
28 M6 Exhibition UI/UX redesign, curated media bento grid & release packaging βœ… PASS PHASE-28
29 VAST & VMAP video ad interception, DoubleClick in-stream status mocks & silent media noops βœ… PASS PHASE-29
30 Brave mock scriptlet SDKs (gpt.js, adsbygoogle.js, apstag.js) & anti-adblock defusers (nofab.js, nobab2.js) βœ… PASS PHASE-30
31 Brave cookie notice blocker, mobile app promo blocker & procedural body unfreezing βœ… PASS PHASE-31
32 Zero-copy Bloom filter, reversed domain trie & token inverted index (CompiledFilterIndex) βœ… PASS PHASE-32
33 Procedural DOM scriptlets (set-constant, json-prune, abort-current-script, prevent-addEventListener) βœ… PASS PHASE-33
34 Editorial dark-mode home screen (01_Home_Dark_Selected.png), DM Serif Display & lathe vinyl hero βœ… PASS PHASE-34
35 Apple Safari-inspired bottom tab bar, start page, format sheet & tab switcher overview βœ… PASS PHASE-35
36 Universal Apple Safari & Editorial Dark overhaul across all screens (Welcome, Downloads, History, Settings) βœ… PASS PHASE-36
37 Full UI Customization, 10,000x Cryptographic Shredder, Background Media Notification & SPA Blackout Resolution βœ… PASS PHASE-37
LIVE Live Android emulator verification across real Brave-shielded websites βœ… PASS LIVE-REPORT

🀝 Contributing

Contributions, feedback, and issue reports are always welcome!

  • Encountered unexpected ad rendering or broken layout on a site?
  • Have an idea for performance or battery efficiency?

Feel free to open an issue or pull request. Please see CONTRIBUTING.md for contribution guidelines.


πŸ“„ License

This project is licensed under the Apache License 2.0 β€” free to use, inspect, fork, and distribute.

About

🎡 The privacy-first Android browser that loves music. Kotlin + Jetpack Compose + GeckoView. Zero telemetry, strict tracker blocking, HTTPS-first β€” and Spotify Web just plays. πŸ›‘οΈ

Topics

Resources

Contributing

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages