diff --git a/list.html b/list.html index 1deb3be..753f1d8 100644 --- a/list.html +++ b/list.html @@ -11,315 +11,80 @@ - - + - +
Subspace: Libre Gaming
TOP
+
- - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
Libre Gaming
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
-
+ + - + - + + + + + + + + + + + + + + + + + + + + + + +
Subspace: Games
Games
+
- - + + + - - - - - + + +
- - -
SuperTuxKart Soccer
+ + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
+ +
STK Soccer Tournament - Announcements
Subspace: SuperTuxKart Soccer
+
+ + + + +
+ +
STK Soccer Tournament - Match scheduling
+ +
+ + + + + + + + +
+ +
STK Soccer Tournament - General
+ +
+
+
+ + + +
@@ -328,6 +93,12 @@
+
+ + + +
@@ -336,6 +107,12 @@
+
+ + + +
@@ -344,6 +121,12 @@
+
+ + + +
@@ -352,6 +135,12 @@
+
+ + + +
@@ -360,6 +149,12 @@
+
+ + @@ -369,26 +164,642 @@ + +
+
+ + - + - + + + + + + + + + + + + + + + + + + + + + +
Subspace: Veloren
Veloren
+
+ + + + +
+ +
#offtopic
+ +
+ + + + + + + + +
+ +
#blog-content
+ +
+
+ + + + + + + + +
+ +
#combat
+ +
+
+ + + + + + + + +
+ +
#gallery
+ +
+
+ + + + + + + + +
+ +
#game-design
+ +
+
+ + + + + + + + +
+ +
#memeloren
+ +
+
+ + + + + + + + +
+ +
#physics
+ +
+
+ + + + + + + + +
+ +
#programmers
+ +
+
+ + + + + + + + +
+ +
#screenshots
+ +
+
+ + + + + + + + +
+ +
#veloren-matrix
+ +
+
+ + + + + + + + +
+ +
#general
+ +
+
+ + + + + + + + +
+ +
#support
+ +
+
+ + + + + + + + +
+ +
#feedback
+ +
+
+ + + + + + + + +
+ +
#ingame-chat
+ +
+
+ + + + + + + + +
+ +
#pets-and-mounts
+ +
+
+ + + + + + + + +
+ +
#questions
+ +
+
+ + + + + + + + +
+ +
#learning
+ +
+
+ + + + + + + + +
+ +
#new-contributors
+ +
+
+ + + + + + + + +
+ +
#rendering
+ +
+
+ + + + + + + + +
+ +
#concept-art
+ +
+
+ + + + + + + + +
+ +
#meta
+ +
+
+
+ + - + - + + + + +
Subspace: Tuxemon
Tuxemon
+
+ + + + +
+ +
Tuxemon Matrix Off-Topic
+ +
+ + + + + + + + +
+ +
Tuxemon Matrix
+ +
+
+ + + + + + + + +
+ +
Tuxemon Matrix - RSS Commits
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
Tuxemon Discord Bridge Space
+ + + + + + + + +
+ +
Tuxemon: Discord (#writing)
+ +
+
+ + + + + + + + +
+ +
Tuxemon: Discord (#art)
+ +
+
+ + + + + + + + +
+ +
Tuxemon: Discord (#announcements)
+ +
+
+ + + + + + + + +
+ +
Tuxemon: Discord (#programming)
+ +
+
+ + + + + + + + +
+ +
Tuxemon: Discord (#translations)
+ +
+
+ + + + + + + + +
+ +
Tuxemon: Discord (#music)
+ +
+
+ + + + + + + + +
+ +
Tuxemon: Discord (#map-development)
+ +
+
+ + + + + + + + +
+ +
t2bot.io status
+ +
+
+ + + + + + + + +
+ +
Tuxemon: Discord (#help)
+ +
+
+ + + + + + + + +
+ +
Tuxemon: Discord (#off-topic)
+ +
+
+ + + + + + + + +
+ +
Tuxemon: Discord (#bot-talk)
+ +
+
+ + + + + + + + +
+ +
Tuxemon: Discord (#bot-testing)
+ +
+
+ + + + + + + + +
+ +
Tuxemon: Discord (#website)
+ +
+
+ + + + + + + + +
+ +
Tuxemon: Discord (#general)
+ +
+
+ + + + + + + + +
+ +
Tuxemon: Discord (#rules)
+ +
+
+ + + + + + + + +
+ +
Tuxemon: Discord (archived #general)
+ +
+
+
+
+ + + +
@@ -397,6 +808,12 @@
+
+ + + +
@@ -405,6 +822,12 @@
+
+ + @@ -414,6 +837,12 @@ + +
+
+ + @@ -423,6 +852,12 @@ + +
+
+ + @@ -432,6 +867,12 @@ + +
+
+ + @@ -441,26 +882,107 @@ + +
+
+ + - + - + + + +
Subspace: OpenHV
OpenHV
+
+ + + + +
+ +
OpenHV Chat
+ +
+ + + + + + + + +
+ +
OpenHV Develop
+ +
+
+ + + + + + + + +
+ +
OpenHV Play
+ +
+
+
+ + - + - + + +
Subspace: Super Tux Party
Super Tux Party
+
+ + + + +
+ +
SuperTuxParty Dev Talk
+ +
+ + + + + + + + +
+ +
SuperTuxParty Random Talk
+ +
+
+
+ + @@ -470,6 +992,12 @@ + +
+
+ + + +
@@ -478,6 +1006,12 @@
+
+ + @@ -487,6 +1021,12 @@ + +
+
+ + @@ -496,6 +1036,12 @@ + +
+
+ + + +
@@ -504,6 +1050,12 @@
+
+ + + +
@@ -512,6 +1064,12 @@
+
+ + - - - - - + +
@@ -520,16 +1078,37 @@
Subspace: Hypnagonia
- -
+ + + + + + + + +
Hypnagonia
+ + + + + + + + +
+ +
Hypnagonia Announcements
+ +
+
+
+ + @@ -539,110 +1118,19 @@ - - - - - + + + +
Subspace: FlightGear and JSBSim
- -
+ + - + - + +
Subspace: Mindustry
Mindustry
+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
-
@@ -651,6 +1139,12 @@
+
+ + @@ -660,157 +1154,36 @@ + +
+
+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +
#mindustry-designs
-
- -
Development
- -
- -
#social
- -
- -
#mindustry-announcements
- -
- -
#mindustry-maps
- -
- -
Logic
- -
- -
mindustry balancing
- -
- -
Programming
- -
- -
Mindustry
- -
- -
Bots
- -
Subspace: Minetest
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- -
+
+ + + + + + + + + + +
Minetest
+ + @@ -820,6 +1193,12 @@ + +
+
+ + @@ -829,6 +1208,12 @@ + +
+
+ + @@ -836,80 +1221,24 @@
#minetest
- - - - - - - - - - - - - - - - - - - - - - - - - + +
- -
#minetest-dev
- -
- -
Minetest
- -
- -
Minetest Offtopic
- -
- -
#minetest
- -
Subspace: Unvanquished (space)
- - - - - - - - - - - - - - - - -
- - -
- - -
- - -
- -
+
+ + + + + + + + + + + + + + + + + + + +
Unvanquished (space)
+ + @@ -919,6 +1248,12 @@ + +
+
+ + @@ -928,6 +1263,12 @@ + +
+
+ + @@ -935,53 +1276,24 @@
Unvanquished Français
- - - - - - - + +
Subspace: The Mana World
- - - - - - - - - - - - - - - - - - - - -
- - -
- - -
- - -
- - -
- -
+
+ + + + + + + + + + + +
The Mana World
+ + @@ -991,6 +1303,12 @@ + +
+
+ + @@ -1000,6 +1318,12 @@ + +
+
+ + + +
@@ -1008,6 +1332,12 @@
+
+ + @@ -1017,86 +1347,544 @@ - - - - - +
Subspace: Engines
+
+
+
- - + + + + + + + + + + + + + + + + + + +
- - -
Blocknerd Games
+ + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
+ +
Minigames Galore - AES Dev
+ + + + + + + + +
+ +
Minigames Galore - Discussion
+ +
+
+ + + + + + + + +
+ +
Minigames Galore - Matchmaking
+ +
+
+ + + + + + + + +
+ +
Blockbomber - Dev
+ +
+
+ + + + + + + + +
+ +
Blocknerd Games - General
+ +
+
+ + + + + + + + +
+ +
Blocknerd Games - Events
+ +
+
+ + + + + + + + +
+ +
Blocknerd Games - ideas and feedback
+ +
+
+ + + + + + + + +
+ +
Blockbomber - Chat
+ +
+
+ + + + + + + + +
+ +
Blockbomber - Matchmaking
+ +
+
+ + + + + + + + +
+ +
Minigames Galore - Ingame
+ +
+
+ + + + + + + + +
+ +
Blockbomber - ingame
+ +
+
+ + + + + + + +
+ +
CenteriaSurvival - Ingame
+ +
+
+ + + + + + + +
+ +
CenteriaSurvival - Chat
+ +
+
+ + + + + + + +
+ +
Land Of Catastrophe (Exile)
+ +
+
+ + + + + + + +
+ +
BuildaCity-ingame
+ +
+
+
+ + + + + + + + + + + +
Xonotic official space
+ + + + + + + + +
+ +
Xonotic Main
+ +
+
+ + + + + + + +
+ +
Xonotic Pickup
+ +
+
+ + + + + + + + +
+ +
Xonotic Mapping
+ +
+
+ + + + + + + + +
+ +
Xonotic Development
+ +
+
+
+ + + + + + + + +
+ +
Cataclysm Dark Days Ahead
+ +
+
+ + + + + + + + +
+ +
FreeOrion
+ +
+
+ + + + + + + + +
+ +
Librerama
+ +
+
+ + + + + + + + + + + + + + + + +
Naev Community
+ + + + + + + + +
+ +
General
+ +
+
+ + + + + + + + +
+ +
Development
+ +
+
+ + + + + + + + +
+ +
Bugs
+ +
+
+ + + + + + + + +
+ +
Gameplay
+ +
+
+ + + + + + + + +
+ +
Brainstorming
+ +
+
+ + + + + + + + +
+ +
Offtopic
+ +
+
+ + + + + + + + +
+ +
Artwork
+ +
+
+ + + + + + + + +
+ +
Commits
+ +
+
+ + + + + + + + +
+ +
Website
+ +
+
+
+ + + + + + + +
+ +
#ufoai
+ +
+
+ + + + + + + + +
+ +
Lix
+ +
+
+
+ + + + + + + + + + + + + +
Engines
+ + @@ -1106,6 +1894,12 @@ + +
+
+ + + +
@@ -1114,6 +1908,12 @@
+
+ + @@ -1123,51 +1923,34 @@ - - - - - +
Subspace: CorsixTH
+
+
- - + + + + + + + + +
- - -
CorsixTH
+ + + - - - - - - - - - - - - -
- - -
- - -
- - -
+ +
CorsixTH General
+ + @@ -1177,6 +1960,12 @@ + +
+
+ + @@ -1186,6 +1975,12 @@ + +
+
+ + @@ -1195,79 +1990,37 @@ - - - - - +
Subspace: Godot
+
+
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
+ +
CorsixTH Help
+
+ + + + + + + + + + + + + + + + +
Godot
+ + @@ -1277,6 +2030,12 @@ + +
+
+ + @@ -1286,6 +2045,12 @@ + +
+
+ + @@ -1295,6 +2060,12 @@ + +
+
+ + + +
@@ -1303,6 +2074,12 @@
+
+ + @@ -1312,6 +2089,12 @@ + +
+
+ + + +
@@ -1320,6 +2103,12 @@
+
+ + @@ -1329,6 +2118,12 @@ + +
+
+ + @@ -1336,53 +2131,21 @@
godot-haskell
- - - - - - - + + +
Subspace: SimulaVR
- - - - - - - - - - - - - - - - - - - - -
- - -
- - -
- - -
- - -
- -
+ + + + + + + + + + + + +
SimulaVR
+ + + +
@@ -1391,6 +2154,12 @@
+
+ + @@ -1400,6 +2169,42 @@ + +
+
+ + + + + + + + +
+ +
godot-haskell
+ +
+
+ + + + + + + + +
+ +
Godot Engine
+ +
+
+ + @@ -1409,114 +2214,250 @@ + +
+
+
+
+ + - - + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + +
- -
#freeheromesh
- -
OpenMW
- -
Keid
- -
- -
Open Jedi Knight (Unofficial)
- -
- -
Vanilla Conquer
- -
Subspace: Communities
+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
+ +
OpenMW Troubleshooting
+ + + + + + + +
+ +
OpenMW Funposting
+ +
+
+ + + + + + + + +
+ +
OpenMW Development
+ +
+
+ + + + + + + +
+ +
OpenMW Offtopic
+ +
+
+ + + + + + + +
+ +
OpenMW Screenshots
+ +
+
+ + + + + + + +
+ +
OpenMW Modding
+ +
+
+ + + + + + + +
+ +
OpenMW Русский
+ +
+
+ + + + + + + +
+ +
OpenMW Shaders
+ +
+
+ + + + + + + + +
+ +
OpenMW
+ +
+
+ + + + + + + +
+ +
OpenMW CS
+ +
+
+ + + + + + + +
+ +
OpenMW Lua
+ +
+
+ + + + + + + +
+ +
OpenMW Example Suite
+ +
+
+ + + + + + + +
+ +
OpenMW Deutsch
+ +
+
+ + + + + + + +
+ +
OpenMW Français
+ +
+
+ + + + + + + +
+ +
OpenMW Skandinaviskt
+ +
+
+
+
+ + + + + + + + + + + + +
Communities
+ + @@ -1526,6 +2467,12 @@ + +
+
+ + + +
@@ -1534,101 +2481,33 @@
+
+ + - - - - - - - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +
smac@conference.bitcheese.net
-
- - -
Subspace: Opensource_gaming
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- -
+ + + + + + + + + +
Opensource_gaming
+ + @@ -1638,6 +2517,12 @@ + +
+
+ + @@ -1647,51 +2532,15 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + +
- -
#osg-irc
- -
- -
Offtopic
- -
- -
Matchmaking
- -
- -
twitch-chat
- -
- -
News
- -
+
+
+ + - - - - + +
@@ -1700,99 +2549,34 @@
- -
#general@irc.freegamedev.net
- -
+
+ + - - - - - - - - + + +
Subspace: wtactics
- - - - - - - - - - - - - - - - - - -
- - -
- - -
- - -
- - -
+
wtactics
- -
MeetAndMatch
- -
+ + - + - @@ -1802,277 +2586,66 @@ - - - - - - - - - +
Subspace: Open-Source-RTS-Xmas-party-Invite
Open-Source-RTS-Xmas-party-Invite
+
- - - - - - - - - - - - - -
- - -
- - -
- - -
-
- -
Off-topic
- -
Subspace: Historical
+
+
+
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
+ +
FreeGameDev.net general chat
- -
#libregamenight
- -
- -
Libre Game Night
- -
- -
#libreplanet-gaming
- -
- -
#freegamer
- -
- -
#corsix-th
- -
- -
#unknown-horizons
- -
- -
#ryzom@irc.freegamedev.net
- -
- -
#libregamewiki
- -
- -
SuperTuxKart (STK)
- -
- -
0 AD Central
- -
Subspace: Tools
+
- - - - - - - - -
- - -
- - -
+ +
LibreGamingClub
- -
Highscore
- -
- -
Arcadia / Athenaeum / LibreSteam
- -
- -
#libregamewiki
- -
Subspace: Organisation
+
- - + + + + + + + +
- - -
LibreGaming Community
+ + + - - - - - - - - - - - - -
- - -
- - -
- - -
+ +
Matchmaking
+ + @@ -2082,14 +2655,291 @@ + +
+
+ + + - + +
+ -
Chamber
+
Offtopic
+
+ + + + + + + + +
+ +
Workshop
+ +
+
+
+ + + + + + + +
+ +
onfoss@conference.hribhrib.at
+ +
+
+ + + + + + + + + + + +
onFOSS-LAN
+ + + + + + + +
+ +
General
+ +
+
+ + + + + + + +
+ +
Offtopic
+ +
+
+ + + + + + + +
+ +
Organisation
+ +
+
+ + + + + + + +
+ +
onfoss@conference.hribhrib.at
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + +
Historical
+ + + + + + + +
+ +
#libregamenight
+ +
+
+ + + + + + + +
+ +
Libre Game Night
+ +
+
+ + + + + + + +
+ +
#libreplanet-gaming
+ +
+
+ + + + + + + +
+ +
#freegamer
+ +
+
+ + + + + + + +
+ +
#corsix-th
+ +
+
+ + + + + + + +
+ +
#unknown-horizons
+ +
+
+ + + + + + + +
+ +
#ryzom@irc.freegamedev.net
+ +
+
+ + + + + + + +
+ +
#libregamewiki
+ +
+
+ + + + + + + + +
+ +
SuperTuxKart (STK)
+ +
+
+ + + + + + + + +
+ +
0 AD Central
+ +
+
+ + + + + + + +
+ +
#general@irc.freegamedev.net
+ +
+
+ + + +
@@ -2098,6 +2948,12 @@
+
+ +
@@ -2108,6 +2964,69 @@
+
+
+ + + + + + + + + + +
Tools
+ + + + + + + + +
+ +
Highscore
+ +
+
+ + + + + + + + +
+ +
Arcadia / Athenaeum / LibreSteam
+ +
+
+ + + + + + + +
+ +
#libregamewiki
+ +
+
+
+
diff --git a/main.css b/main.css index 8eb1873..7747e4f 100644 --- a/main.css +++ b/main.css @@ -1,4 +1,7 @@ /* Theming taken from https://github.com/vector-im/riot-web/blob/cf5cf02529f95a094d88051c12fdb87a03d87335/src/skins/vector/css/themes/_base.scss */ +table { + margin-left: 2em; +} tbody { margin-left: 2em; } diff --git a/script.py b/script.py index 55d8c1e..d0df85e 100755 --- a/script.py +++ b/script.py @@ -9,25 +9,31 @@ def mxc2url(mxc): mediaId = mxc.split('/')[3] return "https://matrix.org/_matrix/media/v3/download/" + serverName + "/" + mediaId -def render(spaces, template): +def render(spaces, loops, template): appTemplate = Template(filename=template) - print(appTemplate.render(s=spaces)) + print(appTemplate.render(s=spaces,loops=loops)) -def make_hierarchy(room, loops, depth=0): +def make_hierarchy(space, room, loops): try: - print(' ' * depth + '- ' + room['name']) - if room['children_state'] and room['room_id'] not in loops: - for child in room['children_state']: - make_hierarchy(ROOMS[child['state_key']], loops, depth+1) + if 'children' in space: + space['children'].append(room) + else: + space['children'] = [room] + if 'children_state' in room: + for child in room['children_state']: + if ROOMS[child['state_key']]['room_id'] not in loops: + make_hierarchy(room,ROOMS[child['state_key']], loops) except: - # missing or no name - print(' ' * depth + ' Skip ' + room['room_id']) + pass if __name__ == '__main__': with open('libregamingspaces.json') as f: data = json.load(f) - # render(data, './spaces.html') ROOMS = {room['room_id'] : room for room in data} - make_hierarchy(ROOMS['!IdUUdKALNzBLKEjvbP:matrix.org'], ['!JTpfWshTKZpZiUASvP:hacklab.fi']) + spaces={'name':"TOP"} + loops=['!JTpfWshTKZpZiUASvP:hacklab.fi'] + make_hierarchy(spaces,ROOMS['!IdUUdKALNzBLKEjvbP:matrix.org'], loops) + #print(spaces) + render(spaces, loops, './spaces.html') diff --git a/spaces.html b/spaces.html index 118b0b3..6905011 100644 --- a/spaces.html +++ b/spaces.html @@ -10,18 +10,19 @@ - <%def name="render(space)"> + <%def name="render(room)"> - % for room in space: % if 'avatar_url' in room: % endif - % if 'room_type' in room and room['room_type'] == "m.space": - + % if 'children' in room: + - + % for subroom in room['children']: + + % endfor % else: % if 'room_id' in room: @@ -35,7 +36,6 @@ % endif % endif - % endfor
Subspace: ${room['name']}
${room['name']}
${render(room['children_state'])}
${render(subroom)}