{{define "content"}} {{if .User}}

Your repositories

{{if .Data.Repos}}{{template "repolist" .Data.Repos}}{{else}}

You have no repositories yet.

{{end}} Create a repository ▸

Your profile

Set a bio in Markdown, a location, a workplace and an avatar. Your page is ~{{.User.Name}}.

Edit your profile ▸

Keys and tokens

Register SSH public keys for pushing and create access tokens for HTTPS pushes or scripts.

Manage keys ▸
{{else}}
Welcome to {{.Host}}!

{{.Host}} is a small, self hosted git forge. It serves repositories over SSH and HTTPS and renders trees, logs, diffs and READMEs as plain pages, with Markdown and LaTeX where it helps and no scripts where it doesn't.

Host a repository

Registration is by invitation. Once you have an account, push any repository and it gets a page with its history, refs and README.

Register ▸

Browse the code

Every public repository can be cloned anonymously over HTTPS and read in the browser with syntax highlighting.

Recent repositories ▸

Already a member?

Log in to see your repositories, manage SSH keys and tokens, and edit your profile.

Log in ▸
{{end}}

Recent repositories

{{.Data.Public}} public repositories from {{.Data.Users}} users.

{{template "repolist" .Data.Recent}}
{{end}} {{define "repolist"}} {{if .}}
{{range .}}
{{.Path}}{{if .Private}} private{{end}}{{if .Description}}
{{.Description}}
{{end}}
{{ago .Created}}
{{end}}
{{else}}

Nothing here yet.

{{end}} {{end}}