Skip to content

acidghost/gabber

Repository files navigation

Gabber

Release Build Status License

:octocat: Repository to $EDITOR, at high BPM

Description

Gabber provides instant access to GitHub repositories from your browser with automatic cleanup. This tool combines a browser extension with a macOS app to streamline the workflow of temporarily cloning and editing repositories. Perfect for quick contributions, code reviews, or exploring projects without cluttering your local filesystem.

Quick start

  1. Install the browser extension and macOS app from releases
  2. Navigate to any GitHub repository
  3. Click the Gabber button in your browser toolbar
  4. Repository opens automatically in your configured editor

Installation

Browser extension

  1. Download the latest extension package from releases
  2. Install in your browser (supports WebExtensions API)
  3. The extension will add a button to your browser toolbar

macOS app

  1. Download Gabber.dmg from releases
  2. Mount the DMG and drag Gabber.app to Applications
  3. Launch the app and follow the setup instructions
  4. The CLI tool can be optionally installed via the app

Alternatively, build from source using just:

just install

Usage

Browser workflow

  1. Navigate to any GitHub repository page
  2. Click the Gabber extension button
  3. Repository is cloned to a temporary directory and opened in $EDITOR

CLI usage

# Direct CLI usage
git-gabber https://github.com/owner/repo

# Works with various GitHub URL formats
git-gabber https://github.com/owner/repo/blob/main/file.js#L42
git-gabber [email protected]:owner/repo.git

Code example

The extension converts GitHub URLs to gabber:// protocol links:

// Extension automatically transforms GitHub URLs
window.location.href = "gabber://github.com/owner/repo";

Configuration

Gabber uses your system's $EDITOR environment variable. Set it to your preferred editor:

export EDITOR="code"        # VS Code
export EDITOR="vim"         # Vim
export EDITOR="subl"        # Sublime Text

No additional configuration files are required. Temporary directories are automatically cleaned up after editing sessions.

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines on submitting issues and pull requests.

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

Credits

Inspired by git-peek and peek by Jarred Sumner.

About

:octocat: Repository to $EDITOR, at high BPM

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •