repos
/ status-rust master

status-rust

mirror archived upstream

Single-binary self-hosted uptime monitoring and status pages on Rust axum: HTTP probes, Lighthouse audits, SEO crawler, and PDF reports.

axumdockerrustself-hostedsqlitestatus-pageuptime-monitoringvite

1.3 KB · 40 lines · markdown Raw History
 1# {{ property.name }}
 2
 3`{{ property.url }}`
 4
 5## Snapshot
 6
 7- Current status: **{{ property.current_status }}**
 8- Average response: **{{ property.avg_response_time }} ms**
 9- Recent uptime: {% if property.recent_uptime_pct is not none %}**{{ property.recent_uptime_pct }}%**{% else %}n/a{% endif %}
10- Total checks logged: **{{ property.total_checks }}**
11
12## Lighthouse
13{% if property.lighthouse_scores %}
14{% for k, v in property.lighthouse_scores | items %}
15- {{ k }}: **{{ v }}**
16{% endfor %}
17{% else %}
18_No lighthouse data._
19{% endif %}
20
21## Security headers
22
23| Header | State |
24|---|---|
25| HTTPS | {% if property.is_https %}yes{% else %}no{% endif %} |
26| HSTS (1y+) | {% if property.has_hsts %}yes{% else %}no{% endif %} |
27| HSTS preload | {% if property.has_hsts_preload %}yes{% else %}no{% endif %} |
28| X-Frame-Options | {% if property.has_clickjack_protection %}set{% else %}missing{% endif %} |
29| X-Content-Type-Options | {% if property.has_content_sniffing_protection %}nosniff{% else %}missing{% endif %} |
30| Server header hidden | {% if property.hides_server_version %}yes{% else %}no{% endif %} |
31
32## SEO insights
33{% if property.crawler_insights and property.crawler_insights | length > 0 %}
34{% for i in property.crawler_insights %}
35- [{{ i.severity }}] [{{ i.type }}] {{ i.issue }}: `{{ i.url }}`
36{% endfor %}
37{% else %}
38_No crawl results yet._
39{% endif %}