Documentation ¶
Overview ¶
sourcehut-vanity hosts an HTTP server that redirects HTTP requests to projects hosted on sourcehut. Example usage:
$ sourcehut-vanity -u blowry -p 0.0.0.0:8080 # localhost:8080/sourcehut-vanity redirects to https://git.sr.ht/~blowry/sourcehut-vanity # localhost:8080/sourcehut-vanity/README.md redirects to https://git.sr.ht/~blowry/sourcehut-vanity/tree/master/README.md # localhost:8080/sourcehut-vanity?go-get=1 returns an HTML page with meta tags so go get can find the correct repository
Compatible with go-get(1) and standard browsers. SPDX-License-Identifier: GPL-3.0-or-later
Directories ¶
Path | Synopsis |
---|---|
VanityServer implements an HTTP.Handler that redirects HTTP requests to projects hosted on sourcehut.
|
VanityServer implements an HTTP.Handler that redirects HTTP requests to projects hosted on sourcehut. |
Click to show internal directories.
Click to hide internal directories.