Commit d206b14ff8
d206b14ff89cd345a2f9b8da755c73ad1126b490
parent: 68df7ac580
Verified · cmc ci/build: success ci/lint: success ci/test: success
cmc <hello@cleberg.net> · 2026-09-11 14:38 UTC
Make gitbay the canonical forge in code and docs
The instance list is fetched from gitbay, the About page reports issues
there, the index links the gitbay repository, and the help and
add-instance messages point at merge requests. The GitHub mirror stays
for the container image build and the README says so.
Closes #31
Layout: unified · split
INSTANCES.md
+1 −1
| @@ -1,5 +1,5 @@ |
| 1 | JSON variant should be used from main: |
1 | JSON variant should be used from main: |
| 2 | [instances.json](https://github.com/krazywarez/skunky-art/blob/main/instances.json) |
2 | [instances.json](https://gitbay.org/krz/skunky-art/raw/main/instances.json) |
| 3 | |
3 | |
| 4 | |Instance|Yggdrasil|I2P|Tor|NSFW|Proxifying|Modified Sources|Country| |
4 | |Instance|Yggdrasil|I2P|Tor|NSFW|Proxifying|Modified Sources|Country| |
| 5 | |:------:|:-------:|:-:|:-:|:--:|:--------:|:--------------:|:-----:| |
5 | |:------:|:-------:|:-:|:-:|:--:|:--------:|:--------------:|:-----:| |
README.org
+7 −1
| @@ -54,9 +54,15 @@ tag) in a directory with a ~config.json~, then |
| 54 | [[file:services/][services/]]. put a reverse proxy with tls in front; SETUP.md has the nginx |
54 | [[file:services/][services/]]. put a reverse proxy with tls in front; SETUP.md has the nginx |
| 55 | stanza. |
55 | stanza. |
| 56 | |
56 | |
| |
57 | * where things live |
| |
58 | the repository, issues and merge requests are on gitbay |
| |
59 | (https://gitbay.org/krz/skunky-art). github.com/krazywarez/skunky-art is a |
| |
60 | push mirror that exists to build the container image; do not open issues |
| |
61 | there. |
| |
62 | |
| 57 | * docker |
63 | * docker |
| 58 | multi-arch images (~linux/amd64~, ~linux/arm64~) publish to ghcr on every release |
64 | multi-arch images (~linux/amd64~, ~linux/arm64~) publish to ghcr on every release |
| 59 | tag: |
65 | tag, built by the github mirror's workflow: |
| 60 | |
66 | |
| 61 | #+begin_src sh |
67 | #+begin_src sh |
| 62 | docker pull ghcr.io/krazywarez/skunky-art:latest |
68 | docker pull ghcr.io/krazywarez/skunky-art:latest |
app/cli.go
+2 −2
| @@ -20,7 +20,7 @@ Usage: |
| 20 | - [-h|--help] | returns this message |
20 | - [-h|--help] | returns this message |
| 21 | Example: |
21 | Example: |
| 22 | ./skunkyart -c config.json |
22 | ./skunkyart -c config.json |
| 23 | Copyright lost+skunk and zerolabs, X11. https://github.com/krazywarez/skunky-art/releases/tag/v{{.Version}}` |
23 | Copyright lost+skunk and zerolabs, X11. https://gitbay.org/krz/skunky-art/releases` |
| 24 | |
24 | |
| 25 | a := os.Args[1:] |
25 | a := os.Args[1:] |
| 26 | for n, x := range a { |
26 | for n, x := range a { |
| @@ -180,5 +180,5 @@ func addInstance() { |
| 180 | } |
180 | } |
| 181 | time.Sleep(500 * time.Millisecond) |
181 | time.Sleep(500 * time.Millisecond) |
| 182 | } |
182 | } |
| 183 | exit("Done! Now add the files 'instances.json' and 'INSTANCES.md' to the 'main' branch in the repository https://github.com/krazywarez/skunky-art", 0) |
183 | exit("Done! Now add the files 'instances.json' and 'INSTANCES.md' to the 'main' branch by merge request to https://gitbay.org/krz/skunky-art", 0) |
| 184 | } |
184 | } |
app/util.go
+1 −1
| @@ -73,7 +73,7 @@ func RefreshInstances() { |
| 73 | for { |
73 | for { |
| 74 | func() { |
74 | func() { |
| 75 | defer restore() |
75 | defer restore() |
| 76 | instances = Download("https://raw.githubusercontent.com/krazywarez/skunky-art/main/instances.json").Body |
76 | instances = Download("https://gitbay.org/krz/skunky-art/raw/main/instances.json").Body |
| 77 | try(json.Unmarshal(instances, &About)) |
77 | try(json.Unmarshal(instances, &About)) |
| 78 | }() |
78 | }() |
| 79 | time.Sleep(1 * time.Hour) |
79 | time.Sleep(1 * time.Hour) |
static/html/about.htm
+2 −2
| @@ -6,7 +6,7 @@ |
| 6 | <p> |
6 | <p> |
| 7 | {{T "about.blurb"}} |
7 | {{T "about.blurb"}} |
| 8 | </p> |
8 | </p> |
| 9 | <h3><a href="https://github.com/krazywarez/skunky-art/issues" target="_blank">{{T "about.report"}}</a></h3> |
9 | <h3><a href="https://gitbay.org/krz/skunky-art/issues" target="_blank">{{T "about.report"}}</a></h3> |
| 10 | <b>{{T "about.settings"}}</b> |
10 | <b>{{T "about.settings"}}</b> |
| 11 | <ul> |
11 | <ul> |
| 12 | <li><b>{{T "about.nsfw"}}</b>: <span class="about-{{.Templates.About.Nsfw}}">{{if .Templates.About.Nsfw}}YES{{else}}NO{{end}}</span></li> |
12 | <li><b>{{T "about.nsfw"}}</b>: <span class="about-{{.Templates.About.Nsfw}}">{{if .Templates.About.Nsfw}}YES{{else}}NO{{end}}</span></li> |
| @@ -46,6 +46,6 @@ |
| 46 | {{end}} |
46 | {{end}} |
| 47 | </ul> |
47 | </ul> |
| 48 | </details> |
48 | </details> |
| 49 | <p>{{T "about.copyright"}}<a href="https://git.macaw.me/skunky/SkunkyArt" target="_blank">lost+skunk</a> and <a href="https://github.com/krazywarez" target="_blank">zerolabs</a>, X11. <a href="https://github.com/krazywarez/skunky-art/releases/tag/v{{.Version}}" target="_blank">SkunkyArt v{{.Version}}</a></p> |
49 | <p>{{T "about.copyright"}}<a href="https://git.macaw.me/skunky/SkunkyArt" target="_blank">lost+skunk</a> and <a href="https://github.com/krazywarez" target="_blank">zerolabs</a>, X11. <a href="https://gitbay.org/krz/skunky-art/releases" target="_blank">SkunkyArt v{{.Version}}</a></p> |
| 50 | </main> |
50 | </main> |
| 51 | </html> |
51 | </html> |
static/html/index.htm
+1 −1
| @@ -21,7 +21,7 @@ |
| 21 | <button type="submit">{{T "search.submit"}}</button> |
21 | <button type="submit">{{T "search.submit"}}</button> |
| 22 | </form> |
22 | </form> |
| 23 | <h1 class="source"> |
23 | <h1 class="source"> |
| 24 | <a href="https://github.com/krazywarez/skunky-art" target="_blank" title="{{T "index.source"}}">SkunkyArt</a> |
24 | <a href="https://gitbay.org/krz/skunky-art" target="_blank" title="{{T "index.source"}}">SkunkyArt</a> |
| 25 | </h1> |
25 | </h1> |
| 26 | </div> |
26 | </div> |
| 27 | </main> |
27 | </main> |