Skip to content

Commit 642a909

Browse files
authored
Major Update: Added Nekoray & Nekobox specialized outputs
Added specialized Sing-box sub-tabs for Nekoray and Nekobox (Android). Implemented TUN inbound and optimized DNS for the Android version (Nekobox). Refactored output UI with nested sub-tabs for a cleaner experience.
1 parent 57e11ed commit 642a909

5 files changed

Lines changed: 356 additions & 17 deletions

File tree

README-fa.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,18 @@
2626
</tr>
2727
<tr>
2828
<td><b>Sing-box JSON</b></td>
29-
<td>قابل استفاده در کلاینت <a href="https://sing-box.sagernet.org/">sing-box&rlm;</a>.</td>
29+
<td>دارای زیر-تب‌های تخصصی برای کلاینت‌های مختلف (بخش پایین را ببینید).</td>
3030
</tr>
3131
</tbody>
3232
</table>
3333

34+
### 📦 فرمت‌های تخصصی Sing-box
35+
<ul dir="rtl" style="direction: rtl; text-align: right;">
36+
<li><b>Standard</b>: کانفیگ استاندارد هسته Sing-box.</li>
37+
<li><b>Nekoray</b>: بهینه‌سازی شده برای حداکثر سازگاری با <b>Nekoray</b>.</li>
38+
<li><b>Nekobox (Android)</b>: مخصوص اندروید؛ دارای <b>رابط مجازی TUN</b> برای شناسایی صحیح VPN در سیستم‌عامل (نمایش آیکون کلید) و پایداری بیشتر در شبکه موبایل.</li>
39+
</ul>
40+
3441
## 🔗 شیوه کار خروجی‌ها
3542

3643
این ابزار کانفیگی تولید می‌کند که ترافیک شما را به این ترتیب مسیریابی می‌کند:
@@ -123,7 +130,7 @@ TLS، Reality، None
123130

124131
## 🛡️ منابع الهام‌بخش (Credits)
125132

