No description
  • Rust 46.4%
  • Python 34%
  • Go 8.3%
  • Shell 4.8%
  • JavaScript 2.7%
  • Other 3.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
renovate[bot] 5116a02f68
Update Rust crate rand to 0.10.3 (#342)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [rand](https://rust-random.github.io/book)
([source](https://redirect.github.com/rust-random/rand)) | dependencies
| patch | `0.10.2` → `0.10.3` |

---

### Release Notes

<details>
<summary>rust-random/rand (rand)</summary>

###
[`v0.10.3`](https://redirect.github.com/rust-random/rand/blob/HEAD/CHANGELOG.md#0103--2026-09-20)

[Compare
Source](https://redirect.github.com/rust-random/rand/compare/0.10.2...0.10.3)

##### Fixes

- Fix `WeightedIndex` panic when the sum of float weights is infinite;
return `Error::Overflow` instead ([#&#8203;1808])
- Fix spurious `Error::NonFinite` from `Uniform::new_inclusive` on large
finite float ranges such as `0.0..=f64::MAX` ([#&#8203;1821])
- Fix possible panic due to sampling a deserialized `Uniform<char>`
([#&#8203;1831])

##### Changes

- Report exact remaining lengths from `WeightedIndex::weights()` and
reduce overhead when reading weights ([#&#8203;1838])

[#&#8203;1808]: https://redirect.github.com/rust-random/rand/pull/1808

[#&#8203;1821]: https://redirect.github.com/rust-random/rand/pull/1821

[#&#8203;1831]: https://redirect.github.com/rust-random/rand/pull/1831

[#&#8203;1838]: https://redirect.github.com/rust-random/rand/pull/1838

</details>

---

### Configuration

📅 **Schedule**: (in timezone Asia/Shanghai)

- Branch creation
  - "before 6am on monday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/youugiuhiuh/Wuthering_Waves_Private_Server).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMDMuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjEwMy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-20 17:52:25 +00:00
.agents/skills Update SKILL.md 2026-09-19 14:58:43 +08:00
.codegraph Init 2026-07-30 19:33:03 +08:00
.forgejo/workflows Update GitHub Artifact Actions to v7 (#335) 2026-09-18 08:19:12 +08:00
.github Update build-test.yml 2026-09-18 23:36:05 +08:00
.vscode Init 2026-07-30 19:33:03 +08:00
docs feat(simplex): 管理员自愈 —— TOTP 成为凭据,contactId 降级为标签(+ 全局限流) (#340) 2026-09-18 15:13:52 +00:00
go/installer 1.6.2 2026-09-19 13:24:34 +08:00
proto Init 2026-07-30 19:33:03 +08:00
rust/aegis Update Rust crate rand to 0.10.3 (#342) 2026-09-20 17:52:25 +00:00
scripts Minisign 签名硬化:防中间人替换 + 双密钥表 + Codefloe 签名 (#323) 2026-09-14 13:35:52 +08:00
sni_tester fix(deps): update module github.com/oschwald/geoip2-golang to v2 (#315) 2026-09-13 16:25:32 +08:00
sni_tester_app Init 2026-07-30 19:33:03 +08:00
tools Init 2026-07-30 19:33:03 +08:00
.build.yml Init 2026-07-30 19:33:03 +08:00
.gitattributes Init 2026-07-30 19:33:03 +08:00
.gitignore Fix and Update CC.pd 2026-08-13 16:01:11 +08:00
.pre-commit-config.yaml fix(tooling): replace broken version-sync crate with a shell script 2026-09-13 18:09:10 +08:00
AGENTS.md Update AGENTS.md 2026-09-18 22:34:10 +08:00
LICENSE Init 2026-07-30 19:33:03 +08:00
mise.toml Update mise.toml 2026-09-13 23:05:42 +08:00
README.md feat(aegis): 新增 Telegram + SimpleX 组合部署形态 (#336) 2026-09-18 07:29:18 +00:00
renovate.json fix(renovate): 修复范围溢出 —— 6 个多余 manager + 4 个范围外 manifest (#271) 2026-09-13 13:47:58 +08:00
SECURITY.md Init 2026-07-30 19:33:03 +08:00
skills-lock.json Update skills-lock.json 2026-09-19 08:49:35 +08:00

WWPS Control Stack

License: AGPL v3 Platform Status

Overview

This is the control plane used to deploy, initialize, update, and operate the WWPS environment on Linux VPS hosts.

An experimental self-hosted server emulator project for Wuthering Waves, focused on quick deployment, simple management, and stable runtime behavior on Linux VPS environments.

Features

  • One-command bootstrap installer
  • Remote management workflow after deployment
  • User profile and runtime configuration management
  • Deployment asset rotation and maintenance utilities
  • Network tuning and recovery helpers
  • Suitable for lightweight VPS environments

Components

  • rust/aegis: Telegram-based management bot
  • go/installer: bootstrap installer and update entrypoint
  • rust/version-sync: release/version synchronization helper
  • sni_tester: standalone SNI and connectivity testing utility

Naming note: deployed binaries are renamed — wwps-core is Xray-core and wwps-box is Sing-box. The mapping is documented in the module comment of rust/aegis/src/core/paths.rs.

Quick Start

Recommended environment:

  • Ubuntu 20.04+
  • Debian 10+
  • amd64 or arm64 Linux VPS

Install with:

Interactive (simplest): SSH into your server and run:

wget -O /root/installer "https://github.com/youugiuhiuh/Wuthering_Waves_Private_Server/releases/latest/download/installer" && chmod +x /root/installer && ./installer

Follow the prompts to enter your Telegram Bot Token and Admin ID. Optionally configure Matrix or SimpleX for sensitive notification routing — the installer lets you pick Telegram, Matrix, SimpleX, Telegram + Matrix, or Telegram + SimpleX.

To update an existing installation, just run the same command again — the installer handles upgrades automatically.

Headless (automation via SSH pipe): download once, then pipe config via heredoc.

JSON format (best for simple ASCII values):

ssh root@YOUR_SERVER_IP "wget -qO /root/installer 'https://github.com/youugiuhiuh/Wuthering_Waves_Private_Server/releases/latest/download/installer' && chmod +x /root/installer"
ssh -T root@YOUR_SERVER_IP /root/installer --setup-stdin <<'JSONEOF'
{"token":"YOUR_BOT_TOKEN","admin_id":"YOUR_ADMIN_ID","totp_secret":"","matrix_homeserver":"https://matrix.org","matrix_username":"@bot:matrix.org","matrix_password":"YOUR_PASSWORD","matrix_room_id":"!room:matrix.org"}
JSONEOF

Key=value format (avoids JSON quoting, recommended for passwords with special/non-ASCII characters):

ssh root@YOUR_SERVER_IP "wget -qO /root/installer 'https://github.com/youugiuhiuh/Wuthering_Waves_Private_Server/releases/latest/download/installer' && chmod +x /root/installer"
ssh -T root@YOUR_SERVER_IP /root/installer --setup-keyval <<'KVEOF'
token=YOUR_BOT_TOKEN
admin_id=YOUR_ADMIN_ID
totp_secret=
matrix_homeserver=https://matrix.org
matrix_username=@bot:matrix.org
matrix_password=YOUR_PASSWORD
matrix_room_id=!room:matrix.org
KVEOF

Fields matrix_* are optional. Set totp_secret to empty string to auto-generate. Using a heredoc (<<'EOF') avoids shell injection — your password can contain any characters safely. The key=value format passes raw bytes without JSON escaping, making it the easier choice when passwords contain special or non-ASCII characters.

Repository Contents

Releases include:

  • installer: bootstrap program
  • aegis: management-side executable

Use the installer first. It will prepare the runtime environment and deploy the required components automatically.

Operations

After installation, the management interface can be used for:

  • service status checks
  • user and configuration maintenance
  • deployment updates
  • runtime diagnostics
  • security and recovery operations

Build

Rust bot

cd rust/aegis
cargo build --release

Go installer

cd go/installer
go build -o installer .

SNI tester

cd sni_tester
go build .

Release Flow

The CI/CD workflows build release artifacts from this repository and create releases with aegis and installer binaries.

Supported CI/CD platforms:

  • GitHub Actions (.github/workflows/public-release.yml)
  • GitLab CI (.gitlab-ci.yml)
  • Azure Pipelines (azure-pipelines.yml)
  • Bitbucket Pipelines (bitbucket-pipelines.yml)
  • SourceHut Builds (.build.yml)

Trigger by bumping version in rust/aegis/Cargo.toml and pushing to default branch, or run manually with version input.

Scope

The project focuses on:

  • host bootstrap and secure initialization
  • bot-driven operations and maintenance workflows over Telegram, Matrix, or SimpleX
  • inbound configuration generation and lifecycle management
  • routing, geo data, certificate, and kernel/network maintenance helpers

Supported management platforms:

Platform Flag Notes
Telegram (default)
Matrix --matrix
SimpleX --simplex standalone; requires a local simplex-chat v7.0.0 — see docs/2026-09-16-simplex-platform.md
Telegram + Matrix --all sensitive messages are routed to the Matrix room
Telegram + SimpleX --tg-simplex Telegram is the control surface; sensitive messages are routed to the SimpleX admin contact

Disclaimer

This project is intended for educational and technical research purposes only. Do not use it for commercial activities.

Wuthering Waves is a trademark of its respective owner. Please support the official game.