Loading repository data…
Loading repository data…
harsxv / repository
Tiny status page generated by a Python script
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
TinyStatus is a simple, customizable status page generator that allows you to monitor the status of various services and display them on a clean, responsive web page.
Check out an online demo https://status.harry.id
| Light Mode | Dark Mode |
|---|---|
Clone the repository or download the source code:
git clone https://github.com/harsxv/tinystatus.git
cd tinystatus
Install the required dependencies:
pip install -r requirements.txt
Create a .env file in the project root and customize the variables:
MONITOR_CONTINOUSLY=True
CHECK_INTERVAL=30
MAX_HISTORY_ENTRIES=100
LOG_LEVEL=INFO
CHECKS_FILE=checks.yaml
INCIDENTS_FILE=incidents.md
TEMPLATE_FILE=index.html.theme
HISTORY_TEMPLATE_FILE=history.html.theme
STATUS_HISTORY_FILE=history.json
HTML_OUTPUT_DIRECTORY=/var/www/htdocs/status/
Edit the checks.yaml file to add or modify the services you want to monitor.
Example:
- title: 'Group 1'
checks:
- name: GitHub Home
type: http
host: https://github.com
url: https://docs.github.com/en
expected_code: 200
- name: Google Public DNS
type: ping
host: 8.8.8.8
- name: Dummy MySQL Database
type: port
host: db.example.com
port: 3306
- name: Home Server with Self-Signed Certs
type: http
host: https://homeserver.local
ssc: True
expected_code: 200
(Optional) Customize the incidents.md file to add any known incidents or maintenance schedules.
(Optional) Modify the index.html.theme and history.html.theme files to customize the look and feel of your status pages.
Run the TinyStatus script:
python tinystatus.py
The script will generate three files:
index.html: The main status pagehistory.html: The status history pagehistory.json: The status history and timestamp dataTo keep the status page continuously updated, you can run the script in the background:
nohup python tinystatus.py &
Serve the generated HTML files using your preferred web server (e.g., Apache, NGINX, or a simple Python HTTP server for testing).
In order to run the script using Docker:
docker build -t tinystatus .
docker run -ti --rm --name tinystatus -v "$PWD":/usr/src/myapp -w /usr/src/myapp tinystatus
.env file to customize the behavior of TinyStatus.index.html.theme and history.html.theme.checks.yaml file.TinyStatus porting are available in:
Contributions are, of course, most welcome!
This project is open source and available under the MIT License.