Compare commits

...

4 Commits

Author SHA1 Message Date
Phil Morrell 79d0127c87
remove extra top-level entries
* moved to Games, Historical or dropped if already elsewhere
* manually deleted num_joined_members changes for cleaner diff
* all of :libera.chat needs to be moved to Historical
2023-12-01 18:50:00 +00:00
Phil Morrell a469dd33f6
2023-12-01 2023-12-01 17:51:30 +00:00
Phil Morrell 867ccab881
add json instructions, drop export from git 2023-12-01 17:50:18 +00:00
Phil Morrell 044b7aac14 2022-08-25 2022-08-25 16:51:26 +01:00
3 changed files with 4527 additions and 6776 deletions

View File

@ -1,6 +1,25 @@
Static HTML page with the libregaming matrix spaces
The HTML is generated with script.py using the spaces json
# Update libregamingspaces.json
Get server baseurl and Access Token from your client e.g. Element -> All settings -> Help & About -> Advanced
```
SERVER=
TOKEN=
SPACE='!IdUUdKALNzBLKEjvbP:matrix.org'
URL="$SERVER/_matrix/client/v1/rooms/$SPACE/hierarchy?access_token=$TOKEN"
# first call can take about 30s
FROM=$(curl "$URL" | tee -a hierarchy.json | jq -r .next_batch); echo $FROM
# repeat pagination until "null"
FROM=$(curl "$URL&from=$FROM" | tee -a hierarchy.json | jq -r .next_batch); echo $FROM
jq -s 'map(.rooms) | add' hierarchy.json > libregamingspaces.json
./script.py > space.html
```
# License
Everything on this repository is licensed as CC0

File diff suppressed because it is too large Load Diff

5138
list.html

File diff suppressed because it is too large Load Diff