Blog / ยท GH-Proxy Team

HGhub: The High-Performance Open-Source Short Drama Player Built on Rust & Tauri 2

#Open Source #Rust #Tauri 2 #HGhub #Video Player #Cross-Platform #HLS Streaming #GitHubProxy

HGhub: The High-Performance Open-Source Short Drama Player Built on Rust & Tauri 2

In recent years, vertical short dramas (micro-series) have exploded in popularity worldwide, captivating audiences with fast-paced storytelling, dramatic cliffhangers, and bite-sized entertainment. However, conventional commercial short drama applications are notorious for frustrating user experiences:

  • Intrusive Advertisements: Continuous pop-ups, forced interstitial ads, and countdown countdown barriers interrupting every single episode;
  • Aggressive Paywalls: Fragmented token-based microtransactions that quickly escalate into expensive pay-to-watch schemes;
  • Platform Inflexibility: Almost exclusively restricted to mobile devices, completely neglecting PC and Mac users who want a rich desktop viewing setup;
  • Bloatware & Battery Drain: Heavy commercial apps laden with behavioral trackers, telemetry, and background push notifications.

To tackle these industry drawbacks, open-source software developer Minireel engineered Minireel/HGhubโ€”an exquisite, lightweight, open-source streaming client powered by the modern Rust 1.90+ and Tauri 2 architecture!

HGhub delivers a clean, ad-free, completely non-commercial viewing platform while serving as a shining demonstration of modern cross-platform native UI and systems programming.


๐ŸŒŸ What Makes HGhub Exceptional? Core Highlights

HGhub operates strictly under the PolyForm Noncommercial 1.0.0 license for educational, research, and personal hobby purposes. It guarantees no paywalls, no VIP keys, zero commercial ads, and zero behavioral telemetry.

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                      HGhub Architecture Overview                       โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Responsive UI    โ”‚ Unified Edge     โ”‚ Real-time Media  โ”‚ Custom Scheme โ”‚
โ”‚ Presentation     โ”‚ Request Envelope โ”‚ Decryption Proxy โ”‚ Isolation     โ”‚
โ”‚ React 19+Vite 7  โ”‚ POST /edge/requesโ”‚ AES-128-CBC Coverโ”‚ http://hg.locaโ”‚
โ”‚ Tailwind CSS 4   โ”‚ reqwest + rustls โ”‚ HLS m3u8 Rewrite โ”‚ hg://localhostโ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                     Tauri 2 Core Container (Rust 1.90+)                โ”‚
โ”‚       โ€ข Native System WebViews (Zero Electron Overhead)               โ”‚
โ”‚       โ€ข Asynchronous Tokio Engine    โ€ข Pure Rust Cryptography & Networkโ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                       Cross-Platform Native Builds                     โ”‚
โ”‚       โ€ข Windows 10/11    โ€ข macOS (Apple Silicon & Intel) โ€ข Android     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

1. Ultra-Lightweight Footprint: Tauri 2 Over Electron

Legacy cross-platform desktop frameworks package full Chromium and Node.js runtimes, resulting in massive installer bundles exceeding 150 MB and consuming hundreds of megabytes of idle RAM.

HGhub leverages Tauri 2 + Rust 1.90+:

  • Tiny Executable: The core binary is only tens of megabytes, launching almost instantaneously;
  • Minimal RAM Footprint: Utilizing system-native rendering engines (WebView2 on Windows, WebKit on macOS, Android WebView), memory consumption is slashed to a fraction of Electron counterparts;
  • Uniform Systems Layer: Shared Rust network logic delivers seamless behavior across desktop and mobile.

2. Fluent Design Aesthetics & Immersive Vertical Feed

The front-end user interface is constructed with modern tooling: React 19 + TypeScript + Vite 7 + Tailwind CSS 4:

  • Immersive Reel Feed: Features fluid gesture controls, swipe-to-next transitions, and keyboard shortcuts tailored for vertical video;
  • Fluent Design Elements: Adopts translucent acrylic blur backdrops, soft rounded corners, and crisp typography for a sleek modern look;
  • Thoughtful Playback Ergonomics: Includes an automatic โ€œmute on startupโ€ preference to prevent audio surprises in public places, along with persistent local volume and playback memory.

3. High-Performance Engineering: On-The-Fly Decryption & HLS Proxying

Behind the polished interface lies a robust Rust media engine designed to overcome complex Web platform restrictions:

  • Unified Edge Request Envelope: Consolidates heterogeneous upstream API calls into a single edge endpoint (POST /api/edge/request), letting Rust handle edge signatures without exposing volatile cookies to the UI;
  • AES-128-CBC Real-Time Image Decryption: Media thumbnails protected by AES-128-CBC encryption are parsed in-memory at hardware speeds and served directly to <img> tags via local custom protocols without disk leaks;
  • Rust-Powered HLS Reverse Proxy: Bypasses typical WebView CORS and referer anti-hotlinking limitations by dynamically re-routing and rewriting m3u8 playlists (#EXT-X-KEY and media segment URLs) for buffer-free playback.

๐Ÿšซ Official Channels & Security Advisory

Due to HGhubโ€™s rapid rise on GitHub, unauthorized malicious forks (e.g., modified builds injecting commercial payment keys, VIP unlocks, or adware) have been observed.

The upstream author has issued an explicit security advisory:

  • Official Repository: https://github.com/Minireel/HGhub
  • Official Download Channel: GitHub Releases Page
  • Authenticity Standard: Official releases are forever free, require no license keys, contain no paid tiers, and bundle no ads. If you encounter any version requesting payment or keys, it is counterfeitโ€”uninstall it immediately!

โšก Accelerated Downloads via GH-Proxy Mirrors

For users facing slow international connection speeds or intermittent GitHub timeouts, all official HGhub release binaries are accessible through high-speed GH-Proxy mirrors:

1. Windows Downloads (Windows 10 / 11)

  • Official NSIS Setup Installer (x64):
    https://gh-proxy.com/https://github.com/Minireel/HGhub/releases/download/v1.2.0/HGhub_1.2.0_x64-setup.exe
    
  • Portable Green Edition (x64 Zip):
    https://gh-proxy.com/https://github.com/Minireel/HGhub/releases/download/v1.2.0/HGhub_1.2.0_x64_portable.zip
    

2. macOS Downloads (Universal Binary)

  • Apple Disk Image (Supports Apple Silicon M1-M4 & Intel x86_64):
    https://gh-proxy.com/https://github.com/Minireel/HGhub/releases/download/v1.2.0/HGhub_1.2.0_universal.dmg
    

๐Ÿ’ก Gatekeeper Fix on macOS: If macOS alerts that the app is โ€œdamaged or from an unidentified developerโ€ (as open-source builds do not bundle commercial Apple certs), move HGhub.app into /Applications and execute in Terminal:

xattr -cr /Applications/HGhub.app

3. Android Downloads (APK)

  • ARM64 Architecture (Recommended for modern smartphones & tablets):
    https://gh-proxy.com/https://github.com/Minireel/HGhub/releases/download/v1.2.0/HGhub_1.2.0_arm64.apk
    
  • ARM 32-bit Architecture (Legacy devices):
    https://gh-proxy.com/https://github.com/Minireel/HGhub/releases/download/v1.2.0/HGhub_1.2.0_arm.apk
    
  • x86_64 Architecture (PC Android Emulators):
    https://gh-proxy.com/https://github.com/Minireel/HGhub/releases/download/v1.2.0/HGhub_1.2.0_x86_64.apk
    

๐Ÿ› ๏ธ Source Build & Development Guide

For developers looking to inspect or contribute to the Tauri 2 codebase:

1. Accelerated Clone via GH-Proxy

git clone https://gh-proxy.com/https://github.com/Minireel/HGhub.git
cd HGhub

2. Install Dependencies

Ensure you have Rust installed (rustc --version >= 1.90) along with Node.js and pnpm:

pnpm install

โš ๏ธ Environment Notes:

  • If working on an exFAT external drive without symlink support, preserve node-linker=hoisted inside .npmrc.
  • Compatibility with pnpm 10 and pnpm 11 build permissions is pre-configured via pnpm.onlyBuiltDependencies and pnpm-workspace.yaml.

3. Local Development & Packaging

# Start desktop live reload server
pnpm app:dev

# Build production bundles (Windows NSIS / macOS DMG)
pnpm app:build

# Cross-compile Android APK (requires ANDROID_HOME and NDK_HOME setup)
pnpm tauri android build

โš–๏ธ License & Compliance Notice

Starting from v1.1.0, HGhub is distributed under the PolyForm Noncommercial License 1.0.0:

  • Permitted: Personal study, technical research, hobby projects, and non-commercial organizational use;
  • Strictly Prohibited: Any commercialization, including repackaging for sale, integrating subscription locks, or embedding monetized advertisements;
  • Disclaimer: HGhub functions solely as a client interface and does not host or distribute any media files.

Conclusion

HGhub demonstrates how the modern synergy of Rust, Tauri 2, and React 19 can reinvent multimedia streaming client development. It delivers a fast, clean, and cross-platform experience while respecting user freedom and privacy.

๐Ÿ’ฌ Comments & Discussion

Scroll down to load comments
(or click here to load immediately)