ITADN
AliMickey/photonglass
AliMickey/photonglass · 文件 下载 ZIP
文件最后提交记录最后更新时间
README.md
以下内容由 AI 翻译,如有问题请点此提交 issue 反馈

photonglass

一款现代、简洁且具有分布式风格的镜像应用,可为网络运营商提供网络洞察功能。

功能特性

  • 多设备支持:通过单个界面连接多个设备。
  • 自定义命令支持:可动态构建,以支持任何自定义命令。
  • 易于部署:极其方便地部署,并可随设备数量增加而扩展。
  • Webhook 日志记录:可将查询记录发送到 webhook 频道(可选)。

Setup (Docker)

  1. Clone repository
    • git clone https://github.com/AliMickey/photonglass.git
  2. Create an instance folder to store your config and logos/favicon
    • cd photonglass
    • mkdir instance
    • mkdir instance/images # Optional
    • mkdir instance/ssh-keys # Optional
  3. Upload logos/favicon and create docker-compose.yml
  4. Build and deploy the container (inital build may take a minute)
    • docker compose up -d --build
  5. Edit the config files created in instance on first start, then restart the container
  6. View the app at http://IP_ADDRESS:5000, recommend using a reverse proxy (traefik) for production use.

致谢

在部署 hyperglass] 时遇到困难,且该工具的功能对我来说过于强大,这才促使我开发了这个项目。本项目并非旨在作为 hyperglass 的 1:1 替代品,因此在设计上保持了简洁性。在发布时,仅测试了 Linux 服务器作为目标设备,且使用了与 hyperglass 相同的设备库(netmiko),因此应能与更多设备兼容,不过请注意这些功能尚未经过测试。