Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Building Valorex: A Fast, Memory-Efficient Desktop Browser in Rust

说明与用途

Valorex 是一个基于 Rust 的轻量级浏览器,使用 WebKitGTK,内存占用比 Electron 低 10 倍,并内置广告/跟踪器拦截功能。

问题

Modern web browsers consume excessive RAM and track user navigation, leading to high resource usage.

结果

Valorex delivers a lightweight, privacy-focused browsing experience with sub-millisecond tab switching, 10x lower RAM usage than Electron, and built-in ad/tracker blocking.

工作流

  • 1. Use Rust for zero-cost abstractions and memory safety.
  • 2. Integrate native WebKitGTK for rendering.
  • 3. Embed Brave's adblock-rust engine for network request filtering.
  • 4. Implement cosmetic filtering with CSS injection.
  • 5. Use double-lock IPC authentication to isolate web content.
  • 6. Employ a multi-WebView architecture with independent wry::WebView instances for each tab.
  • 7. Switch tabs via stack flip for sub-millisecond latency.
  • 8. Preserve form data, JS memory, and scroll positions across tabs.
  • 9. Store history and bookmarks in atomic SQLite migrations.

证据

Valorex starts in milliseconds, uses 10x less RAM than Electron, and blocks aggressive trackers before they hit your CPU.

来源

Each tab is an independent wry::WebView mounted inside a GPU-accelerated gtk::Stack.

来源

Brave Adblock Engine Integration: Filters network requests at the native protocol layer before resources are fetched.

来源

  • 记录日期: 2026-11-01T05:58:55.707Z