🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

web_git

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web_git

0.1.0
Rubygems
Version published
Maintainers
2
Created
Source

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.

FAQs

Package last updated on 30 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts