Description
Ginatra is a simple web interface for browsing git repositories, built on Ruby and the Sinatra framework. You point it at folders that contain repositories, and it shows their branches, tags, commit history, diffs and patches in the browser. Syntax highlighting, repository stats and Atom feeds for each repository are included, and it can work with several repositories and several branches or tags in each one. It can be installed as a Ruby gem from RubyGems, which the README recommends unless you plan to change the code, or run from source as a Sinatra app. By default the server listens on localhost port 9797. Settings live in a config file at ~/.ginatra/config.yml, where you list the folders to scan, set a site name and description, choose the host and port, and set a prefix if it runs under a subdirectory. An optional setting turns on smart HTTP support, so repositories can be cloned through the interface. Errors and warnings can be logged to a file you choose. The project is public on GitHub.…
Highlights
- Browse commits, branches, tags and diffs in a browser
- Multiple repositories with several branches each
- Atom feeds and syntax-highlighted diffs
- Repository stats and optional smart HTTP cloning
- Installs as a Ruby gem
Ratings & Reviews
No ratings yet
Be the first to rate Ginatra.
People also visit
Ginatra FAQ
What is Ginatra?
A web-based git repository browser built on Ruby and Sinatra.
How do I install it?
Install the Ginatra gem from RubyGems, create a config file, and start the server. You can also install it from source as a Sinatra app.
Where does it run?
By default at localhost:9797. The host, port and URL prefix can be changed in the config file.
How does it find my repositories?
You list folders in git_dirs in ~/.ginatra/config.yml, and each path ends with an asterisk so Ginatra scans the repositories inside it.
Can people clone repositories through it?
Yes, if the git_clone_enabled setting is on. It then supports smart HTTP cloning.
What are the best Ginatra alternatives?
Popular alternatives to Ginatra include Sourcehut, Git Sim and Gitlogue. See all Ginatra alternatives


