# ogit configuration file # Copy to $XDG_CONFIG_HOME/ogit/config.toml or /etc/ogit/config.toml, # or set OGIT_CONFIG to point to a custom location. # Username displayed in the page footer and navigation title. # When empty, the navigation shows "Repositories" and the footer # omits the name. # Type: string user_name = "" # Default branch to resolve when HEAD is detached or missing. # Type: string default_branch = "main" # Filesystem path containing bare or non-bare git repositories. # Type: string (absolute path) git_project_root = "/srv/git" # Maximum number of commits shown on the summary page. # Type: integer (must be positive) commits_max_displayed = 10 # Root navigation title. When empty, defaults to "Repositories" (or # "Repositories for " if user_name is set). # Type: string ogit_root_title = "" # Image URL used by the navigation logo. Local paths are normalized to start # at the site root; absolute HTTP(S) and data URLs are also accepted. # Type: string nav_logo = "/static/git_icon.svg" # Network interface to bind the HTTP server to. # Type: string (IP address) host = "127.0.0.1" # TCP port for the HTTP server. # Type: integer (1-65535) port = 8081 # Repositories or directories to highlight in a "Favorites" section # at the top of the root page. Use the repo directory name for repos # (e.g. "myproject.git") or a directory name with trailing slash for # groups (e.g. "important/"). # Type: array of strings favorite_repositories = [] # Repositories or directories to collect in an "Archived" section # at the bottom of the root page. Same naming convention as above. # Type: array of strings archived_repositories = []