💾 Archived View for thebackupbox.net › ~epoch › blog › git-path captured on 2024-12-17 at 10:14:04. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-07-09)

-=-=-=-=-=-=-

an incomplete taxonomy of git web-viewer paths

(in an attempt to come up with what /I/ should do with my own git web-viewer)

to get up to the repo ($BASE):

on sr.ht: https://git.sr.ht/~$USER/$REPO/

on github: https://github.com/$USER/$REPO/

on gitlab: https://gitlab.com/$USER/$REPO/

on cgit: https://[host]/cgit.cgi/$REPO/ (no $USER)

on gitea: https://[host]/$USER/$REPO/

on gogs: https://[host]/$USER/$REPO/

to view a file in the repo:

on sr.ht: $BASE/tree/$BRANCH/item/$PATH

on github: $BASE/blob/$BRANCH/$PATH

on gitlab: $BASE/-/blob/$BRANCH/$PATH

on cgit: $BASE/tree/$PATH

on gitea: $BASE/src/branch/$BRANCH/$PATH

on gogs: $BASE/src/$BRANCH/$PATH

to get raw version of a file in the repo:

on sr.ht: $BASE/blob/$BRANCH/$PATH

on github: https://raw.githubusercontent.com/$USER/$REPO/$BRANCH/$PATH (wtf?)

on gitlab: $BASE/-/raw/$BRANCH/$PATH

on cgit: $BASE/plain/$PATH

on gitea: $BASE/raw/branch/$BRANCH/$PATH

on gogs: $BASR/raw/$BRANCH/$PATH