An open API service indexing awesome lists of open source software.

https://github.com/dennykorsukewitz/vscode-githubfilefetcher

This extension searches and fetches files from GitHub.
https://github.com/dennykorsukewitz/vscode-githubfilefetcher

extension fetch file github pages visualstudiocode vsc workflow

Last synced: 4 months ago
JSON representation

This extension searches and fetches files from GitHub.

Awesome Lists containing this project

README

          

# GitHubFileFetcher

**GitHubFileFetcher** is an extension that searches and fetches files from GitHub.

GitHubFileFetcher is a powerful extension for Visual Studio Code that can help you save time and increase your productivity. With its simple and intuitive interface, you can easily search for files and repositories on GitHub without leaving your workspace. Whether you are a seasoned developer or just starting out, GitHubFileFetcher is an excellent tool to add to your VS Code arsenal.

So, try it out and see how it can improve your workflow!

| Repository | GitHub | Visual Studio Marketplace |
| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| ![GitHub release (latest by date)](https://img.shields.io/github/v/release/dennykorsukewitz/VSCode-GitHubFileFetcher) | ![GitHub open issues](https://img.shields.io/github/issues/dennykorsukewitz/VSCode-GitHubFileFetcher) ![GitHub closed issues](https://img.shields.io/github/issues-closed/dennykorsukewitz/VSCode-GitHubFileFetcher?color=#44CC44) | ![Visual Studio Marketplace last-updated](https://img.shields.io/visual-studio-marketplace/last-updated/dennykorsukewitz.GitHubFileFetcher) ![Visual Studio Marketplace Version ](https://img.shields.io/visual-studio-marketplace/v/dennykorsukewitz.GitHubFileFetcher) |
| ![GitHub license](https://img.shields.io/github/license/dennykorsukewitz/VSCode-GitHubFileFetcher) | ![GitHub pull requests](https://img.shields.io/github/issues-pr/dennykorsukewitz/VSCode-GitHubFileFetcher?label=PR) ![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/dennykorsukewitz/VSCode-GitHubFileFetcher?color=g&label=PR) | ![Visual Studio Marketplace Rating release-date](https://img.shields.io/visual-studio-marketplace/release-date/dennykorsukewitz.GitHubFileFetcher) |
| ![GitHub language count](https://img.shields.io/github/languages/count/dennykorsukewitz/VSCode-GitHubFileFetcher?style=flat&label=language) | ![GitHub contributors](https://img.shields.io/github/contributors/dennykorsukewitz/VSCode-GitHubFileFetcher) | ![Visual Studio Marketplace Rating (Stars)](https://img.shields.io/visual-studio-marketplace/stars/dennykorsukewitz.GitHubFileFetcher) ![Visual Studio Marketplace Rating](https://img.shields.io/visual-studio-marketplace/r/dennykorsukewitz.GitHubFileFetcher) |
| ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/dennykorsukewitz/VSCode-GitHubFileFetcher) | ![GitHub downloads](https://img.shields.io/github/downloads/dennykorsukewitz/VSCode-GitHubFileFetcher/total?style=flat) | ![VSC marketplace download](https://img.shields.io/visual-studio-marketplace/d/dennykorsukewitz.GitHubFileFetcher) ![VSC marketplace install](https://img.shields.io/visual-studio-marketplace/i/dennykorsukewitz.GitHubFileFetcher) |

| Status |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [![GitHub commits since tagged version](https://img.shields.io/github/commits-since/dennykorsukewitz/VSCode-GitHubFileFetcher/2.0.2/dev)](https://github.com/dennykorsukewitz/VSCode-GitHubFileFetcher/compare/2.0.2...dev) ![GitHub Workflow Lint](https://github.com/dennykorsukewitz/VSCode-GitHubFileFetcher/actions/workflows/lint.yml/badge.svg?branch=dev&style=flat&label=Lint) ![GitHub Workflow Pages](https://github.com/dennykorsukewitz/VSCode-GitHubFileFetcher/actions/workflows/pages.yml/badge.svg?branch=dev&style=flat&label=GitHub%20Pages) |

## Feature

The following steps are performed one after the other.

**1. GitHubFileFetcher (1/6):** Fetching GitHub repositories.

This function allows you to search for GitHub owners or GitHub repositories.
The search results (owner/repository) are then displayed.

**2. GitHubFileFetcher (2/6):** Fetching branches.

After selecting the repository, all possible branches are displayed.

**3. GitHubFileFetcher (3/6):** Fetching files.

After that, select the desired file.

**4. GitHubFileFetcher (4/6):** Fetching destination folder.

Finally, the destination folder must be selected.

**5. GitHubFileFetcher (5/6):** Enter or change destination file path...

Enter or change destination file path.

**6. GitHubFileFetcher (6/6):** Added file.

`Hocus Pocus` - The file was created at the desired location.

**GitHubFileFetcher:** Should I save the new repository in the settings?

So that you don't have to search for the repositories again and again,
you can save the currently used one in the settings.

**Shortcut:** ```strg + alt + k, f```

**Command:** ```GitHubFileFetcher: Searches and fetches files from GitHub.```

![GitHubFileFetcher](doc/images/GitHubFileFetcher.gif)

### Settings

`Preferences -> Settings -> Extensions -> GitHubFileFetcher`

| Name | Description | Default Value |
| ------------------------------------- | ------------------------------------------------------------ | ----------------------------------------- |
| gitHubFileFetcher.informationMessages | Information messages will be displayed. | true |
| gitHubFileFetcher.repositories | List of possible GitHub repositories. GitHub {owner}/{repo}. | dennykorsukewitz/VSCode-GitHubFileFetcher |
| gitHubFileFetcher.githubUsername | GitHub username | dennykorsukewitz |
| gitHubFileFetcher.githubToken | GitHub token | 123xxx789 |

The GitHub API is limited to 60 requests per hour for non authorized requests. You can provide your GitHub username and an access token to push this limit to 5000 requests per hour. Please see the [official GitHub doc](https://docs.github.com/en/free-pro-team@latest/rest/rate-limit/rate-limit?apiVersion=2022-11-28) for further information.
You can generate the access token in your [GitHub settings](https://github.com/settings/tokens).

![Settings](doc/images/settings.png)

---

## Installation

To install this extension, you have **three** options:

### 1. Search Extension in Marketplace

Search and install online extension via VSC extensions menu.

`Code` -> `Preferences` -> `Extensions` simply search for `GitHubFileFetcher` to install.

### 2. Install via vsix file

Download latest [vsix file](https://github.com/dennykorsukewitz/VSCode-GitHubFileFetcher/releases) and install via extensions menu.

`Code` -> `Preferences` -> `Extensions` -> `Views and More Action` -> `Install from VSIX`.

### 3. Source code

Download archive with the latest [release](https://github.com/dennykorsukewitz/VSCode-GitHubFileFetcher/releases) and unpack it to VisualStudioCode extensions folder
`$HOME/.vscode/extensions/`.

---

## Download

For download see [VSCode-GitHubFileFetcher](https://github.com/dennykorsukewitz/VSCode-GitHubFileFetcher/releases)

---

Enjoy!

Your [Denny Korsukéwitz](https://github.com/dennykorsukewitz) 🚀