Skip to content

docs: feasibility study for official SagerNet/sing-box switch#16

Merged
hawkff merged 2 commits into
mainfrom
docs/official-singbox-feasibility
Jun 15, 2026
Merged

docs: feasibility study for official SagerNet/sing-box switch#16
hawkff merged 2 commits into
mainfrom
docs/official-singbox-feasibility

Conversation

@hawkff

@hawkff hawkff commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Docs-only. Read-only investigation of switching the core from starifly/sing-box to official SagerNet/sing-box (requested).

Conclusion: NOT a drop-in switch. Findings:

  • Fork chain: SagerNet/sing-box -> MatsuriDayo/sing-box -> starifly/sing-box (this fork's core, ~v1.12.19). Official latest stable is v1.13.13.
  • libcore imports Matsuri-only packages absent from official: nekoutils, protocol/shadowsocksr, protocol/snell.
  • Official protocol/ dir (v1.13.13) lacks shadowsocksr, snell, juicity.
  • App exposes SSR (TYPE_SSR=3), Snell (TYPE_SNELL=24), Juicity (TYPE_JUICITY=23) as first-class profile types (8-11 files each) + a 4830-line SingBoxOptions.java schema mirroring the fork.
  • Switching = re-platforming (rewrite libcore bindings, re-derive schema, drop/re-source protocols, re-validate everything): weeks, high regression risk.

Recommendation: keep the starifly core; for newer upstream features, wait for starifly/Matsuri to rebase onto newer official, or backport specific features. Full re-platform is a separate product decision.

No functional app changes.

Read-only investigation. Conclusion: not a drop-in switch. The core is
starifly/sing-box (fork of MatsuriDayo/sing-box -> official). libcore imports
Matsuri-only packages (nekoutils, protocol/shadowsocksr, protocol/snell) absent
from official v1.13.x, and the app exposes SSR/Snell/Juicity as first-class
types plus a 4830-line options schema mirroring the fork. Switching means
re-platforming (weeks, high regression risk, loses protocols). Documents the
breakage and the lower-risk alternatives (wait for starifly rebase, or
backport specific features).
@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@hawkff, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 5 hours, 50 minutes, and 30 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 07c4efa2-21e6-4c09-ad64-11e2cab5ee79

📥 Commits

Reviewing files that changed from the base of the PR and between 5889145 and 7712c5b.

📒 Files selected for processing (1)
  • docs/maintenance/official-singbox-feasibility.md

Comment @coderabbitai help to get the list of available commands and usage tips.

@hawkff hawkff merged commit 42094a3 into main Jun 15, 2026
4 checks passed
@hawkff hawkff deleted the docs/official-singbox-feasibility branch June 15, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant