diff --git a/index.php b/index.php index c80290d..3eb3dec 100644 --- a/index.php +++ b/index.php @@ -7,7 +7,7 @@
tilde.chat is meant to be a space for all tilde members to hang out, share, teach, and learn.
feel free to contact a tilde.team admin (members[2]; + $team = json_decode(file_get_contents("members.json"))->members[0]; $count = count($team->sysadmins); foreach($team->sysadmins as $sysadmin) { echo "{$sysadmin[0]}"; @@ -54,7 +54,7 @@
#meta - main lobby channel #projects - project ideas and discussions diff --git a/members.json b/members.json index f27f504..8b76f9f 100644 --- a/members.json +++ b/members.json @@ -1,17 +1,5 @@ { "members": [ - { - "private_channel": "#town", - "name": "tilde.town", - "sysadmins": [ - [ - "vilmibm", - "https://tilde.town/~vilmibm/" - ] - ], - "link": "https://tilde.town", - "description": "intentional digital community for making art, socializing, and learning" - }, { "private_channel": "#team", "name": "tilde.team", @@ -32,6 +20,18 @@ "link": "https://tilde.team", "description": "non-commercial space for teaching, learning, and enjoying the social medium of unix" }, + { + "private_channel": "#town", + "name": "tilde.town", + "sysadmins": [ + [ + "vilmibm", + "https://tilde.town/~vilmibm/" + ] + ], + "link": "https://tilde.town", + "description": "intentional digital community for making art, socializing, and learning" + }, { "private_channel": "#your", "name": "yourtilde.com", @@ -43,18 +43,6 @@ ], "link": "https://yourtilde.com", "description": "basically a social network inside SSH: there is chat, email, forums, games, and lots more." - }, - { - "private_channel": "#fun", - "name": "tilde.fun", - "sysadmins": [ - [ - "shiki", - "https://tilde.fun/~shiki/" - ] - ], - "link": "https://tilde.fun", - "description": "Linux machine on the internet where you can get a shell account" } ] } diff --git a/stats/index.php b/stats/index.php index 7814adb..94df714 100644 --- a/stats/index.php +++ b/stats/index.php @@ -1,19 +1,34 @@ - -stats
- + +stats
+
There are =$stats->usercount?> users across =$stats->channelcount?> channels.
-
Name | Users | Topic |
---|---|---|
=$channel->name?> | =$channel->usercount?> | =$channel->topic?> |
Name | +Users | +Topic | +
---|---|---|
=$channel->name?> | +=$channel->usercount?> | =$channel->topic?> | +
Available in JSON format.
+