Back to services

Klaus

Simple, easy-to-set-up Git web viewer that Just Works.

View alternatives to Klaus
Suggest edit
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: We couldn't fetch the official site (the GitHub repository page) this time. The content below is based on known information about the project, so please refer to the project's README for specific details.

Overview

Klaus is a simple web viewer for Git repositories, built around being easy to install and ready to use out of the box. It doesn't have the complex features of full code hosting platforms like GitLab or Gitea. It does just one thing: it displays Git repositories that already exist locally on the web, making it easy to browse code and history.

Key Features

  • Repository browsing: View directory trees, file contents, and a list of multiple repositories
  • Commit history and diffs: View commit logs and the diff of each commit
  • Syntax highlighting: Colorizes source code using Pygments
  • Document rendering: Can render README files in formats such as Markdown
  • Git Smart HTTP: Optional; when enabled, repositories can be cloned directly over HTTP
  • Access authentication: Supports simple authentication using an htdigest file

Target Users and Use Cases

  • Individual developers who want to quickly browse their own Git repositories on a local network or a server
  • Small teams that need a read-only code browsing page but don't want to deploy a full code hosting platform
  • Temporarily viewing or sharing the code and commit history of a repository

Core Strengths

  • Minimal deployment: Starts with a single command and needs almost no configuration
  • Lightweight: Built on Python with few dependencies and low resource usage
  • Focused: Only does repository browsing, with a clean interface

Installation and Usage

Install via pip:

pip install klaus

Start it and browse one or more repositories:

klaus /path/to/repo1 /path/to/repo2

In production, you can deploy it via WSGI on servers such as Gunicorn or uWSGI, and the project also provides a Docker image.

Technical Requirements

  • A Python environment
  • The Git repositories to be displayed must be accessible locally on the server

Notable Characteristics

  • Klaus is a read-only repository viewer and does not provide collaboration features such as issue tracking, merge requests, or user management
  • It is built on a pure-Python Git implementation (Dulwich), which makes it well suited to personal or small-scale use