# Peek – 1-click from GitHub to local editor

<a target="_blank" href="https://github.com/Jarred-Sumner/1-click-from-github-to-editor/blob/main/big-webp.webp?raw=true"><img src="./big-webp.webp" height=200 /></a>

Instantly open files, pull requests, and repositories from GitHub in your local editor. Read, search, and review code from the comfort of your own local editing environment.

git-peek stores the files in a temporary directory, and automatically deletes the repository from your computer when you close your editor. [git-peek](https://github.com/Jarred-Sumner/git-peek) is also available as a CLI, this is the browser extension.

## [Download peek for Chrome](https://chrome.google.com/webstore/detail/peek-%E2%80%93-github-to-local-ed/lipffmbhaajmndiglgmmcfldgolfaooj)

## [Download peek for Firefox](https://addons.mozilla.org/en-US/firefox/addon/git-peek-for-github/)

Supports Visual Studio Code, Vim, and Sublime Text on Windows & macOS.

<a href="https://github.com/Jarred-Sumner/1-click-from-github-to-editor/blob/main/screenshot-1.png?raw=true"><img src="./screenshot-1.png" height=200 /></a>
<a href="https://github.com/Jarred-Sumner/1-click-from-github-to-editor/blob/main/screenshot-2.png?raw=true"><img src="./screenshot-2.png" height=200 /></a>
<a href="https://github.com/Jarred-Sumner/1-click-from-github-to-editor/blob/main/screenshot-3.png?raw=true"><img src="./screenshot-3.png" height=200 /></a>

This adds "Peek" buttons to Github that open `git-peek://github-url-in-here`, which triggers `git-peek` to very quickly fetch the file/branch/repo/pull request and open it in your local editor. All the magic is in `git-peek`. This just adds some buttons so you don't have to paste links into your terminal.
