Skip to content

An embeddable Sinatra app that provides a visual git client in Rails applications

License

Notifications You must be signed in to change notification settings

firstdraft/web_git

Repository files navigation

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.

About

An embeddable Sinatra app that provides a visual git client in Rails applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published