Skip to content

klaus

Zero-configuration web viewer for Git repositories you host on your own server

Permissive (OSI) · ISC

Listed by , founder & editor

58

Health

Active

Overview

Stars

707

Last commit

10 days ago

Nov 2026

Repository age

15 years

since Jun 2011

Latest version

–

Contributors

–

1 active in 90 days

Releases

0

last 12 months

Docker pulls

6.5k

jonashaag/klaus

Language

Python

Klaus is a small Python web app that lets you browse Git repositories in a browser. You point it at one or more repository folders and it serves them. No configuration file is needed to get started.

It shows commits and files with syntax highlighting, renders Markdown and reStructuredText, and offers code navigation through Exuberant ctags. It also supports pulling and pushing over Git Smart HTTP, so you can use it as a simple remote as well as a viewer. You can install it with pip or run the maintained Docker image, which has highlighting, Markdown rendering and navigation preconfigured.

The built-in klaus script is meant for testing and low-traffic local use. For real traffic you run it as a WSGI app under uWSGI or Gunicorn, and a helper script reads settings from environment variables. Klaus is licensed under ISC and has been developed since 2011.

It is a lightweight option if you want a read-focused view of your repositories. It does not try to match full platforms such as GitHub or GitLab, which add issues and pull requests.

Who it's for

Solo developers with bare Git repos on a server

You get a browsable web view of existing repositories without setting up a database or accounts.

Skip if: You need issues, pull requests or user management built in.

Small teams sharing code on a LAN

The Docker image runs with one command and serves Git Smart HTTP for pull and push.

Skip if: You need fine-grained access control for many users.

Python admins who already run WSGI apps

Klaus exposes a WSGI app that fits uWSGI or Gunicorn setups.

Skip if: You prefer a single-binary forge with its own built-in server.

The problem it solves

Plain Git repositories on a server are hard to browse without cloning them. Full Git hosting platforms are heavy when you only want to read code, history and READMEs in a browser.

Strengths

  • Starts with no configuration; just pass repository paths
  • Syntax highlighting and Markdown plus reStructuredText rendering
  • Git Smart HTTP gives pull and push support
  • Official Docker image with highlighting and code navigation preconfigured
  • Permissive ISC license

Trade-offs

  • Built-in server is single-threaded and only for testing or low traffic
  • One active contributor in the last 90 days and no releases last year
  • No issue tracker or pull requests

Self-host klaus

Self-hostable
Yes
Docker image
jonashaag/klaus

Quick start

docker run -v /path/to/your/repos:/repos \
-p 7777:80 \
-it jonashaag/klaus:latest \
klaus --host 0.0.0.0 --port 80 /repos/repo1 /repos/repo2 ...

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Klaus free?

Yes. It is open source under the permissive ISC license.

Can I self-host it?

Yes. Install it with pip or run the Docker image, and point it at your Git repositories.

Can I push to repositories through it?

Yes. It supports pull and push over Git Smart HTTP.

Can I use it in production?

Run it under a real WSGI server such as uWSGI or Gunicorn. The bundled klaus script is only for testing and low-traffic setups.

Similar tools in Git hosting and version control

GitHub Desktop

Git hosting and version control

Linux build of the GitHub Desktop Git client, shipped as AppImage, deb and rpm

8.1k 594 2 years ago Dormant MIT

GitLab FOSS

Git hosting and version control

Self-hosted Git platform with merge requests, issues and CI for software teams

7.2k 8.4k 3 days ago Slowing MIT

OpenHub

Git hosting and version control

Android GitHub client for browsing repos, issues and commits on your phone

4.4k 441 6 years ago Dormant GPL-3.0

Review Board

Git hosting and version control

Self-hosted web tool for reviewing code and documents across many version control systems

1.7k 437 3 days ago Active MIT

SCM Manager

Git hosting and version control

Self-hosted server for managing Git, Mercurial and Subversion repositories

188 37 today Active AGPL-3.0

gitlist

Git hosting and version control

Self-hosted PHP web viewer for browsing git and Mercurial repositories

2.9k 506 24 days ago Slowing BSD-3-Clause