From 46507012b79422e69fde9b698654af03cf57c3c4 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Fri, 16 Nov 2018 11:44:01 -0500 Subject: [PATCH] reference tildeverse.org/members.json this prevents keeping two separate member lists in sync. --- index.php | 2 +- members.json | 64 ---------------------------------------------------- 2 files changed, 1 insertion(+), 65 deletions(-) delete mode 100644 members.json diff --git a/index.php b/index.php index 8621da2..39cbf61 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[0]; + $team = json_decode(file_get_contents("https://tildeverse.org/members.json"))->members[1]; $count = count($team->sysadmins); foreach($team->sysadmins as $sysadmin) { echo "{$sysadmin[0]}"; diff --git a/members.json b/members.json deleted file mode 100644 index 878e057..0000000 --- a/members.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "members": [ - { - "private_channel": "#team", - "name": "tilde.team", - "sysadmins": [ - [ - "ben", - "https://ben.tilde.team/" - ], - [ - "khuxkm", - "https://khuxkm.tilde.team/" - ], - [ - "cmccabe", - "https://cmccabe.tilde.team/" - ] - ], - "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", - "sysadmins": [ - [ - "deepend", - "https://yourtilde.com/~deepend/" - ] - ], - "link": "https://yourtilde.com", - "description": "basically a social network inside SSH: there is chat, email, forums, games, and lots more." - }, - { - "private_channel": "#thunix", - "name": "thunix.org", - "sysadmins": [ - [ - "hexhaxtron", - "https://thunix.org/~hexhaxtron/" - ], - [ - "amcclure", - "https://amcclure.ttm.sh/" - ] - ], - "link": "https://www.thunix.org", - "description": "thunix offers Secure Shell (SSH) accounts, Web Hosting, Email Accounts, and many other things to people free of charge." - } - ] -}