Diffstat (limited to 'README.md')
1 file changed, 6 insertions(+), 6 deletions(-)
@@ -1,4 +1,4 @@
# git-rs
# gitrs
A fast, minimal web interface for self-hosted Git repositories, inspired by `cgit` and written in Rust using Actix Web, `gix` (gitoxide), and Askama templates.
@@ -19,10 +19,10 @@
## Usage
By default, `git-rs` reads bare repositories from `/srv/git` and listens on `127.0.0.1:80`:
By default, `gitrs` reads bare repositories from `/srv/git` and listens on `127.0.0.1:80`:
```sh
git-rs --url 0.0.0.0 --port 80 --repos-dir /srv/git
gitrs --url 0.0.0.0 --port 80 --repos-dir /srv/git
```
### Options
@@ -49,7 +49,7 @@
```sh
# From crates.io
cargo install git-rs
cargo install gitrs
# Or from a local checkout
cargo install --path .
@@ -58,9 +58,9 @@
To install and start the `systemd` service:
```sh
sudo $(which git-rs) --install-service --url 0.0.0.0 --port 80 --repos-dir /srv/git
sudo $(which gitrs) --install-service --url 0.0.0.0 --port 80 --repos-dir /srv/git
sudo systemctl daemon-reload
sudo systemctl enable --now git-rs
sudo systemctl enable --now gitrs
```
## License