diff --git a/apps/npc/0.26.18/.env.sample b/apps/npc/0.26.18/.env.sample new file mode 100644 index 00000000..0db84103 --- /dev/null +++ b/apps/npc/0.26.18/.env.sample @@ -0,0 +1,4 @@ +CONTAINER_NAME="npc" +NPS_SERVER_ADDR="1.2.3.4:8025" +NPS_VKEY="xly7traGe3r0t6UWltristuh1" +TLS_ENABLE_SWITCH="true" diff --git a/apps/npc/0.26.18/data.yml b/apps/npc/0.26.18/data.yml new file mode 100644 index 00000000..9d78d940 --- /dev/null +++ b/apps/npc/0.26.18/data.yml @@ -0,0 +1,28 @@ +additionalProperties: + formFields: + - default: 1.2.3.4:8025 + edit: true + envKey: NPS_SERVER_ADDR + labelEn: NPS server address + labelZh: NPS 服务端地址 + required: true + type: text + - default: "xly7traGe3r0t6UWltristuh1" + edit: true + envKey: NPS_VKEY + labelEn: Client connection key displayed by the server + labelZh: 服务端显示的客户端连接密钥 + required: true + rule: paramCommon + type: text + - default: "true" + envKey: TLS_ENABLE_SWITCH + labelEn: Whether TLS is enabled for server-client communication + labelZh: 服务端与客户端的通信是否启用 TLS + required: true + type: select + values: + - label: "True" + value: "true" + - label: "False" + value: "false" diff --git a/apps/npc/0.26.18/docker-compose.yml b/apps/npc/0.26.18/docker-compose.yml new file mode 100644 index 00000000..e3a75640 --- /dev/null +++ b/apps/npc/0.26.18/docker-compose.yml @@ -0,0 +1,10 @@ +version: '3' +services: + npc: + image: yisier1/npc:v0.26.18 + restart: always + network_mode: "host" + command: -server=${NPS_SERVER_ADDR} -vkey=${NPS_VKEY} -tls_enable=${TLS_ENABLE_SWITCH} + container_name: ${CONTAINER_NAME} + labels: + createdBy: "Apps" diff --git a/apps/npc/README.md b/apps/npc/README.md new file mode 100644 index 00000000..4950ec61 --- /dev/null +++ b/apps/npc/README.md @@ -0,0 +1,10 @@ +# NPS + +[README](https://github.com/ehang-io/nps/blob/master/README.md)|[中文文档](https://github.com/ehang-io/nps/blob/master/README_zh.md) + +# 说明 +由于nps已经有二年多的时间没有更新了,存留了不少bug和未完善的功能。 + +此版本基于 nps 0.26.10的基础上二次开发而来。 + +***DockerHub***: [NPS](https://hub.docker.com/r/yisier1/nps) [NPC](https://hub.docker.com/r/yisier1/npc) diff --git a/apps/npc/data.yml b/apps/npc/data.yml new file mode 100644 index 00000000..a7f9d497 --- /dev/null +++ b/apps/npc/data.yml @@ -0,0 +1,20 @@ +name: NPC +tags: + - 工具 +title: 内网穿透代理服务器 NPS 的客户端 +type: 工具 +description: 内网穿透代理服务器 NPS 的客户端 +additionalProperties: + key: npc + name: NPC + tags: + - Tool + shortDescZh: 内网穿透代理服务器 NPS 的客户端 + shortDescEn: Intranet Penetrating Proxy Server NPS Client + type: tool + crossVersionUpdate: true + limit: 1 + recommend: 0 + website: https://ehang-io.github.io/nps + github: https://github.com/yisier/nps + document: https://ehang-io.github.io/nps diff --git a/apps/npc/latest/.env.sample b/apps/npc/latest/.env.sample new file mode 100644 index 00000000..0db84103 --- /dev/null +++ b/apps/npc/latest/.env.sample @@ -0,0 +1,4 @@ +CONTAINER_NAME="npc" +NPS_SERVER_ADDR="1.2.3.4:8025" +NPS_VKEY="xly7traGe3r0t6UWltristuh1" +TLS_ENABLE_SWITCH="true" diff --git a/apps/npc/latest/data.yml b/apps/npc/latest/data.yml new file mode 100644 index 00000000..9d78d940 --- /dev/null +++ b/apps/npc/latest/data.yml @@ -0,0 +1,28 @@ +additionalProperties: + formFields: + - default: 1.2.3.4:8025 + edit: true + envKey: NPS_SERVER_ADDR + labelEn: NPS server address + labelZh: NPS 服务端地址 + required: true + type: text + - default: "xly7traGe3r0t6UWltristuh1" + edit: true + envKey: NPS_VKEY + labelEn: Client connection key displayed by the server + labelZh: 服务端显示的客户端连接密钥 + required: true + rule: paramCommon + type: text + - default: "true" + envKey: TLS_ENABLE_SWITCH + labelEn: Whether TLS is enabled for server-client communication + labelZh: 服务端与客户端的通信是否启用 TLS + required: true + type: select + values: + - label: "True" + value: "true" + - label: "False" + value: "false" diff --git a/apps/npc/latest/docker-compose.yml b/apps/npc/latest/docker-compose.yml new file mode 100644 index 00000000..0bee7687 --- /dev/null +++ b/apps/npc/latest/docker-compose.yml @@ -0,0 +1,10 @@ +version: '3' +services: + npc: + image: yisier1/npc:latest + restart: always + network_mode: "host" + command: -server=${NPS_SERVER_ADDR} -vkey=${NPS_VKEY} -tls_enable=${TLS_ENABLE_SWITCH} + container_name: ${CONTAINER_NAME} + labels: + createdBy: "Apps" diff --git a/apps/npc/logo.png b/apps/npc/logo.png new file mode 100644 index 00000000..39ec7331 Binary files /dev/null and b/apps/npc/logo.png differ