# Legit

Legit is a self-hosted development app. A lightweight, self-hosted web frontend for Git repositories, written in Go, that lets you browse and clone repositories over HTTP/HTTPS with customizable templates and stylesheets. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/2897/legit

## Description

A lightweight, self-hosted web frontend for Git repositories, written in Go, that lets you browse and clone repositories over HTTP/HTTPS with customizable templates and stylesheets.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

21/100 (Low), based on 4 of 5 factors.
- Maintained: 9 (last commit 644 days ago)
- Popular: 53 (470 GitHub stars)
- Easy to install: 20 (1 install platform, Docker image)
- Security check: 5 (4 serious findings, 5 minor, CI)

## Security check

4 serious findings: Uses golang.org/x/crypto v0.33.0, which has a known critical vulnerability; Uses golang.org/x/crypto v0.33.0, which has a known critical vulnerability; Uses golang.org/x/crypto v0.33.0, which has a known critical vulnerability; Uses golang.org/x/crypto v0.33.0, which has a known critical vulnerability.
Automated checks on commit 5acac24, 1 Nov 2026. Not an audit.

## Links

- Unraid: https://ca.unraid.net/apps/legit-0uvudgl1clq6mh?q=legit
- Official website: https://swapoff.org

## Common questions

### Where does legit expect Git repositories to be located?

Set repo.scanPath to the directory containing your Git repositories. It does not traverse subdirectories yet, so repositories should live directly under that path.

### Can clients clone non-bare repositories over HTTP or HTTPS?

Cloning over HTTP or HTTPS only works with bare repositories. Non-bare repositories can still be viewed in the web interface, but they are not usable for HTTP cloning.

### How do you point legit to a config file outside the current directory?

By default it looks for config.yaml in the current directory. Pass the --config flag to point it to another configuration file.

### How can specific repositories be hidden or skipped?

Use repo.ignore to skip repositories relative to scanPath. Use repo.unlisted to hide repositories relative to scanPath.

---
Source: Our Local Host (https://ourlocalhost.com/app/2897/legit), the self-hosted and open-source app directory.
