Skip to content

yuxqiu/Are-You-OK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Are-You-OK

GitHub issues GitHub issues GitHub stars GitHub license

Are-You-OK is a Flask-based, responsive Web App to monitor whether the Internet Service you care about is still working.

Demo-Preview

Banner

Get Started

Before using this project, please make sure you have:

  • Python
  • Flask

To use it, you should first clone the repo on your device using the command below:

git clone https://github.com/qyxtim/Are-You-OK.git

Then, cd into the directory you want to access and use the command below to set up your database, and administrator username and password:

python init_db.oy

Then, just type flask run and enjoy.

Development

The implementation of this Web App is split into five files:

  • init_db.py initializes the database
  • app.py is in charge of using flask to create correct routing
  • login.py provides the functionality to check whether the user is logged in
  • network.py provides two functions. is_valid_url is used to check the validity of the user's input url. ping is used to check whether the online service is still working
  • db.py enables the database to be opened by Context Manager

New Features in the Future

  • Error Handling
  • Delete websites added before

License

GNU General Public License version 3

About

A Flask-based responsive Web App to monitor whether the Internet Service you care about is still working

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published