GitHub - skorotkiewicz/aurcade: A small Git repository host for static accounts. · GitHub
/" data-turbo-transient="true" />
Skip to content
Type / to search
Sign in<br>Sign upAppearance settings
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
skorotkiewicz
aurcade
Public
Notifications<br>You must be signed in to change notification settings
Fork
Star
main
BranchesTags
Go to file
CodeOpen more actions menu
Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit
History<br>41 Commits<br>41 Commits
.github/workflows
.github/workflows
assets
assets
docker
docker
src
src
.aurcade.toml
.aurcade.toml
.dockerignore
.dockerignore
.gitignore
.gitignore
Cargo.lock
Cargo.lock
Cargo.toml
Cargo.toml
README-bak.md
README-bak.md
README.md
README.md
config_example.toml
config_example.toml
justfile
justfile
View all files
Repository files navigation
AURcade
A tiny Git host with cgit over HTTP and authenticated pushes over SSH.
cgit provides the web interface and HTTP clones.
SSH provides authenticated Git access.
config.toml defines accounts, SSH keys, and repository paths.
Run
Create a directory:
mkdir aurcade<br>cd aurcade
Create config.toml:
title = "AURcade"<br>description = "My Git repositories"<br>clone_prefix = "http://localhost:8080 ssh://git@localhost:2222"<br>style = "cgit-theme.css"<br>logo = "aurcade-logo.svg"
[[accounts]]<br>name = "alice"<br>ssh_keys = ["ssh-ed25519 REPLACE_WITH_YOUR_PUBLIC_KEY"]<br>paths = ["alice/"]
docker run -d \<br>--name aurcade \<br>--restart unless-stopped \<br>-p 8080:80 \<br>-p 2222:22 \<br>-v "$PWD/config.toml:/etc/aurcade/config.toml:ro" \<br>-v ./repositories:/var/lib/aurcade \<br>-v ./ssh-host-keys:/etc/ssh/host_keys \<br>ghcr.io/skorotkiewicz/aurcade:latest
Build locally instead:
docker compose -f docker/docker-compose.yml up --build -d
Open http://localhost:8080. After configuration changes, run docker restart aurcade.
Access
paths = ["example", "team/tools"] # An exact path grants access to one repository.<br>paths = ["alice/"] # Namespace; creates repositories on first push.
Git
git clone ssh://git@localhost:2222/example.git
git remote add origin ssh://git@localhost:2222/alice/newrepo.git<br>git push -u origin main
Metadata
Add .aurcade.toml to a repository:
description = "A tiny repository with an unnecessarily dramatic README"
Metadata refreshes after each push. Repositories shared by multiple accounts appear under shared.
About<br>A small Git repository host for static accounts.<br>Resources<br>Readme<br>Activity<br>Stars<br>0 stars<br>Watchers<br>0 watching<br>Forks<br>0 forks<br>Report repository
Packages
Contributors
Languages
You can’t perform that action at this time.