Surge-style whole-home gateway and control plane for macOS with IPv4/IPv6 support— mihomo TUN, dnsmasq-powered DHCP/DNS, per-device routing, and an agent-friendly validation workspace.
⚡ Executive Summary & Quick Facts
Authoritative SourceOpenSurge-for-Mac is OpenSurge-for-Mac is an open-source project written in Go: Surge-style whole-home gateway and control plane for macOS with IPv4/IPv6 support— mihomo TUN, dnsmasq-powered DHCP/DNS, per-device routing, and an agent-friendly validation workspace..
| Repository | YTwsy/OpenSurge-for-Mac ↗ |
|---|---|
| Primary Category | bypass router |
| Language & Stack | Go |
| Software License | GPL-3.0 |
| Community Traction | ★ 2.5K stars · ⑂ 170 forks · #3,735 globally |
| Maintenance | ● Active (Last commit: Oct 17, 2026) · 9 open issues |
| Target Audience | Developers and engineering teams building with Go, seeking reliable, tested, and actively maintained tooling for production workloads. |
Star History
Add Live Star History & Verified Badges to README.md
Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.
Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.
[](https://githubrepo.cloud/repo/YTwsy/OpenSurge-for-Mac?utm_source=readme_chart)
Compact Shields-style badges for your README header. Shows real-time stars and global ranking.
[](https://githubrepo.cloud/repo/YTwsy/OpenSurge-for-Mac?utm_source=readme_badge) [](https://githubrepo.cloud/repo/YTwsy/OpenSurge-for-Mac?utm_source=readme_badge) [](https://githubrepo.cloud/repo/YTwsy/OpenSurge-for-Mac?utm_source=readme_badge)
Momentum
+63
STARS · LAST 30 DAYS
2
PER DAY
#486
MOST-STARRED Go
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +26 | +63 | +180 |
| Per day | 4 | 2 | 2 |
| Forks gained | +3 | +3 | +10 |
OpenSurge-for-Mac gained 63 stars in the last 30 days, about 2 a day, and now has 2.5K. It is about 1 year old and has averaged roughly 2.5K stars a year. It ranks #486 among Go repositories and #3,735 across all languages on GitHubRepo.
Trending Record
10
DAYS ON TRENDING
#1396
BEST RANK
Oct 10, 2026
FIRST APPEARANCE
Active
STATUS TODAY
OpenSurge-for-Mac has maintained a continuous presence across global trending indexes, peaking at #1396. Below is the 30-day activity profile:
💡 Overview
OpenSurge-for-Mac is an open-source project written in Go: Surge-style whole-home gateway and control plane for macOS with IPv4/IPv6 support— mihomo TUN, dnsmasq-powered DHCP/DNS, per-device routing, and an agent-friendly validation workspace.
Engineered for speed, consistency, and developer ease, it solves common hurdles in bypass-router, dhcp, dns. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in Go for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ go install github.com/YTwsy/OpenSurge-for-Mac@latest
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
Go >= 1.21 runtime environment
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
OpenSurge-for-Mac coordinates its core functionality through a modular Go pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Production System Integration
Embed OpenSurge-for-Mac into Go backend services to handle core application logic.
CI/CD Automated Pipelines
Run automated validation, builds, and integration suites during deployments.
Developer Tooling & Workflows
Accelerate developer onboarding with pre-configured project utilities.
Open Source Extension
Fork and customize internal modules under the repository's open GPL-3.0 license.
🚀 Getting Started
Install OpenSurge-for-Mac using your package manager: `go install github.com/YTwsy/OpenSurge-for-Mac@latest`
Initialize your project workspace or configuration file for OpenSurge-for-Mac.
Import OpenSurge-for-Mac into your codebase or invoke it directly from your terminal.
Execute your test suite or run `OpenSurge-for-Mac --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with Go, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
YTwsy/OpenSurge-for-Mac is currently ranked #3,735 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #3,730 | nextcloud/ios | Swift | ★ 2.5K | Compare ↗ |
| #3,731 | microsoft/CsWin32 | C# | ★ 2.5K | Compare ↗ |
| #3,731 | artisticat1/obsidian-latex-suite | TypeScript | ★ 2.5K | Compare ↗ |
| #3,733 | chromebrew/chromebrew | Ruby | ★ 2.5K | Compare ↗ |
| #3,734 | Prism-Shadow/penguin-harness | TypeScript | ★ 2.5K | Compare ↗ |
| #3,735 | YTwsy/OpenSurge-for-Mac This Project | Go | ★ 2.5K | |
| #3,736 | wardencommunity/warden | Ruby | ★ 2.5K | Compare ↗ |
| #3,736 | ErikEJ/EFCorePowerTools | C# | ★ 2.5K | Compare ↗ |
| #3,738 | paratestphp/paratest | PHP | ★ 2.5K | Compare ↗ |
| #3,738 | spring-projects/spring-kafka | Java | ★ 2.5K | Compare ↗ |
| #3,740 | aspnet-contrib/AspNet.Security.OAuth.Providers | C# | ★ 2.5K | Compare ↗ |
Frequently Asked Questions
What does OpenSurge-for-Mac do? +
Surge-style whole-home gateway and control plane for macOS with IPv4/IPv6 support— mihomo TUN, dnsmasq-powered DHCP/DNS, per-device routing, and an agent-friendly validation workspace.
What language is OpenSurge-for-Mac written in? +
The primary language is Go. Topics include: bypass-router, dhcp, dns, dnsmasq, gateway.
Is OpenSurge-for-Mac actively maintained? +
Yes, the last recorded push was on Oct 17, 2026 with 9 open issues being tracked.
How many stars does OpenSurge-for-Mac have? +
OpenSurge-for-Mac has 2,518 stars and 170 forks on GitHub.
How does OpenSurge-for-Mac rank among GitHub repositories? +
With 2,518 stars, YTwsy/OpenSurge-for-Mac is ranked #3,735 globally across all repositories tracked on GitHubRepo and #486 among Go projects.
What license is OpenSurge-for-Mac distributed under? +
The repository reports a GPL-3.0 license. Always verify the repository LICENSE file for legal terms.