Skip to content

Commit

Permalink
Merge pull request #1 from bia-pain-bache/main
Browse files Browse the repository at this point in the history
UP-BPB-Worker-Panel
  • Loading branch information
Archie417 authored Jan 21, 2025
2 parents d047ba6 + 78030fa commit d1cb440
Show file tree
Hide file tree
Showing 42 changed files with 15,735 additions and 14,272 deletions.
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,11 @@ body:
label: Relevant log output | لاگ برنامه یا پنل
description: Refer to the program menu and copy the log and send it to us.
render: shell
validations:
required: true
- type: textarea
id: panel-version
attributes:
label: Panel version | نسخه‌ی پنل
validations:
required: true
16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE/feature_request.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Build and Deploy Worker

on:
push:
branches:
- dev

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Check out the code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "latest"

- name: Install dependencies
run: npm install

- name: Build project
run: |
npx wrangler deploy src/worker.js --name bpb-worker-panel --compatibility-flag [nodejs_compat] --compatibility-date 2024-10-26 --dry-run --outdir=dist
cp -f dist/worker.js unobfuscated/worker.js
npx javascript-obfuscator --config ./obfs-config.json dist/worker.js --output _worker.js
- name: Commit and push built worker
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add _worker.js
git add -f unobfuscated/worker.js
git commit -m "Automated build: update _worker.js"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
*
!README.md
!README_fa.md
!CF优选反代IP(电脑版).zip
!CDN优选域名V23.8.18(电脑win64).exe
!location.json
!_worker.js
!docs/
!docs/**
!.github/
!.github/**
!src/
!src/**
!src/**
!package.json
!obfs-config.json
Binary file removed CDN优选域名V23.8.18(电脑win64).exe
Binary file not shown.
Binary file removed CF优选反代IP(电脑版).zip
Binary file not shown.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ This project is dedicated to developing a user panel for the [Cloudflare-workers
<br>

## How to use:
- [Installation (Pages - New recommended method)](docs/pages_upload_installation_fa.md)

- [Installation (Pages)](docs/pages_installation_fa.md)

- [Installation (Worker)](docs/worker_installation_fa.md)

- [Scanning Proxy IP](docs/proxy-ip-scanner.md)

- [How to use](docs/configuration_fa.md)

- [FAQ](docs/faq.md)
Expand All @@ -49,7 +49,7 @@ This project is dedicated to developing a user panel for the [Cloudflare-workers
| **v2rayN** | 6.42 or higher | :heavy_check_mark: | :x: |
| **v2rayN-PRO** | 1.4 or higher | :heavy_check_mark: | :heavy_check_mark: |
| **Nekobox** | | :x: | :x: |
| **Sing-box** | 1.8.10 or higher | :x: | :x: |
| **Sing-box** | 1.10.1 or higher | :x: | :x: |
| **Streisand** | | :heavy_check_mark: | :x: |
| **V2Box** | | :x: | :x: |
| **Shadowrocket** | | :x: | :x: |
Expand Down
6 changes: 3 additions & 3 deletions README_fa.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
<br><br>

## نحوه‌ی راه‌اندازی، تنظیمات و استفاده
- [روش جدید پیشنهادی نصب به صورت Pages](docs/pages_upload_installation_fa.md)
- [نصب به صورت Pages](docs/pages_installation_fa.md)
- [نصب به صورت Worker](docs/worker_installation_fa.md)
- [پیدا کردن Proxy IP](docs/proxy-ip-scanner.md)
- [نصب به صورت Workers](docs/worker_installation_fa.md)
- [نحوه استفاده از پنل](docs/configuration_fa.md)
- [پرسش‌های متداول (FAQ)](docs/faq.md)
<br>
Expand Down Expand Up @@ -82,7 +82,7 @@
</tr>
<tr>
<td><b>Sing-box</b></td>
<td>1.8.10 و بالاتر</td>
<td>1.10.1 و بالاتر</td>
<td>❌</td>
<td>❌</td>
</tr>
Expand Down
Loading

0 comments on commit d1cb440

Please sign in to comment.