Compare commits

..

No commits in common. "main" and "main" have entirely different histories.
main ... main

2 changed files with 8 additions and 31 deletions

View File

@ -27,26 +27,14 @@
@subsection{Mirrors}
@(define (mirrors-file-table onion?)
(for/list ([item (with-input-from-file "files/instances.json" (lambda () (read-json)))]
#:when (eq? onion? (regexp-match? #rx"\\.onion" (hash-ref item 'instance))))
(define-values (owner-name owner-website instance)
(apply values (for/list ([key '(owner_name owner_website instance)])
(hash-ref item key))))
(list (if (string? owner-website) (hyperlink owner-website owner-name) owner-name)
(if onion? (hyperlink instance "Visit onion site") (url instance)))))
@tabular[#:style (style "user-table instance-list user-table--title" null)
`((,(literal "Hoster") ,(literal "Link"))
,@(mirrors-file-table #f))]
@subsection{Onion Mirrors}
Please note: You need the @hyperlink["https://www.torproject.org/" "Tor browser"] to see these.
@tabular[#:style (style "user-table instance-list user-table--title" null)
`((,(literal "Hoster") ,(literal "Link"))
,@(mirrors-file-table #t))]
,@(for/list ([item (with-input-from-file "files/instances.json" (lambda () (read-json)))])
(define-values (owner-name owner-website instance)
(apply values (for/list ([key '(owner_name owner_website instance)])
(hash-ref item key))))
(list (if (string? owner-website) (hyperlink owner-website owner-name) owner-name)
(url instance))))]
@hyperlink["https://docs.breezewiki.com/files/instances.json" "Machine-readable data"]

View File

@ -2,21 +2,10 @@
{"owner_name": "Cadence", "owner_website": "https://cadence.moe", "instance": "https://breezewiki.com"},
{"owner_name": "Artemis Everfree", "owner_website": "https://artemis.sh/", "instance": "https://antifandom.com"},
{"owner_name": "PussTheCat.org", "owner_website": "https://pussthecat.org", "instance": "https://breezewiki.pussthecat.org"},
{"owner_name": "Kevin Payravi", "owner_website": "https://kevin.payravi.dev", "instance": "https://bw.hamstro.dev"},
{"owner_name": "https://kevin.payravi.dev", "owner_website": "https://kevin.payravi.dev", "instance": "https://bw.hamstro.dev"},
{"owner_name": "Project Segfault", "owner_website": "https://projectsegfau.lt", "instance": "https://bw.projectsegfau.lt"},
{"owner_name": "Hostux", "owner_website": "https://hostux.network", "instance": "https://breeze.hostux.net"},
{"owner_name": "Artemis Lena", "owner_website": "https://artemislena.eu", "instance": "https://bw.artemislena.eu"},
{"owner_name": "Whatever Social", "owner_website": "https://whatever.social", "instance": "https://nerd.whatever.social"},
{"owner_name": "Frontend Friendly", "owner_website": "https://frontendfriendly.xyz", "instance": "https://breezewiki.frontendfriendly.xyz"},
{"owner_name": "nohoster", "owner_website": "mailto:admin@nohost.network", "instance": "https://breeze.nohost.network"},
{"owner_name": "WhateverItWorks", "owner_website": "https://www.whateveritworks.org", "instance": "https://breeze.whateveritworks.org"},
{"owner_name": "Opnxng", "owner_website": "https://about.opnxng.com", "instance": "https://z.opnxng.com"},
{"owner_name": "hyperreal", "owner_website": "https://hyperreal.coffee", "instance": "https://breezewiki.hyperreal.coffee"},
{"owner_name": "Butter Cat", "owner_website": "https://catsarch.com", "instance": "https://breezewiki.catsarch.com"},
{"owner_name": "mint.lgbt", "owner_website": "https://mint.lgbt", "instance": "https://breeze.mint.lgbt"},
{"owner_name": "untitaker", "owner_website": "mailto:admin@woodland.cafe", "instance": "https://breezewiki.woodland.cafe"},
{"owner_name": "Fijxu", "owner_website": "https://nadeko.net", "instance": "https://breezewiki.nadeko.net"},
{"owner_name": "lost+skunk", "owner_website": "https://matrix.to/#/@softpigeones:sibnsk.net", "instance": "http://bw.skunky7dhv7nohsoalpwe3sxfz3fbkad7r3wk632riye25vqm3meqead.onion"},
{"owner_name": "Project Segfault", "owner_website": "https://projectsegfau.lt", "instance": "http://breezewiki.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion"},
{"owner_name": "Fijxu", "owner_website": "https://nadeko.net", "instance": "http://breezewiki.nadekonfkhwlxwwk4ycbvq42zvcjmvo5iakl4tajojjwxd4a5dcetuyd.onion"}
{"owner_name": "Frontend Friendly", "owner_website": "https://frontendfriendly.xyz", "instance": "https://breezewiki.frontendfriendly.xyz"}
]