mirror of
https://github.com/okxlin/appstore.git
synced 2025-07-13 12:52:18 +08:00
feat:调整script-hub
This commit is contained in:
parent
5a1e809966
commit
f49511b547
@ -1,8 +1,4 @@
|
||||
<div align="center">
|
||||
<br>
|
||||
<img width="200" src="https://raw.githubusercontent.com/Script-Hub-Org/Script-Hub/main/assets/icon-dark.png" alt="Script Hub">
|
||||
<br>
|
||||
<br>
|
||||
<h1 align="center">Script Hub<h1>
|
||||
</div>
|
||||
|
||||
@ -13,13 +9,6 @@ Advanced Script Converter for QX, Loon, Surge, Stash, Egern, LanceX and Shadowro
|
||||
重写 & 规则集转换
|
||||
</p>
|
||||
|
||||
## 社群
|
||||
|
||||
👏🏻 欢迎加入社群进行交流讨论
|
||||
|
||||
👥 群组 [张佩服(群组)](https://t.me/zhangpeifu) & [折腾啥(群组)](https://t.me/zhetengsha_group)
|
||||
|
||||
📢 频道 [张佩服(频道)](https://t.me/h5683577) & [折腾啥(频道)](https://t.me/zhetengsha)
|
||||
|
||||
## 简介
|
||||
|
||||
@ -48,18 +37,3 @@ Advanced Script Converter for QX, Loon, Surge, Stash, Egern, LanceX and Shadowro
|
||||
## 文档
|
||||
|
||||
[安装体验请查看文档](https://github.com/Script-Hub-Org/Script-Hub/wiki)
|
||||
|
||||
## 鸣谢
|
||||
Powered by [_@Chavy‘s_](https://github.com/chavyleung) [Env.js](https://github.com/chavyleung/scripts)
|
||||
原脚本作者 @小白脸
|
||||
脚本修改[_@chengkongyiban_](https://github.com/chengkongyiban)
|
||||
大量借鉴[_@KOP-XIAO_](https://github.com/KOP-XIAO)佬的[resource-parser.js](https://github.com/KOP-XIAO/QuantumultX/raw/master/Scripts/resource-parser.js)
|
||||
感谢[_@xream_](https://github.com/xream) 佬提供与 [_@keywos_](https://github.com/keywos) 修改 `本项目 Script Hub 网页前端`, [replace-header.js](https://raw.githubusercontent.com/Script-Hub-Org/Script-Hub/main/scripts/replace-header.js),[echo-response.js](https://raw.githubusercontent.com/Script-Hub-Org/Script-Hub/main/scripts/echo-response.js),[script-converter.js](https://raw.githubusercontent.com/Script-Hub-Org/Script-Hub/main/script-converter.js)
|
||||
感谢[_@mieqq_](https://github.com/mieqq) 佬提供的[replace-body.js](https://github.com/mieqq/mieqq/raw/master/replace-body.js), 本项目中已进行修改
|
||||
感谢[_@Maasea_](https://github.com/Maasea) 佬的指导
|
||||
项目 logo 感谢 [_@Toperlock_](https://github.com/Toperlock)
|
||||
插件图标用的 [_@Keikinn_](https://github.com/Keikinn) 佬的 [StickerOnScreen](https://github.com/KeiKinn/StickerOnScreen)项目,以及 [_@Toperlock_](https://github.com/Toperlock) 佬的 [QX 图标库](https://github.com/Toperlock/Quantumult/tree/main/icon)项目,感谢
|
||||
|
||||
## 开发
|
||||
|
||||
`pnpm preview` html 内容的本地预览
|
@ -1,19 +1,19 @@
|
||||
name: Script-Hub
|
||||
tags:
|
||||
- 工具
|
||||
title: 重写 & 规则集转换工具
|
||||
description: 适用于 QX、Loon、Surge、Stash、Egern、LanceX 和 Shadowrocket 的高级脚本转换器
|
||||
- 实用工具
|
||||
title: 高级脚本转换器
|
||||
description: 高级脚本转换器
|
||||
additionalProperties:
|
||||
key: script-hub
|
||||
name: script-hub
|
||||
name: Script-Hub
|
||||
tags:
|
||||
- Tool
|
||||
shortDescZh: 适用于 QX、Loon、Surge、Stash、Egern、LanceX 和 Shadowrocket 的高级脚本转换器
|
||||
shortDescEn: Advanced Script Converter for QX, Loon, Surge, Stash, Egern, LanceX and Shadowrocket
|
||||
shortDescZh: 高级脚本转换器
|
||||
shortDescEn: Advanced Script Converter
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://hub.docker.com/r/xxooyy/script-hub
|
||||
github: https://github.com/Script-Hub-Org/Script-Hub
|
||||
document: https://github.com/Script-Hub-Org/Script-Hub/wiki
|
||||
document: https://github.com/Script-Hub-Org/Script-Hub/wiki
|
||||
|
@ -1,3 +1,5 @@
|
||||
BASE_URL="https://script.localhost.com"
|
||||
BETA_BASE_URL="https://beta.localhost.com"
|
||||
BETA_PORT=40326
|
||||
CONTAINER_NAME="script-hub"
|
||||
PANEL_APP_PORT_HTTP="40248"
|
||||
BASE_URL="https://script.xxxx.com"
|
||||
PANEL_APP_PORT_HTTP=40325
|
||||
|
@ -1,18 +1,34 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40248
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 'https://script.xxxx.com'
|
||||
edit: true
|
||||
envKey: BASE_URL
|
||||
labelEn: Base URL
|
||||
labelZh: 访问域名
|
||||
required: true
|
||||
type: text
|
||||
|
||||
formFields:
|
||||
- default: "40325"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "https://script.localhost.com"
|
||||
edit: true
|
||||
envKey: BASE_URL
|
||||
labelEn: Base URL
|
||||
labelZh: 基本 URL
|
||||
required: true
|
||||
rule: paramExtUrl
|
||||
type: text
|
||||
- default: "40326"
|
||||
edit: true
|
||||
envKey: BETA_PORT
|
||||
labelEn: Beta Port
|
||||
labelZh: Beta 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "https://beta.localhost.com"
|
||||
edit: true
|
||||
envKey: BETA_BASE_URL
|
||||
labelEn: Beta Base URL
|
||||
labelZh: Beta 基本 URL
|
||||
required: true
|
||||
rule: paramExtUrl
|
||||
type: text
|
||||
|
@ -1,17 +1,21 @@
|
||||
services:
|
||||
script-hub:
|
||||
image: xxooyy/script-hub:latest
|
||||
image: "xream/script-hub:latest"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:9100"
|
||||
- "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}"
|
||||
- "${BETA_PORT}:${BETA_PORT}"
|
||||
environment:
|
||||
- PORT=${PANEL_APP_PORT_HTTP}
|
||||
- BASE_URL=${BASE_URL}
|
||||
- BETA_PORT=${BETA_PORT}
|
||||
- BETA_BASE_URL=${BETA_BASE_URL}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
external: true
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 2.3 KiB |
Loading…
Reference in New Issue
Block a user