Commit Briefs

4c167d9583 Murilo Ijanc

fix transparent background in light mode screenshot (main)


e96bb6178a Murilo Ijanc

fix clippy output leaking binary into project root


e6ba91a0d9 Murilo Ijanc

add ci target with fmt-check and clippy


8e4d062a47 Murilo Ijanc

organize imports and move libtls bindings to mod ffi


9919a59522 Murilo Ijanc

add screenshot and .gitattributes


09a5b3b724 Murilo Ijanc

add tinystatus reference to README


ccd6608d82 Murilo Ijanc

initial import


Branches

Tags

This repository contains no tags

Tree

.gitattributescommits | blame
.gitignorecommits | blame
.rustfmt.tomlcommits | blame
LICENSEcommits | blame
Makefilecommits | blame
README.mdcommits | blame
asp.1commits | blame
asp.pngcommits | blame
asp.rscommits | blame
checks.csvcommits | blame
incidents.txtcommits | blame

README.md

asp - Ana Status Page
==================================
asp is a minimal status page generator written in Rust.
It reads service checks from a CSV file, runs them in parallel,
and outputs a static HTML page.  HTTPS uses libtls(3) from
LibreSSL.

![asp screenshot](asp.png)


Requirements
------------
- rustc (edition 2024)
- libtls (LibreSSL or LibreTLS)
- ping(8) for ICMP checks


Installation
------------
Edit Makefile to match your local setup (asp is installed into
the /usr/local/bin namespace by default).

Afterwards enter the following command to build and install asp:

    make clean install


Running asp
-----------
Create a checks.csv file:

    group,  0,    Web,       -
    http,   200,  Website,   https://example.com
    ping,   0,    DNS,       8.8.8.8
    port,   0,    SSH,       example.com 22

Generate the status page:

    asp -f checks.csv > status.html

Use with cron(8) for periodic updates:

    */5 * * * * asp -f /etc/asp/checks.csv > /var/www/status.html


Configuration
-------------
See asp(1) for the full CSV format and options:

    man asp


Download
--------
    got clone ssh://anon@ijanc.org/asp
    git clone https://git.ijanc.org/asp.git
    git clone https://git.sr.ht/~ijanc/asp
    git clone https://github.com/ijanc/asp.git


Inspired by
-----------
- tinystatus — https://github.com/bderenzo/tinystatus


License
-------
ISC — see LICENSE.