MCPcopy Index your code
hub / github.com/OneOhCloud/OneBox

github.com/OneOhCloud/OneBox @v1.4.35

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.4.35 ↗ · + Follow
872 symbols 2,168 edges 140 files 126 documented · 14% updated 6d agodev · 2026-07-02★ 6425 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

OneBox banner

<a href="https://github.com/OneOhCloud/OneBox/raw/v1.4.35/README_CN.md">简体中文</a>
·
<a href="#screenshots">Screenshots</a>
·
<a href="#features">Features</a>
·
<a href="#download">Download</a>
·
<a href="#development">Development</a>







<a href="https://github.com/SagerNet/sing-box"><img alt="sing-box latest version" src="https://repology.org/badge/version-for-repo/homebrew/sing-box.svg?header=sing-box"></a>
<a href="https://github.com/OneOhCloud/OneBox/releases"><img alt="GitHub release" src="https://img.shields.io/github/v/release/OneOhCloud/OneBox?display_name=tag&sort=semver"></a>
<a href="https://github.com/OneOhCloud/OneBox/raw/v1.4.35/LICENSE"><img alt="License" src="https://img.shields.io/badge/license-Apache--2.0-blue"></a>







<a href="https://play.google.com/store/apps/details?id=cloud.oneoh.networktools"><img alt="Get it on Google Play" src="https://github.com/OneOhCloud/OneBox/raw/v1.4.35/github/assets/store/google-play-en.png" width="185" height="56" align="middle"></a>
<a href="https://apps.apple.com/us/app/oneboxm/id6759716475"><img alt="Download on the App Store" src="https://github.com/OneOhCloud/OneBox/raw/v1.4.35/github/assets/store/app-store-en.svg" width="185" height="56" align="middle"></a>

About

OneBox is a cross-platform desktop client built with Tauri, React, Rust, and the sing-box network core.

It is designed for people who want a clean daily-driver client instead of a configuration workshop: add a subscription, pick a route mode, start the service, and let the app handle the platform details.

[!NOTE] OneBox is not a playground for wish-list driven sing-box customization. Requests for full manual control, endless knobs, or niche behavior are out of scope, and related PRs are not guaranteed to be accepted. If you need that workflow, fork the project, build your own copy, and maintain it yourself.

Screenshots

Home Configuration Settings
OneBox home screen OneBox configuration screen OneBox settings screen

Features

Capability What OneBox does
Subscription-first workflow Imports remote configuration links, tracks traffic metadata, refreshes subscriptions, and supports deep-link based setup.
Route modes Provides mixed and TUN modes with rule/global templates maintained for supported sing-box versions.
System integration Includes tray controls, system proxy helpers, autostart, updater flow, and platform-specific service handling.
Privacy-conscious storage Stores sensitive values through system-backed mechanisms instead of treating secrets as plain UI state.
Developer visibility Ships log, generated config, and config-template views for debugging without exposing casual users to noise.
Built on Rust and Tauri Keeps the desktop shell lightweight while delegating network execution to the sing-box core.

[!WARNING] OneBox applies multiple security and privacy controls, but vulnerabilities in the underlying network core are handled by the upstream sing-box project. Track upstream advisories when assessing operational risk.

Platform Support

Tier Platform Status
Tier 1: Official macOS Production-ready and maintained by the core team with priority fixes.
Tier 2: Community Windows, Ubuntu Stable, with fixes and feature parity depending on community maintenance.
Tier 3: Experimental Linux Beta quality. Expect incomplete behavior and use at your own risk.

Download

Get the latest build from the GitHub Releases page, or install the mobile companion from the store badges above.

The macOS build is notarized by Apple, so it can be installed without manual security overrides.

Development

Install dependencies:

deno install
deno task prepare

Start the desktop frontend during development:

deno task tauri dev

Build the web bundle:

deno task build

Run the frontend test suite:

deno task test

Run Rust tests with captured output shown:

cargo test -- --nocapture

Project Notes

  • Config templates are synchronized before dev and build through scripts/sync-templates.ts.
  • The Windows TUN service is built through scripts/build-tun-service.ts.
  • Platform-specific Tauri settings live under src-tauri/tauri.*.conf.json.
  • Human-facing protocol notes are available under docs/spec/zh/.

License & Brand Usage

This software is licensed under the Apache License 2.0.

The OneBox name, logos, icons, and other brand assets are proprietary assets of OneOh Cloud LLC. The Apache License does not grant permission to use those branding elements in derivative works. Any use of these assets or the product name must follow the NOTICE policy.

Extension points exported contracts — how you extend this code

EngineManager (Interface)
(no doc) [3 implementers]
src-tauri/src/engine/mod.rs
FlatRule (Interface)
(no doc)
src/page/router-rules.ts
TerminatedPayload (Interface)
(no doc)
src/types/definition.ts
ConfigViewerProps (Interface)
(no doc)
src/components/config-viewer/config-viewer.tsx
NetworkSpeed (Interface)
(no doc)
src/utils/clash-api.ts
ResponseHeaders (Interface)
(no doc)
src/action/db.ts
NavContextType (Interface)
(no doc)
src/single/context.ts
RuleSet (Interface)
(no doc)
src/config/merger/custom-rules.ts

Core symbols most depended-on inside this repo

t
called by 346
src/utils/helper.ts
getStoreValue
called by 31
src/single/store.ts
log_line
called by 26
src-tauri/tun-service/src/dns.rs
setStoreValue
called by 21
src/single/store.ts
log_line
called by 21
src-tauri/src/engine/windows/native.rs
snapshot
called by 16
src-tauri/src/engine/common/state_machine.rs
spawn
called by 13
src-tauri/src/engine/macos/watchdog.rs
transition
called by 13
src-tauri/src/engine/common/state_machine.rs

Shape

Function 760
Method 51
Interface 33
Class 20
Enum 8

Languages

TypeScript51%
Rust49%

Modules by API surface

src-tauri/tun-service/src/dns.rs45 symbols
src-tauri/src/engine/windows/native.rs42 symbols
src-tauri/tun-service/src/scm.rs35 symbols
src-tauri/src/engine/macos/mod.rs35 symbols
src/single/store.ts29 symbols
src-tauri/src/core/mod.rs29 symbols
src-tauri/src/app/setup.rs22 symbols
src/page/router.tsx19 symbols
src-tauri/src/commands/config_fetch.rs19 symbols
src-tauri/src/engine/linux/mod.rs18 symbols
src/components/home/hooks.ts17 symbols
src/action/db.ts16 symbols

For agents

$ claude mcp add OneBox \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page