cgit-auth
A very simple, yet safe and very fast authenticator and authorizer for cgit + gitolite written in crystal.
Dependencies
- cgit and gitolite (obviously)
- the htpasswd binary
Installation
- Copy
config.example
toconfig
and edit to your liking - Run
make release
Usage
- Place a htpasswd file in the location specified in config
- Add some credentials to the file (check out gitolite htpasswd)
- Use with cgit's auth-filter
Contributing
- Fork it ( https://github.com/[jreinert]/cgit-auth/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- [jreinert] Joakim Reinert - creator, maintainer