___
[___] _
| ~| =)_)=
| | (_(
| | )_)
\___|
| `========,
__`. BIDET .'___
`. .'
_| |_...
(________);;;;
:::::::'
nmyk.io/bidet is a pure HTML server-side rendered web interface for git repositories.
It is hooked up to the plumbing, but it's all output, no input.
go install nmyk.io/bidet/cmd/bidet@latest
Bidet can also be configured with environment variables:
BIDET_PORTThe --hostname flag or BIDET_HOSTNAME variable should match the host people will use in git clone commands.
The --greeting flag or BIDET_GREETING variable is an optional subheader for your repository index page. Describe the purpose of your site, write a funny message, or leave it blank.
Unlike centralized, corporate-owned git web hosts, Bidet's appearance is fully customizable. Its templates only use classless elements so there's no naming scheme you need to learn before writing your own stylesheet. It's pretty much just <p>, <a>, <hr>, some lists (<ul>/<li>), heading elements (<h1> to <h4>), and <pre>.
The --css flag or BIDET_CSS environment variable accepts a local CSS file path or a URL. The custom stylesheet is loaded once at startup, so external CSS files will not be hotlinked.
git clone https://git.nmyk.io/bidet.git
Send your patch in plain text git diff format to bidet@git.nmyk.io.