Code Monkey home page Code Monkey logo

uptime-status's Introduction

uptime-status

一个基于 UptimeRobot API 的在线状态面板

image

事先准备

  • 您需要先到 UptimeRobot 添加站点监控,并在 My Settings 页面获取 API Key
  • 您需要拥有一个网站空间,常见的 Nginx / PHP 等空间即可,甚至是阿里云的 OSS 等纯静态空间也行

如何部署:

  • 下载并解压缩:uptime-status.zip
  • 修改 config.js 文件:
    • SiteName: 要显示的网站名称
    • ApiKeys: 从 UptimeRobot 获取的 API Key,支持 Monitor-Specific API Keys 和 Read-Only API Key
    • CountDays: 要显示的日志天数,建议 60 或 90,显示效果比较好
    • ShowLink: 是否显示站点链接
    • Navi: 导航栏的菜单列表
  • 将所有文件上传到网站空间

⚠️ 如果没有修改代码的需求,您不需要 git clone 本项目,只需要下载 Release 的文件包即可。

uptime-status's People

Contributors

geekyouth avatar yb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

uptime-status's Issues

ShowLink bug with port monitor

I tried to set a port monitor and turn the ShowLink on

Then the status link will redirect to $StatusSiteUrl/$PortMonitorSite

Here's a sample:

Monitor: 1.1.1.1:443
Status page: a.com

Click the link in the status page

I will visit a.com/1.1.1.1

"nodename" escape character does not seem to be fixed yet

I have just found that [] haven't replaced with "[" and "]" after I deployed it on my hosting. It looks weird when I have [] in the nodename. See sample at https://status.qnid.cc
Otherwise, I found it uses replace function in the js to replace urls. I believe we can do it with nodename. However, I can't determine which variable is associated with nodename. Could you help me check that? Thanks
return encodeURIComponent(e).replace(/%40/gi, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]")

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.