+
Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

zacanger/gwn

Repository files navigation

gwn

DEPRECATED, use Klaus

Like GitWeb, but Node

CircleCI Docker Pulls Patreon ko-fi

screenshot


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.

LICENSE

About

Like GitWeb, but Node

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载