summaryrefslogtreecommitdiff
path: root/data/instances.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-09-03 22:44:46 -0400
committerlolcat <will@lolcat.ca>2023-09-03 22:44:46 -0400
commitbef83bb3c8819532b1728d642913f5a4c41ab324 (patch)
tree0e4eb1e812e8ecf5285dba7bc36e50509cc32973 /data/instances.php
parentc8ab934b108c83a391583ea8ae7f717c9753926e (diff)
parent77293818cd213ec0ad07c573d298fff9cd5b357d (diff)
readme
Diffstat (limited to 'data/instances.php')
-rw-r--r--data/instances.php47
1 files changed, 47 insertions, 0 deletions
diff --git a/data/instances.php b/data/instances.php
new file mode 100644
index 0000000..aeb0707
--- /dev/null
+++ b/data/instances.php
@@ -0,0 +1,47 @@
+<?php
+/*
+this file exists to separate instance data from the actual about page
+ HTML, and to make it easier to add/modify instances cleanly.
+*/
+$instancelist = [
+ [
+ "name" => "lolcat's instance (master)",
+ "address" => [
+ "uri" => "https://4get.ca/",
+ "displayname" => "4get.ca"
+ ],
+ "altaddresses" => [ // all these address blocks will be linked in parentheses
+ [ // e.g. 4get.ca (tor) (i2p) etc.
+ "uri" => "http://4getwebfrq5zr4sxugk6htxvawqehxtdgjrbcn2oslllcol2vepa23yd.onion",
+ "displayname" => "tor"
+ ]
+ ]
+ ],
+ [
+ "name" => "zzls's instance",
+ "address" => [
+ "uri" => "https://4get.zzls.xyz/",
+ "displayname" => "4get.zzls.xyz"
+ ],
+ "altaddresses" => [
+ [
+ "uri" => "http://4get.zzlsghu6mvvwyy75mvga6gaf4znbp3erk5xwfzedb4gg6qqh2j6rlvid.onion",
+ "displayname" => "tor"
+ ]
+ ]
+ ],
+ [
+ "name" => "4get on a silly computer",
+ "address" => [
+ "uri" => "https://4get.silly.computer",
+ "displayname" => "4get.silly.computer"
+ ],
+ "altaddresses" => [
+ [
+ "uri" => "https://4get.cynic.moe/",
+ "displayname" => "fallback domain"
+ ]
+ ]
+ ],
+]
+?> \ No newline at end of file