GithubHelp home page GithubHelp logo

ah-dark / uptimepage Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 3.0 462 KB

Static Page for UptimeRobot. Powered by Next.js

Home Page: https://uptime-page.vercel.app/

License: MIT License

TypeScript 95.30% JavaScript 4.70%
uptimerobot-api reactjs nextjs typescript

uptimepage's Introduction

UptimePage

Static Page for UptimeRobot. Powered by Next.js


配置

配置文件都位于 config.ts 中,你可以Fork仓库后自行修改配置。

变量名 描述 样例
Config.siteName 站点名 AHdark Status
Config.logo 站点Logo https://q2.a1pic.cn/2022/01/01/gtUy.jpg
Debug 调试模式 false

API Key

请自行前往https://uptimerobot.com/获取只读权限的API Key,全读写权限将有安全隐患。

API Key需要配置在环境变量中,你可以在Vercel部署时添加环境变量,或在项目根目录下添加.env文件。

原有在config.js中配置API Key并不足够安全,或者说无法给用户带来足够的安全感,即使是使用只读权限的Key。

你可以同时使用多个API Key,只需使用:分隔每个API Key即可。

通过环境变量APIKEY_SPLIT可以自定义分隔符,比如你可以设置为114514,但我不建议你这么搞。

Debug

设置环境变量DEBUGtrue即可开启Debug模式,开启后Console将显示部分请求的详细信息。

开发进度

请前往 Project 栏目查看:https://github.com/AH-dark/UptimePage/projects/1

License

MIT License

Copyright (c) 2021 AHdark

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

严禁移除底部版权标识

uptimepage's People

Contributors

ah-dark avatar dependabot[bot] avatar fossabot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.