126-
این پروژه از منطق و ساختار پروژه متن‌باز [BPB-Worker-Panel](https://github.com/bia-pain-bache/BPB-Worker-Panel) ایده گرفته است.
133+
این پروژه از منطق و ساختار پروژه متن‌باز [BPB-Worker-Panel](https://github.com/bia-pain-bache/BPB-Worker-Panel) و این [ تنظیمات Sing-box](https://gist.github.com/alireza-delavari/62e56af0d59c92b5b1798f1442f90f61) ایده گرفته است.
127134

128135
---
129136
توسعه‌یافته با ❤️ برای حریم خصوصی شما.

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ A powerful, standalone web application to chain two proxy configurations into a
1212
- **ECH Support**: Automatically parses and includes ECH config for secure connections.
1313
- **Client-Side Only**: All processing happens in your browser. No data is sent to any server.
1414

15-
## 📦 Output Formats
16-
1715
| Output | Client |
1816
|--------|--------|
1917
| **Xray JSON** | Use with any Xray-compatible client (v2rayN, v2rayNG, Nekoray, etc.) |
20-
| **Sing-box JSON** | Use with [sing-box](https://sing-box.sagernet.org/) client |
18+
| **Sing-box JSON** | Nested tabs for different client types (see below). |
19+
20+
### 📦 Sing-box Sub-formats
21+
- **Standard**: The regular Sing-box configuration.
22+
- **Nekoray**: High compatibility format optimized for **Nekoray**.
23+
- **Nekobox (Android)**: Optimized for Android with a **TUN inbound**, ensuring proper VPN recognition (key icon) and mobile stability.
2124

2225
## 🔗 How it Works
2326

@@ -71,7 +74,7 @@ TLS, Reality, None
7174

7275
## 🛡️ Credits
7376

74-
This project draws inspiration and logic from the [BPB-Worker-Panel](https://github.com/bia-pain-bache/BPB-Worker-Panel) project.
77+
This project draws inspiration and logic from the [BPB-Worker-Panel](https://github.com/bia-pain-bache/BPB-Worker-Panel) project and this [Sing-box configuration](https://gist.github.com/alireza-delavari/62e56af0d59c92b5b1798f1442f90f61).
7578

7679
---
7780
Built with ❤️ for the privacy community.

index.html

Lines changed: 61 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -238,19 +238,69 @@ <h3>📋 Xray Configuration</h3>
238238

239239
<!-- Sing-box Output -->
240240
<div class="output-panel" id="panel-singbox" data-panel="singbox">
241-
<div class="output-header">
242-
<h3>📋 Sing-box Configuration</h3>
243-
<div class="output-actions">
244-
<button class="btn-copy" id="btn-copy-singbox" title="Copy to clipboard">
245-
<span class="copy-icon">📋</span> Copy
246-
</button>
247-
<button class="btn-download" id="btn-download-singbox" title="Download as JSON">
248-
<span class="download-icon">💾</span> Download
249-
</button>
241+
<!-- Sub Tabs for Sing-box -->
242+
<div class="sub-tabs">
243+
<button class="sub-tab active" data-subtab="singbox-standard">
244+
Standard
245+
</button>
246+
<button class="sub-tab" data-subtab="singbox-nekoray">
247+
Nekoray
248+
</button>
249+
<button class="sub-tab" data-subtab="singbox-nekobox">
250+
Nekobox
251+
</button>
252+
</div>
253+
254+
<!-- Sub Panel: Standard -->
255+
<div class="sub-panel active" id="subpanel-singbox-standard">
256+
<div class="output-header">
257+
<h3>📋 Sing-box Configuration</h3>
258+
<div class="output-actions">
259+
<button class="btn-copy" id="btn-copy-singbox" title="Copy to clipboard">
260+
<span class="copy-icon">📋</span> Copy
261+
</button>
262+
<button class="btn-download" id="btn-download-singbox" title="Download as JSON">
263+
<span class="download-icon">💾</span> Download
264+
</button>
265+
</div>
266+
</div>
267+
<div class="output-remark" id="output-remark-singbox"></div>
268+
<pre class="output-code"><code id="output-json-singbox"></code></pre>
269+
</div>
270+
271+
<!-- Sub Panel: Nekoray -->
272+
<div class="sub-panel" id="subpanel-singbox-nekoray">
273+
<div class="output-header">
274+
<h3>📋 Nekoray Configuration</h3>
275+
<div class="output-actions">
276+
<button class="btn-copy" id="btn-copy-singbox-client" title="Copy to clipboard">
277+
<span class="copy-icon">📋</span> Copy
278+
</button>
279+
<button class="btn-download" id="btn-download-singbox-client" title="Download as JSON">
280+
<span class="download-icon">💾</span> Download
281+
</button>
282+
</div>
283+
</div>
284+
<div class="output-remark" id="output-remark-singbox-client"></div>
285+
<pre class="output-code"><code id="output-json-singbox-client"></code></pre>
286+
</div>
287+
288+
<!-- Sub Panel: Nekobox -->
289+
<div class="sub-panel" id="subpanel-singbox-nekobox">
290+
<div class="output-header">
291+
<h3>📋 Nekobox Configuration</h3>
292+
<div class="output-actions">
293+
<button class="btn-copy" id="btn-copy-nekobox" title="Copy to clipboard">
294+
<span class="copy-icon">📋</span> Copy
295+
</button>
296+
<button class="btn-download" id="btn-download-nekobox" title="Download as JSON">
297+
<span class="download-icon">💾</span> Download
298+
</button>
299+
</div>
250300
</div>
301+
<div class="output-remark" id="output-remark-nekobox"></div>
302+
<pre class="output-code"><code id="output-json-nekobox"></code></pre>
251303
</div>
252-
<div class="output-remark" id="output-remark-singbox"></div>
253-
<pre class="output-code"><code id="output-json-singbox"></code></pre>
254304
</div>
255305
</div>
256306

0 commit comments

Comments
 (0)