Skip to content

๐Ÿš€ ไธ€ไธชไผ˜้›…็š„ Sing-Box Windows GUI ๅฎขๆˆท็ซฏ๏ผŒๅŸบไบŽ Tauri 2.0 ๅ’Œ Vue 3 ๆž„ๅปบใ€‚

License

Notifications You must be signed in to change notification settings

xinggaoya/sing-box-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Sing-Box Windows

Sing-Box Windows Logo

Sing-Box Windows

๐Ÿš€ An elegant and modern Sing-Box Windows GUI client

license stars downloads release last commit

ไธญๆ–‡ | English

๐ŸŽฏ Features

๐Ÿ–ฅ๏ธ Modern User Interface

  • Built with Tauri 2.0 and Vue 3 for optimal performance
  • Responsive design with Naive UI components
  • Support for light/dark themes with automatic system detection
  • Intuitive and user-friendly interface design

๐ŸŒ Comprehensive Proxy Support

  • System Proxy Mode: Automatic system-wide proxy configuration
  • TUN Mode: Traffic routing at the network level (requires administrator privileges)
  • Manual Mode: Custom proxy configuration for advanced users
  • Smart proxy switching with one-click toggle

๐Ÿ“Š Advanced Statistics & Monitoring

  • Real-time traffic monitoring with beautiful charts
  • Connection statistics and active connections viewer
  • Memory usage monitoring
  • Historical data tracking
  • Bandwidth usage analysis

๐Ÿ”„ Subscription Management

  • Multiple subscription formats support:
    • Direct subscription URLs
    • Sing-box JSON configuration
    • Automatic Base64 decoding
  • Automatic subscription updates
  • Subscription grouping and management
  • Import/export configuration

๐Ÿ” Complete Logging System

  • Real-time log viewing with syntax highlighting
  • Multiple log levels (Info, Warning, Error)
  • Log filtering and search capabilities
  • Export logs for debugging
  • Automatic log rotation

โšก Performance Optimization

  • Memory management and leak prevention
  • Efficient WebSocket connections
  • Lazy loading and virtual scrolling
  • Background processing for heavy operations
  • Minimal resource footprint

๐Ÿ”’ Security Features

  • Secure configuration storage
  • Automatic privilege escalation for TUN mode
  • Safe subscription parsing
  • Process isolation

๐ŸŒ Internationalization

  • Multi-language support
  • Currently available in:
    • English
    • ไธญๆ–‡ (Chinese)
    • ๆ—ฅๆœฌ่ชž (Japanese)
    • ะ ัƒััะบะธะน (Russian)
  • Easy to add new languages

๐Ÿ“ธ Screenshots

Sing-Box Windows Main Interface

Main interface showing proxy status, statistics, and controls

๐Ÿš€ Quick Start

System Requirements

  • Operating System: Windows 10 1809 or later
  • Architecture: x64 (64-bit)
  • Memory: 4GB RAM recommended
  • Disk Space: 100MB available space
  • Network: Internet connection for downloading core and subscriptions

Download and Install

  1. Download: Get the latest version from the Releases page
  2. Install: Run the installer (.msi or .exe setup file)
    • The installer supports automatic updates
    • Choose installation directory if needed
  3. First Launch: The application will automatically complete necessary configuration

Basic Usage

๐Ÿ”ง Initial Setup

  1. Download Sing-Box Core:

    • Navigate to [Settings] โ†’ [Core Management]
    • Click "Download Latest Core"
    • Wait for automatic installation
  2. Configure Subscriptions:

    • Go to [Subscriptions] page
    • Click "Add Subscription"
    • Enter your subscription URL or import JSON configuration
    • The app supports automatic Base64 decoding

๐ŸŒ Connecting to Proxy

  1. Select Node:

    • Go to [Home] page
    • Browse available nodes from your subscriptions
    • Test node latency using the "Test" button
    • Select your preferred node
  2. Choose Proxy Mode:

    • System Proxy: Automatic system-wide configuration
    • TUN Mode: Network-level routing (requires admin rights)
    • Manual: Custom configuration
  3. Connect:

    • Click the "Connect" button
    • Monitor connection status in real-time
    • View traffic statistics and active connections

๐Ÿ’ก Tip: For TUN mode, the application will request administrator privileges and automatically configure system settings

Advanced Features

๐Ÿ“‹ Rule Management

  • Navigate to [Rules] page to view and manage routing rules
  • Support for custom rule sets
  • Automatic rule updates from subscriptions
  • Rule priority management

๐Ÿ› ๏ธ System Integration

  • System Tray: Quick access from Windows system tray
  • Auto-start: Configure automatic startup on Windows boot
  • Auto-connect: Automatically connect to last used configuration
  • Notifications: Desktop notifications for connection status

๐Ÿ“Š Advanced Monitoring

  • Connections: View active connections and their details
  • Traffic Analysis: Detailed bandwidth usage statistics
  • Performance Metrics: Memory usage and system performance
  • Logs: Comprehensive logging with filtering options

๐Ÿ› ๏ธ Development Guide

Environment Requirements

  • Node.js: 18.0 or higher
  • Rust: Latest stable version (1.70+)
  • Visual Studio: 2019 or higher with C++ development tools
  • Git: Latest version
  • pnpm: Package manager

Local Development

# Clone the repository
git clone https://github.com/xinggaoya/sing-box-windows.git
cd sing-box-windows

# Install dependencies
pnpm install

# Start development server (with hot reload)
pnpm tauri dev

# Build production version
pnpm tauri build

# Run tests
pnpm test

# Type checking
pnpm type-check

# Lint code
pnpm lint

Development Documentation

For comprehensive development documentation, please check:

Project Architecture

