Klaus

Instantly view your Git repositories in a web browser. Get started easily with Docker or pip. Features syntax highlighting, Markdown rendering, and code navigation.

klaus is a simple, easy-to-set-up Git web viewer designed to just work out of the box. If you need to quickly browse Git repositories on a server or your local machine without complex configuration, this is the tool for you. It's built to be lightweight and straightforward.

It comes packed with essential features for developers:

  • Easy setup: No configuration is required to get started.
  • Syntax highlighting: View code with proper highlighting for numerous languages.
  • Document rendering: Supports rendering for both Markdown and RestructuredText files.
  • Pull and push support: Includes support for Git Smart HTTP.
  • Code navigation: Uses Exuberant ctags for efficient code navigation.

Getting started is incredibly simple. The easiest method is using the maintained Docker image, which comes pre-configured with all features. Just run a single docker run command pointing to your repositories. Alternatively, you can install it locally using pip install klaus. For more demanding, production environments, it can be deployed as a WSGI application with servers like uWSGI or Gunicorn.

Directory Structure

klaus
repos
.env
docker-compose.yml

docker-compose.yml

services:
  klaus:
    image: jonashaag/klaus:latest
    container_name: klaus
    ports:
      - "8080:8080"
    volumes:
      - ./repos:/srv/repos:ro
    restart: unless-stopped

.env

# No sensitive environment variables required for basic Klaus setup.
Categories:

Share:

Ad
Favicon

 

  
 

Similar to Klaus

Favicon

 

  
  
Favicon

 

  
  
Favicon