Project

web_git

0.0
Low commit activity in last 3 years
No release in over a year
WebGit is an embeddable Sinatra app that provides an in-browser visual interface to a simple but effective Git workflow. For educational purposes.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 2.1.0
~> 3.5.0
>= 6.3.1

Runtime

 Project Readme

WebGit

An in-browser Git GUI for your Rails project.

WebGit is an embeddable Sinatra app that provides an in-browser visual interface to a simple but effective Git workflow. For educational purposes.

Installation

Add this line to your application's Gemfile:

gem "web_git", git: "https://github.com/firstdraft/web_git"

And then execute the following command in a Terminal:

bundle install

In the directory of your Rails app run:

rails generate web_git:install

Then rails server and visit /git.

Usage

In your Rails app

# config.ru
# This file is used by Rack-based servers to start the application.

require_relative 'config/environment'

map '/git' do
  run WebGit::Server
end

map '/' do
  run Rails.application
end

License

The gem is available as open source under the terms of the MIT License.