Skip to main content

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.

Source Distribution

simplegitweb-0.1.6.1.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file simplegitweb-0.1.6.1.tar.gz.

File metadata

File hashes

Hashes for simplegitweb-0.1.6.1.tar.gz
Algorithm Hash digest
SHA256 407a3036eb81afc6ffb73131a664368f2fb93e145ea096010887cc21f91fd979
MD5 298c6376841d6ff532707827e7b516bd
BLAKE2b-256 ff1a976038780b1597aad813f47bfefebe1c6bbb659d4f2d087ebad292e43408

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page