Giter VIP home page Giter VIP logo

nodestatus-on-glitch's Introduction

NodeStatus-on-Glitch

鸣谢

概述

本项目用于在 Glitch 免费服务上部署 NodeStatus 探针服务端。

注意

请勿滥用,账号封禁风险自负。

变量

对部署时设定的变量做如下说明。

变量 默认值 说明
DATABASE `` 数据库连接 URL
WEB_PASSWORD `` 管理面板密码
NO_HEADER Enable 禁用标题图片
WEB_TITLE `` 标题文字
WEB_SUBTITLE `` 副标题文字

更多变量设置详见: https://github.com/cokemine/nodestatus#environment

数据持久化

由于免费 Glitch 项目只能是公开项目,强烈建议连接外部数据库。

bit.to 免费 PostgreSQL 数据库:

  1. 前往 https://bit.io/ 注册账号,并新建一个数据库。
  2. 点击数据库名称,进入数据库管理页面,点击左侧的 Connection,复制 "Postgres Connection" 下方字符串即为数据库连接 URL。
  3. 注意要把数据库连接 URL 中最后一个 "/" 替换为 "." , 例如结尾的 user/mydatabase 要改为 user.database 。

部署

前往 glitch.com 注册账户,然后点击下面按钮:

Remix on Glitch

点击左侧文件列表中的 .env 文件,按上文所述设置环境变量。

然后点击页面下方 TERMINAL,执行 refresh 命令,稍等片刻即部署完成。

通过 Cloudflare 反向代理设置自定义域名

https://github.com/wy580477/PaaS-Related/blob/main/CF_Workers_Reverse_Proxy_chs_simple.md

nodestatus-on-glitch's People

Contributors

wy580477 avatar

Watchers

 avatar

Forkers

future13800

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.