Changeset - 8277b8bac851
[Not reviewed]
0 1 0
x - 15 months ago 2024-01-05 02:38:57
xbr@c3l.lu
docs: remove done frontend plans
1 file changed with 0 insertions and 6 deletions:
0 comments (0 inline, 0 general)
README.md
Show inline comments
 
# X days since last outage caused by TLS expiry
 

	
 
How often does your infrastructure break because you forgot to automate TLS renewal, or because it broke?
 

	
 
Find out by rolling out this tool with the domains and services!
 

	
 
## Plans
 

	
 
### Backend
 

	
 
- Python script for backend
 
- check each domain's tls cert using [`ssl` library](https://docs.python.org/3/library/ssl.html)
 
- use file(s) to store:
 
  - domains
 
  - expiry status *per* domain
 
  - log of outages
 
- cronjob at the start (every 1-5 minutes)
 

	
 
### Frontend
 

	
 
- Basic HTML
 
  - simple CSS
 
  - title at the top "Days since last outage caused by TLS expiry:"
 
  - big centered number in the middle for time since last outage
 
  - list of domains and their expiry status underneath
 
  - log of outages underneath
 
- Javascript
 
  - fetch generated JSON from "backend" (web server)
 
    - every X seconds
 
  - re-render the counter every second
0 comments (0 inline, 0 general)