Skip to content
Make it easier to keep a cgit mirror of github
Ruby HTML Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
src
tests
.gitignore
Gemfile
Gemfile.lock
Makefile
README.md
about.html

README.md

github2cgit

Just something to help generate the information required by cgit to display your repository. Please remember to include the repository file in your /etc/cgitrc.

Here is a real example:

css=/cgit.css
enable-commit-graph=1
enable-git-clone=1
enable-git-config=1
enable-html-serving=1
enable-http-clone=1
enable-index-links=1
enable-index-owner=1
enable-log-filecount=1
enable-log-linecount=1
include=/etc/github_repositories
logo=/cgit.png
root-desc=eine CGI-Anwendung
root-readme=/var/www/html/about.html
root-title=git.alemayhu.de
snapshots=tar.gz tar.bz2 zip
virtual-root=/

TODO

  • Support private repsitories.
  • Support public and private organizations.
  • Use external configuration files for users and organizations.
You can’t perform that action at this time.