发布应用 NodePassDash

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
Meng Sen
2025-06-25 13:21:28 +08:00
parent cc22d3dda8
commit b282c846fe
13 changed files with 173 additions and 0 deletions

1
.github/README.md vendored
View File

@@ -121,6 +121,7 @@
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/nginx-ui/logo.png" width="22"/> | Nginx UI | https://nginxui.com/ | 全新的 Nginx 网络管理界面,旨在简化 Nginx 服务器的管理和配置 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/nocodb/logo.png" width="22"/> | NocoDB | https://nocodb.com/ | 无代码数据库平台 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/nodebb/logo.png" width="22"/> | NodeBB | https://nodebb.org/ | 一个更适合现代网络的社会平台 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/nodepassdash/logo.png" width="22"/> | NodePassDash | https://github.com/NodePassProject/NodePassDash/ | 现代化的 NodePass 管理界面 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/ollama/logo.png" width="22"/> | Ollama | https://ollama.com/ | 一站式大模型部署平台 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/onedev/logo.png" width="22"/> | OneDev | https://onedev.io/ | DevOps 平台、带有 CI/CD、看板和软件包的 Git 服务器 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/open-webui/logo.png" width="22"/> | Open Webui | https://openwebui.com/ | 用户友好的 AI 界面 | |

View File

@@ -116,6 +116,7 @@
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/nginx-ui/logo.png" width="22"/> | Nginx UI | https://nginxui.com/ | 全新的 Nginx 网络管理界面,旨在简化 Nginx 服务器的管理和配置 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/nocodb/logo.png" width="22"/> | NocoDB | https://nocodb.com/ | 无代码数据库平台 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/nodebb/logo.png" width="22"/> | NodeBB | https://nodebb.org/ | 一个更适合现代网络的社会平台 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/nodepassdash/logo.png" width="22"/> | NodePassDash | https://github.com/NodePassProject/NodePassDash/ | 现代化的 NodePass 管理界面 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/ollama/logo.png" width="22"/> | Ollama | https://ollama.com/ | 一站式大模型部署平台 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/onedev/logo.png" width="22"/> | OneDev | https://onedev.io/ | DevOps 平台、带有 CI/CD、看板和软件包的 Git 服务器 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/open-webui/logo.png" width="22"/> | Open Webui | https://openwebui.com/ | 用户友好的 AI 界面 | |

View File

@@ -0,0 +1,33 @@
additionalProperties:
formFields:
- default: "host"
edit: true
envKey: NETWORK_MODE
labelZh: 网络模式
labelEn: Network mode
required: true
type: select
values:
- label: 主机网络模式
value: "host"
- label: 桥接网络模式
value: "bridge"
- label: 无网络模式
value: "none"
- label: 1panel-network
value: "1panel-network"
- default: "/home/nodepassdash"
edit: true
envKey: NODEPASSDASH_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 3000
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number

View File

@@ -0,0 +1,23 @@
networks:
1panel-network:
external: true
services:
nodepassdash:
image: ghcr.io/nodepassproject/nodepassdash:2.0.2
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
network_mode: ${NETWORK_MODE}
ports:
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${NODEPASSDASH_ROOT_PATH}/logs:/app/logs
- ${NODEPASSDASH_ROOT_PATH}/public:/app/public
environment:
- TZ=Asia/Shanghai
- PORT=${PANEL_APP_PORT_HTTP}

View File

@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@@ -0,0 +1,41 @@
# NodePassDash
NodePassDash是一个现代化的 NodePass 管理界面,基于 Go 后端 + Next.js 14、HeroUI 和 TypeScript 构建。提供实时隧道监控、流量统计和端点管理功能。
![NodePassDash](https://file.lifebus.top/imgs/nodepassdash_cover.png)
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
## 初始化
通过日志获取
## 特性
🚀 高性能 Go 后端: 完全重构的 Go 后端,性能提升 300%+,内存占用降低 60%
🎯 实时监控: 通过 Server-Sent Events (SSE) 实现实时隧道状态更新
📊 流量统计: 可视化显示隧道流量数据和性能指标
🎨 现代UI: 基于 HeroUI 的响应式设计,支持深色/浅色主题
📱 移动适配: 完整的移动端响应式布局,支持各种设备访问
🐳 容器化: 开箱即用的 Docker 部署方案
🔧 命令行工具: 支持密码重置和自定义端口等管理功能
## 快捷操作
以下命令行均在容器中执行
### 密码重置
```shell
./nodepassdash --reset-pwd
```
---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)

View File

@@ -0,0 +1,14 @@
additionalProperties:
key: nodepassdash
name: NodePassDash
tags:
- WebSite
- Local
shortDescZh: 现代化的 NodePass 管理界面
shortDescEn: NodePass Dashboard
type: website
crossVersionUpdate: true
limit: 0
website: https://github.com/NodePassProject/NodePassDash/
github: https://github.com/NodePassProject/NodePassDash/
document: https://github.com/NodePassProject/NodePassDash/

BIN
apps/nodepassdash/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -0,0 +1,12 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 480">
<!-- Rounded Rectangle Background -->
<rect width="480" height="480" rx="24" ry="24" fill="#FFFFFF"/>
<!-- NodePass Logo -->
<g transform="translate(64, 57.2)">
<svg xmlns="http://www.w3.org/2000/svg" width="352" height="365.6" viewBox="0 0 448 512">
<path fill="#000000"
d="M248 106.6c18.9-9 32-28.3 32-50.6c0-30.9-25.1-56-56-56s-56 25.1-56 56c0 22.3 13.1 41.6 32 50.6v98.8c-2.8 1.3-5.5 2.9-8 4.7l-80.1-45.8c1.6-20.8-8.6-41.6-27.9-52.8C57.2 96 23 105.2 7.5 132S1.2 193 28 208.5c1.3.8 2.6 1.5 4 2.1v90.8c-1.3.6-2.7 1.3-4 2.1C1.2 319-8 353.2 7.5 380s49.7 36 76.5 20.5c19.3-11.1 29.4-32 27.8-52.8l50.5-28.9c-11.5-11.2-19.9-25.6-23.8-41.7l-50.5 29c-2.6-1.8-5.2-3.3-8-4.7v-90.8c2.8-1.3 5.5-2.9 8-4.7l80.1 45.8c-.1 1.4-.2 2.8-.2 4.3c0 22.3 13.1 41.6 32 50.6v98.8c-18.9 9-32 28.3-32 50.6c0 30.9 25.1 56 56 56s56-25.1 56-56c0-22.3-13.1-41.6-32-50.6v-98.8c2.8-1.3 5.5-2.9 8-4.7l80.1 45.8c-1.6 20.8 8.6 41.6 27.8 52.8c26.8 15.5 61 6.3 76.5-20.5s6.3-61-20.5-76.5c-1.3-.8-2.7-1.5-4-2.1v-90.8c1.4-.6 2.7-1.3 4-2.1c26.8-15.5 36-49.7 20.5-76.5s-49.5-36-76.3-20.5c-19.3 11.1-29.4 32-27.8 52.8l-50.6 28.9c11.5 11.2 19.9 25.6 23.8 41.7l50.6-29c2.6 1.8 5.2 3.3 8 4.7v90.8c-2.8 1.3-5.5 2.9-8 4.6l-80.1-45.8c.1-1.4.2-2.8.2-4.3c0-22.3-13.1-41.6-32-50.6v-98.8z"/>
</svg>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB