Skip to content

Minimal server for git repos. Only shows latest commit tree. Dumb http clone and archive download supported

License

Notifications You must be signed in to change notification settings

Nananas/gogitserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gogitserver

Minimal public git server

Features

- Minimal
- Hosts multiple repositories. Index file with list of repos
- Repository tree navigation
- File serving of bare repo files
- Archive download
- Clone link ('dumb HTTP')
- YAML config file...

What files are packaged?

- ./static/styling.css
- ./templates/tree.html
- ./templates/index.html
- ~/.config/gogitserver.conf
- gogitserver binary

Run with -d flag to enable console debug logging, otherwise logging will be done to a file called ./logfile.log.

example config file:

header: |
    <script>
    	// include analytics script here
    </script>

port: 5888
repos: 
  - 
  description: "Minimal server for git repos. Only shows latest commit tree. Dumb http clone and archive download supported."
    name: GitServer
    path: ./gitserver.git
    footer: |
      <div class="repo" style="position:absolute; bottom:50px; left:0; right:0; text-align:center; width:50%; margin:auto">
      <a href="http://github.com/Nananas/gogitserver" style="">Github</a>
      </div

About

Minimal server for git repos. Only shows latest commit tree. Dumb http clone and archive download supported

Resources

License

Stars

Watchers

Forks

Packages

No packages published