Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

A Python git web server that base on dulwich lib

Project description

simplegitweb


A Python git web server that base on dulwich lib.

install

python setup.py install
or pip install simplegitweb
then find and run bash script "simplegitweb/systemd/install_service.sh" install systemd service

use

gitwebserver.py

from simplegitweb import gitwebserver as gitweb
if __name__ == '__main__':
    gitweb.main()

simplegitweb.conf

[DEFAULT]
scanpath = /opt/simplegitweb/
listen_address = 127.0.0.5
port = 3000
python gitwebserver.py --config simplegitweb.conf

Use browser to browse this default address you can add your project.

caddy proxy example

https://example.com {
    proxy / http://127.0.0.5:3000
    basicauth / 'your name' 'password'
    tls example@example.com
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
simplegitweb-0.1.6.1.tar.gz (5.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page