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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d1d7d2d · Apr 12, 2023

History

79 Commits
Apr 12, 2023
Jun 20, 2017
Jun 20, 2017
Jun 20, 2017
Mar 9, 2022
Mar 9, 2022
Jun 20, 2017
Jun 28, 2017
Mar 9, 2022
Mar 30, 2022
Mar 31, 2020
Mar 30, 2022

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