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

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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uptime-status's Issues

Reverse days status

Hi! Please tell me how to change the display of statuses by day? I want the current day to be on the right side.

跨域报错

报错信息:

Access to XMLHttpRequest at 'https://api.uptimerobot.com/v2/getMonitors' from origin 'https://status.org.cn' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

image

请问怎么改网站的样式?

已经把项目git下来了,发现有个public目录,就设置了运行目录,然后打开就不显示任何东西。自带的也不显示,请问标题还有这个问题怎么解决?

如何重新打包檔案?

如題,我自己修改了一下部分的CSS檔案,想請問應該要如何重新打包檔案才能正常使用呢?

速度问题

CF太慢了,我建议你国内用freecdn.pw,海外切CF

大佬 现在是失效了嘛

我下载了release的压缩包,修改了config.js里面的ApiKeys,SiteName,SiteUrl key用的是Read-Only只读key,打开index.html 一片空白 0.0

跨域失效了

cf workers跨域办法失效了。我看演示站的也打不开了。

显示空白页面

使用宝塔面板安装的,为什么显示出来的是个空白页面?

能不能把日期从左到右排?

您好,我看到您做的这个页面特别漂亮,部署也非常的方便,但是我发现日期排列是从右到左排的,这于我们的习惯不符,您能不能改一下,感谢🙏

跨日故障时间截断问题

我的服务器因为出了些故障停了一周,出现了这样的问题:
image
image
能想办法如果某个故障时间大于24小时,就进行拆分吗?

PC浏览器访问不显示数据

不论是自己搭建的还是演示站,在PC上换了3个浏览器,页面能正常显示,但显示数据的部分一直转圈,用手机访问正常,这是哪的问题?

不支持显示特殊符号

你好,你这个项目真的很棒
但是似乎没有对特殊符号进行处理
这是显示出来的效果
image
这是在UptimeRobot控制台显示的效果
image
似乎官方的API返回的就是这样子的,是不是需要特殊处理?
{"stat":"ok","pagination":{"offset":0,"limit":50,"total":1},"monitors":[{"id":785645632,"friendly_name":"新浪微博(接口)",

更新变慢了

添加 或 删除 后,web要很久才能更新,,速度没有上一个版本快,
请问 能修改一下更新速度吗?

节点名称转义符好像没有替代

我看到我的页面上的[]没有换成"["和"]"
return encodeURIComponent(e).replace(/%40/gi, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]")
我找到了前面替代url的部分,但是不知道哪个值是nodename
麻烦大佬改一下

cloudfare反代错误

采用cloudfare反代后访问反代域名,提示如下错误:
Server Error in '/' Application.
Access is denied.
Description: An error occurred while accessing the resources required to serve this request. You might not have permission to view the requested resources.

Error message 401.3: You do not have permission to view this directory or page using the credentials you supplied (access denied due to Access Control Lists). Ask the Web server's administrator to give you access.

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.