sing-box-windows/
โ”œโ”€โ”€ src/                    # Frontend source code
โ”‚   โ”œโ”€โ”€ components/        # Reusable Vue components
โ”‚   โ”‚   โ”œโ”€โ”€ home/         # Home page components
โ”‚   โ”‚   โ”œโ”€โ”€ layout/       # Layout components
โ”‚   โ”‚   โ””โ”€โ”€ ...           # Other component categories
โ”‚   โ”œโ”€โ”€ stores/           # Pinia state management
โ”‚   โ”‚   โ”œโ”€โ”€ app/          # Application-level stores
โ”‚   โ”‚   โ”œโ”€โ”€ kernel/       # Kernel-related stores
โ”‚   โ”‚   โ”œโ”€โ”€ subscription/ # Subscription management
โ”‚   โ”‚   โ””โ”€โ”€ tray/         # System tray integration
โ”‚   โ”œโ”€โ”€ services/         # Business logic services
โ”‚   โ”œโ”€โ”€ utils/            # Utility functions
โ”‚   โ”œโ”€โ”€ locales/          # Internationalization files
โ”‚   โ””โ”€โ”€ views/            # Page components
โ”œโ”€โ”€ src-tauri/            # Rust backend code
โ”‚   โ”œโ”€โ”€ src/              # Rust source code
โ”‚   โ”‚   โ”œโ”€โ”€ app/          # Application modules
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ core/     # Core functionality
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ network/  # Network operations
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ system/   # System integration
โ”‚   โ”‚   โ”œโ”€โ”€ utils/        # Utility functions
โ”‚   โ”‚   โ””โ”€โ”€ main.rs       # Application entry point
โ”‚   โ””โ”€โ”€ Cargo.toml        # Rust dependencies
โ”œโ”€โ”€ docs/                 # Documentation
โ””โ”€โ”€ public/               # Static assets

๐Ÿ“ฆ Technology Stack

Frontend

  • ๐ŸŽฏ Tauri 2.0 - Modern cross-platform application framework
  • โšก Vue 3 - Progressive JavaScript framework
  • ๐ŸŽจ Naive UI - High-quality Vue 3 component library
  • ๐Ÿ“Š Canvas API - High-performance graphics rendering
  • ๐Ÿ”ง TypeScript - Type-safe JavaScript
  • ๐Ÿ—ƒ๏ธ Pinia - State management for Vue
  • ๐Ÿ›ฃ๏ธ Vue Router - Official router for Vue.js

Backend

  • ๐Ÿฆ€ Rust - High-performance systems programming language
  • โšก tokio - Asynchronous runtime for Rust
  • ๐Ÿ”— serde - Serialization framework
  • ๐ŸŒ reqwest - HTTP client library

Tools & Infrastructure

  • ๐Ÿ“ฆ pnpm - Fast, disk space efficient package manager
  • ๐Ÿ” ESLint - JavaScript/TypeScript linting
  • ๐ŸŽจ Prettier - Code formatting
  • ๐Ÿ—๏ธ Vite - Next generation frontend tooling

๐Ÿค Contributing

We welcome all forms of contributions! Here's how you can help:

Types of Contributions

  • ๐Ÿ› Bug Reports: Report issues and bugs
  • ๐Ÿ’ก Feature Requests: Suggest new features
  • ๐Ÿ“ Documentation: Improve documentation
  • ๐Ÿ”ง Code Contributions: Fix bugs or implement features
  • ๐ŸŒ Translations: Add support for new languages
  • ๐ŸŽจ UI/UX Improvements: Enhance user interface

Contribution Process

  1. Fork the repository
  2. Clone your fork locally
  3. Create a feature branch (git checkout -b feature/amazing-feature)
  4. Make your changes with clear commit messages
  5. Test your changes thoroughly
  6. Push to your branch (git push origin feature/amazing-feature)
  7. Submit a Pull Request with detailed description

Development Guidelines

  • Follow existing code style and conventions
  • Write meaningful commit messages
  • Add tests for new features
  • Update documentation when necessary
  • Ensure all tests pass before submitting

Translation Contributions

To add a new language:

  1. Create a new file in src/locales/ (e.g., fr-FR.ts)
  2. Copy the structure from en-US.ts
  3. Translate all text strings
  4. Add the language to the language selector
  5. Test the translations thoroughly

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ“ฎ Support & Community

๐Ÿ™ Acknowledgements

Special thanks to these amazing projects and contributors:

Core Technologies

  • sing-box - The powerful proxy platform
  • Tauri - Secure, fast, and lightweight application framework
  • Vue.js - The progressive JavaScript framework
  • Naive UI - Beautiful and powerful UI component library

Community

  • All Contributors - Thank you for your valuable contributions
  • Users and Testers - Your feedback helps improve the application
  • Translators - Making the app accessible worldwide

๐Ÿ“ˆ Roadmap

Upcoming Features

  • Plugin system for extensibility
  • Custom themes and UI customization
  • Advanced routing rules editor
  • Cloud configuration sync
  • Mobile companion app
  • Network diagnostics tools

Version History

  • v1.7.9 - Current stable release
  • v1.7.x - Performance optimizations and bug fixes
  • v1.6.x - Enhanced UI and internationalization
  • v1.5.x - Initial public release

If this project helps you, please consider giving it a โญ๏ธ!

Made with โค๏ธ by the Sing-Box Windows team

About

๐Ÿš€ ไธ€ไธชไผ˜้›…็š„ Sing-Box Windows GUI ๅฎขๆˆท็ซฏ๏ผŒๅŸบไบŽ Tauri 2.0 ๅ’Œ Vue 3 ๆž„ๅปบใ€‚

Resources

License

Stars

Watchers

Forks

Packages

No packages published