gwn
DEPRECATED, use Klaus
Like GitWeb, but Node
Installation
npm i -g gwn
Usage
gwn -r path-to-repos-root -p port# example gwn -r ~/dev -p 8000# root defaults to cwd # port defaults to 9999
Docker
docker run -it -p 9999:9999 -v /path/to/repos:/repos zacanger/gwn
Check out the repo.
Alternatives
- GitWeb — it's built in, but it's a CGI script written in Perl, which is not a language I love.
- cgit — fast, but still quite complicated, and written in C, which is not very approachable.
- Klaus — simple, written in a good language (Python), well-maintained. If I didn't want to write my own, I'd be using this.
TODO
- Refactor all the code, most of it is janky
- Branch and tag support
- Use something like Isomorphic git or Git-JS to do the actual git work, rather than execing all over the place
Credits
Some code based on this project.