Skip to content
This repository has been archived by the owner on Sep 19, 2021. It is now read-only.

dengyt2018/simplegitweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published