💾 Archived View for ebc.li › posts › gitserv.gmi captured on 2021-11-30 at 20:18:30. Gemini links have been rewritten to link to archived content

View Raw

More Information

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

gitserv - A simple GitHub Pages-like thing, but selfhosted

2021-05-23

gitserv is a small Go program that serves the contents of a Git repository (including bare repositories) as a static web site.

The bare repositories part is kinda important considering most Git servers (that I am aware of) drop bare repositories into your drives, instead of non-bare repositories most people are used to. Otherwise you could just point Nginx or something into a folder and call it a day.

I mostly made this for my own use, but decided to release it onto the world as well just in case it gets used by other people too. Check it out if it sounds interesting.

https://sr.ht/~admicos/gitserv

(Also, the HTTP version of my site now runs this. Thought it might be interesting to know)

🐺 · CC BY-SA 4.0 · me@ecmelberk.com