Giter Site home page Giter Site logo

klaus's Introduction

klaus

a simple Git web viewer that Just Works™. (beta quality)

Demo at http://klausdemo.lophus.org

img1 img2 img3

Requirements

Installation

The same procedure as every year, James.

virtualenv your-env
source your-env/bin/activate

pip install jinja2
pip install pygments
pip install dulwich
pip install flask

git clone https://github.com/welterde/klaus

Usage

Using the quickstart.py script

./quickstart --help
./quickstart.py <host> <port> /path/to/repo1 [../path/to/repo2 [...]]

Example:

./quickstart.py 127.0.0.1 8080 ../klaus ../nano ../bjoern

This will make klaus serve the klaus, nano and bjoern repos at 127.0.0.1:8080 using Python's built-in wsgiref server (or, if installed, the bjoern server).

Using a real server

The klaus.py module contains a WSGI application object. The repo list is read from the KLAUS_REPOS environment variable (space-separated paths).

UWSGI example:

uwsgi ... -m klaus --env KLAUS_REPOS="/path/to/repo1 /path/to/repo2 ..." ...

klaus's People

Contributors

jonashaag avatar welterde avatar

Stargazers

Kevin Hatfield avatar Jonathan Barratt avatar  avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

cloudxtreme

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.