https://github.com/anongecko/google-messages-silicon
A blazingly fast, lightweight, and memory-efficient native Mac wrapper for Google Messages, built with Rust and Tauri. Optimized for Apple Silicon.
https://github.com/anongecko/google-messages-silicon
Last synced: about 1 year ago
JSON representation
A blazingly fast, lightweight, and memory-efficient native Mac wrapper for Google Messages, built with Rust and Tauri. Optimized for Apple Silicon.
- Host: GitHub
- URL: https://github.com/anongecko/google-messages-silicon
- Owner: anongecko
- Created: 2025-07-14T12:38:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-14T14:08:49.000Z (about 1 year ago)
- Last Synced: 2025-07-14T16:25:56.396Z (about 1 year ago)
- Language: Rust
- Size: 3.39 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google Messages for Mac - Ultra-Optimized Native Wrapper
A blazingly fast, memory-efficient native wrapper for messages.google.com, specifically optimized for Apple Silicon Macs. Built with Rust and Tauri 2.0 for unparalleled performance.
## 🚀 Performance Metrics
* **App Size**: \~8MB (compared to 100MB+ for Electron alternatives)
* **RAM Usage**: 40-60MB idle (up to 75% less than browser tabs)
* **CPU Usage**: \<1% idle, native performance
* **Startup Time**: \<500ms cold start
* **Apple Silicon**: Optimized specifically for M1/M2/M3 chips
## ✨ Key Features
### Lightning Fast
* **Instant startup** with preload optimization
* **Native performance** using macOS WebKit instead of bundled Chromium
* **Efficient window management** - hiding instead of closing preserves state
### Memory Efficient
* **jemalloc allocator** - 10-20% RAM reduction on Apple Silicon
* **Aggressive garbage collection** when backgrounded
* **Disabled unused web APIs** to reduce memory overhead
* **Optimized cache limits** - 64MB memory cache, 128MB disk cache
### Minimal & Clean
* **No bloat** - only essential features included
* **Native macOS menus** with proper keyboard shortcuts
* **Single window interface** - no unnecessary UI chrome
* **Respects system appearance** - follows macOS dark/light mode
-----
## 💻 Installation
1. Download the latest `Google-Messages-for-Mac.dmg` file from the [**GitHub Releases**](https://github.com/your-username/your-repo/releases) page.
2. Open the `.dmg` file and drag the **Google Messages** app into your `Applications` folder.
### **Important First-Time Setup**
Because this app is distributed for free outside the Mac App Store, you'll need to manually approve it the first time you open it.
1. Right-click (or `Ctrl`-click) the **Google Messages** app icon in your `Applications` folder.
2. Select **Open** from the menu.
3. A final warning will pop up. Click the **Open** button to run the app.
You only need to do this once\! After that, you can open the app normally.
-----
## 🔧 Technical Optimizations
### Rust-Level Optimizations
```rust
// Custom memory allocator for M-series chips
#[cfg(target_os = "macos")]
#[global_allocator]
static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
// Compile-time optimizations
panic = "abort" // Smaller binary
codegen-units = 1 // Better optimization
lto = true // Link-time optimization
opt-level = "z" // Optimize for size
strip = true // Remove debug symbols
```
### Smart Resource Management
* **Background throttling** - reduces resource usage when unfocused
* **Lazy loading** - defers non-critical operations
* **Const allocations** - compile-time string optimization
* **Minimal dependencies** - only essential crates included
### Build Configuration
* **Disabled default Tauri features** - removed unnecessary functionality
* **Native WebView** - leverages macOS WKWebView (no Chromium)
* **Optimized release profile** - aggressive size and performance optimizations
## 📊 Benchmarks
| Metric | Google Messages Wrapper | Electron App | Browser Tab |
|---|---|---|---|
| App Size | 8MB | 120MB+ | N/A |
| RAM (Idle) | 45MB | 180MB | 200MB+ |
| RAM (Active) | 80MB | 300MB | 400MB+ |
| CPU (Idle) | \<1% | 2-5% | 1-3% |
| Startup Time | \<500ms | 2-3s | 1-2s |
## 🏗️ Architecture
Built with:
* **Tauri 2.0** - Next-generation app framework
* **Rust** - Memory-safe systems programming
* **WKWebView** - Native macOS web engine
* **pnpm** - Fast, disk space efficient package manager
## 🎯 Design Philosophy
This wrapper follows a minimalist approach:
1. **Do one thing well** - wrap messages.google.com efficiently
2. **Use native APIs** - leverage macOS built-ins
3. **Optimize aggressively** - every byte and millisecond counts
4. **Respect the system** - follow macOS conventions
## 💻 System Requirements
* macOS 11.0 or later
* Apple Silicon (M1/M2/M3) or Intel Mac
* \~50MB free disk space
## 🔒 Privacy & Security
* **No telemetry** - your data stays on your device
* **No external dependencies** - all resources bundled
* **Sandboxed** - follows macOS security best practices
* **Open source** - fully auditable codebase
-----
*Built with ❤️ for the Mac community by developers who care about performance*