Go to file
Phil Morrell f103ce8649
update spaces json from API
* paginated, append `&from=$FROM` and repeat until "null"

    SPACE='!IdUUdKALNzBLKEjvbP:matrix.org'
    URL="https://freedombox.emorrp1.name/_matrix/client/unstable/org.matrix.msc2946/rooms/$SPACE/hierarchy?access_token=$TOKEN"
    FROM=$(curl "$URL" | tee -a hierarchy.json | jq -r .next_batch); echo $FROM
    jq -s 'map(.rooms) | add' hierarchy.json > libregamingspaces.json
2022-02-12 15:09:53 +00:00
README.md Add license comment 2022-01-16 20:18:13 +01:00
libregamingspaces.json update spaces json from API 2022-02-12 15:09:53 +00:00
list.html first commit 2022-01-15 14:40:52 +01:00
main.css first commit 2022-01-15 14:40:52 +01:00
script.py Add script 2022-01-16 20:14:03 +01:00
spaces.html first commit 2022-01-15 14:40:52 +01:00

README.md

Static HTML page with the libregaming matrix spaces The HTML is generated with script.py using the spaces json

License

Everything on this repository is licensed as CC0