Skip to content

Repository files navigation

Sing-box 节点管理系统

为了快速配置vless和tuic节点,并产生分发订阅

订阅功能需要配合nginx做前置代理

Prerequisites

  • uv
  • libsystemd-dev
sudo apt update
sudo apt install libgirepository-2.0-dev gobject-introspection cmake libcairo2-dev build-essential pkg-config libsystemd-dev
curl -LsSf https://astral.sh/uv/install.sh | sh &&
source $HOME/.local/bin/env

Install

git clone https://github.com/qualvey/Osing.git
cd Osing
uv sync

How to use

Init

Setup config.json

Edit the file with your favorate editor,etc.vim. config.json

    "domain": "your_server_domain",
    "node_tag": "the name you want to show in client",
    "firstJump": "If use midle vps,midle vps ip or domain,else as  domain "m,
    "email": "Used for acme to request tls cert",
    "cloudflare_key": "For dns01 chalange to get tls cert"

run init process

Warning: This operation will cover the /etc/sing-box/config.json file.If you already have a wokring instance.Just for adding nodes,skip this step.

uv run src/main.py init

Add user

uv run src/main.py add username

Remove an user

uv run src/main.py remove username

Install client subscription server

./install.sh

the server will listen to localhost:9000,accept file?token={uuid} param to authenticate

About

A sing-box server manager with Python.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages