mirror of
https://github.com/matrix-org/homeserver-certs-status.git
synced 2026-11-17 03:40:40 +00:00
Used to generate stats for arewereadyyet.com
- JavaScript 58.1%
- HTML 37.3%
- Shell 2.8%
- Dockerfile 1.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .gitignore | ||
| Dockerfile | ||
| history.txt | ||
| homeservers.sql | ||
| index-template.html | ||
| output-html.js | ||
| package-lock.json | ||
| package.json | ||
| parse.js | ||
| README.md | ||
| remote-import.js | ||
| run.sh | ||
| test-homeservers.js | ||
homeserver-status
From a list of visible homeservers, and a list of phone-home servers, hit them each with the federation tester, then parse the result.
There are separate scripts for each step:
homeservers.sqlis used to create a new SQLite DB calledvisible.dbwith a single table.remote-import.jsconnects to juventas and inserts all visible homeservers from 2019-01-01.test-homeservers.jslooks at each hostname in turn, and tests each one againsthttps://matrix.org/federationtester/api/report. It writes the response to the db. It does not parse the response. This script sorts bylasttested, so that if interrupted you can just run it again.parse.jstakes each response per homeserver and parses it, storing the results in the db.output-html.jstakes two arguments, a template file and an output file. It will generate a single page to be deployed.