git-serve

command module
v0.0.0-...-27b7fd9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 6 Imported by: 0

README

git-serve

serve the contents of your git repository over HTTP (most likely a static website), with the correct mime types.

this is different from just putting a static server on the repo folder because you can request different versions with the url

/@rev/index.html -> rev can be a branch or tag name, or a commit hash

configuration

configuration is done through environment variables.

  • PORT: http server port (default: 8080)
  • REPO: path to your git repo (default: /src)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL