forked from cadence/breezewiki-docs
Compare commits
12 commits
Author | SHA1 | Date | |
---|---|---|---|
b7197e5bf5 | |||
0cbcdb176a | |||
54777bc649 | |||
27c7143797 | |||
0ef33bb523 | |||
f8b655714c | |||
fee6b3081a | |||
15ff73b34c | |||
c2de4e7f7a | |||
9415f08a60 | |||
a4924efbf8 | |||
caabba5a8c |
3 changed files with 73 additions and 8 deletions
35
docs.scrbl
35
docs.scrbl
|
@ -27,14 +27,26 @@
|
||||||
|
|
||||||
@subsection{Mirrors}
|
@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)
|
@tabular[#:style (style "user-table instance-list user-table--title" null)
|
||||||
`((,(literal "Hoster") ,(literal "Link"))
|
`((,(literal "Hoster") ,(literal "Link"))
|
||||||
,@(for/list ([item (with-input-from-file "files/instances.json" (lambda () (read-json)))])
|
,@(mirrors-file-table #f))]
|
||||||
(define-values (owner-name owner-website instance)
|
|
||||||
(apply values (for/list ([key '(owner_name owner_website instance)])
|
@subsection{Onion Mirrors}
|
||||||
(hash-ref item key))))
|
|
||||||
(list (if (string? owner-website) (hyperlink owner-website owner-name) owner-name)
|
Please note: You need the @hyperlink["https://www.torproject.org/" "Tor browser"] to see these.
|
||||||
(url instance))))]
|
|
||||||
|
@tabular[#:style (style "user-table instance-list user-table--title" null)
|
||||||
|
`((,(literal "Hoster") ,(literal "Link"))
|
||||||
|
,@(mirrors-file-table #t))]
|
||||||
|
|
||||||
@hyperlink["https://docs.breezewiki.com/files/instances.json" "Machine-readable data"]
|
@hyperlink["https://docs.breezewiki.com/files/instances.json" "Machine-readable data"]
|
||||||
|
|
||||||
|
@ -59,6 +71,17 @@ If you'd like to be automatically redirected from fandom.com to breezewiki.com,
|
||||||
@bold{There you go, all done!} If it works, you can stop reading here.
|
@bold{There you go, all done!} If it works, you can stop reading here.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@subsection{Apple iPhone redirect}
|
||||||
|
|
||||||
|
If you want to be redirected in Safari on iOS or macOS, you can use Redirect Web for Safari.
|
||||||
|
|
||||||
|
@itemlist[#:style 'ordered
|
||||||
|
@item{Install @hyperlink["https://apps.apple.com/us/app/redirect-web-for-safari/id1571283503" "Redirect Web for Safari"]}
|
||||||
|
@item{Download this file: @url{https://docs.breezewiki.com/files/breezewiki-redirector.json}}
|
||||||
|
@item{Open the file with the @italic{Files} app, click on the @italic{Share} icon, click @italic{Redirect Web}, and click @italic{Import}. The redirect should now be enabled in Redirect Web's list.}
|
||||||
|
@item{Once it's imported, it's safe to delete the @italic{breezewiki.redirectweb} file.}
|
||||||
|
]
|
||||||
|
|
||||||
@subsection{Browser extension: Redirector}
|
@subsection{Browser extension: Redirector}
|
||||||
|
|
||||||
This will redirect you with no fanfare. It works in Firefox and Chrome on the computer.
|
This will redirect you with no fanfare. It works in Firefox and Chrome on the computer.
|
||||||
|
|
26
files/breezewiki.redirectweb
Normal file
26
files/breezewiki.redirectweb
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{
|
||||||
|
"appVersion" : "5.1.1",
|
||||||
|
"bundleID" : "io.github.mshibanami.RedirectWebForSafari",
|
||||||
|
"createdAt" : "2023-12-29T09:39:20.571Z",
|
||||||
|
"kind" : "RedirectList",
|
||||||
|
"redirects" : [
|
||||||
|
{
|
||||||
|
"captureGroupProcesses" : [
|
||||||
|
],
|
||||||
|
"comments" : "",
|
||||||
|
"destinationURLPattern" : "https:\/\/breezewiki.com\/$1\/wiki\/$2",
|
||||||
|
"exampleURLs" : [
|
||||||
|
"https:\/\/minecraft.fandom.com\/wiki\/Bricks"
|
||||||
|
],
|
||||||
|
"excludeURLPatterns" : [
|
||||||
|
],
|
||||||
|
"isEnabled" : true,
|
||||||
|
"kind" : "Redirect",
|
||||||
|
"sourceURLPattern" : {
|
||||||
|
"type" : "wildcard",
|
||||||
|
"value" : "https:\/\/*.fandom.com\/wiki\/*"
|
||||||
|
},
|
||||||
|
"title" : "fandom.com -> breezewiki.com"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -2,10 +2,26 @@
|
||||||
{"owner_name": "Cadence", "owner_website": "https://cadence.moe", "instance": "https://breezewiki.com"},
|
{"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": "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": "PussTheCat.org", "owner_website": "https://pussthecat.org", "instance": "https://breezewiki.pussthecat.org"},
|
||||||
{"owner_name": "https://kevin.payravi.dev", "owner_website": "https://kevin.payravi.dev", "instance": "https://bw.hamstro.dev"},
|
{"owner_name": "Kevin Payravi", "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": "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": "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": "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": "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": "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": "AlexPewMaster", "owner_website": "https://reallyaweso.me", "instance": "https://fandom.reallyaweso.me"},
|
||||||
|
{"owner_name": "4o1x5", "owner_website": "https://4o1x5.dev", "instance": "https://breezewiki.4o1x5.dev"},
|
||||||
|
{"owner_name": "Rafo", "owner_website": "https://r4fo.com", "instance": "https://breezewiki.r4fo.com/"},
|
||||||
|
{"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": "Butter Cat", "owner_website": "https://catsarch.com", "instance": "http://breezewiki.catsarchywsyuss6jdxlypsw5dc7owd5u5tr6bujxb7o6xw2hipqehyd.onion/"},
|
||||||
|
{"owner_name": "Rafo", "owner_website": "https://r4fo.com", "instance": "http://breezewiki.r4focoma7gu2zdwwcjjad47ysxt634lg73sxmdbkdozanwqslho5ohyd.onion"}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue