vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Remove repository tab polling and rename Code to Source
cc7faea36a31373079df8fce68c1bc20a44873a0 · Keenan Nemetz · 3d ago · parent 0a12642f
Remove repository tab polling and rename Code to Source
The tab row no longer polls its open counts, so the /{name}/counts endpoint, its htmx trigger, and the badge animation are gone. The unfocused-window note has been removed while the other live regions still pause.
The Code tab is now Source, served at /{name}/source; links, sitemap entries, markdown tree links, and tests follow the new route.
server/web/markdown.go +2−2
| @@ -299,9 +299,9 @@ func docHref(doc treeDoc, dest string, image bool) (string, bool) { | |||
| 299 | 299 | case image: | |
| 300 | 300 | return base + "raw/" + ref + "/" + target + suffix, true | |
| 301 | 301 | case directory && target == "": | |
| 302 | // The repository root, which the code page is: there is no tree route | ||
| 302 | // The repository root, which the source page is: there is no tree route | ||
| 303 | 303 | // for an empty path. | |
| 304 | return base + "code?ref=" + url.QueryEscape(doc.Ref), true | ||
| 304 | return base + "source?ref=" + url.QueryEscape(doc.Ref), true | ||
| 305 | 305 | case directory: | |
| 306 | 306 | return base + "tree/" + ref + "/" + target + suffix, true | |
| 307 | 307 | case isMarkdown(target): | |