juliankang4 / owngit
git clone https://github.com/juliankang4/owngit.git
v1.1.8 · 12d ago
Self-hosted Git server for home labs and local machines
+0
stars, 24h · #37,059
+~-9
stars, 7 days · #61,560
+98
stars, 30 days · #7,271
98
★ total · -8% this week
9
forks · 0 open issues
Star history (as recorded here)
LanguageGo
LicenseGPL-3.0
Created2026-09-24 (29d ago)
Last push12d ago
Watchers8
OwnerUser
GitHub topics
code-reviewgitgit-hostinggit-servergogolanghome-serverhomelabmcp-serverpull-requestsself-hostedsqlitetailscale
Links
README excerpt
OwnGit English | 한국어 OwnGit is a self-hosted Git server for one person or a small group. It keeps your private repositories on your own computer, NAS or home server, and gives you a browser dashboard for them. You need no cloud account or subscription. Install it with one command, then open the setup link it prints. ## Features - Clone, fetch and push with any Git client over HTTP. Repositories are ordinary bare Git repositories. - Browse files, commits, diffs, branches and tags, and download any of them as ZIP or tar.gz. - Open, review and merge pull requests in the browser or from the command line. A plain `git push` needs no pull request. - Keep the history that a force-push, an import or a deletion would remove, and restore files from the browser. - Back up and restore repositories and records, on a schedule or on demand. - Import a repository from another HTTPS Git host and keep it up to date. - Share one repository read-only through a link you can revoke. - Run GitHub Actions workflow files from your repositories on this computer, in Docker or on your own runner, with no GitHub account. - Record and run project checks, and connect coding tools through JSON commands or MCP. - One Go program with a SQLite file. There is no database service to run. - English or Korean, with Light, Dark and System appearance. ## Install On Linux (x64, ARM64) and macOS (Apple silicon): [code] On Windows (x64), in PowerShell: [code] The installer checks the download against the release's `SHA256SUMS`, installs `owngit`, runs it as a service and prints the setup link. Other ways to install: | Route | Command | | --- | --- | | Homebrew command and server (macOS, Linux) | `brew install juliankang4/tap/owngit` | | Homebrew menu bar app (macOS) | `brew install --cask juliankang4/tap/owngit`, then `owngit service install` | | npm (needs Node.js) | `npm install -g owngit` | | Arch Linux | `makepkg -si` with the `PKGBUILD` from the latest release | | Docker Compose | `docker compose up -d` with `compose.yaml`, then `docker compose exec -it owngit owngit setup-link` | | Proxmox VE host, as root | `/usr/bin/curl --proto '=https' --proto-redir '=https' -fsSL https://owngit.app/proxmox.sh \| /bin/sh` | | Source (Go 1.27 or newer) | `go build -o bin/owngit ./cmd/owngit` | Except for the container and Proxmox VE, OwnGit needs Git on PATH with an executable `git-http-backend`. Pull request merging needs Git 2.38 or newer. Homebrew and the Arch package install Git. On Windows, use Command Prompt for npm, because PowerShell's default policy blocks the npm scripts. Operations has the details for each route. ## Quickstart 1. Run OwnGit as a service that starts by itself (the one-line installer already did this): [code] 2. Open the setup link that the command prints. Choose the repository folder and the passwords there. The link works once, within 15 minutes. `owngit setup-link` prints a new one. 3. Create a repository in the dashboard and clone it, for example from `http:/