ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Git​Hub File Fetcher

This package searches and fetches files from GitHub.

Details

Installs

  • Total 71
  • Win 43
  • Mac 19
  • Linux 9
Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14
Windows 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 2 0 0 0 0 0 1 0 0 0 0 0 0
Mac 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

GitHubFileFetcher

GitHubFileFetcher is a Sublime Text package that searches and fetches files from GitHub.

Repository GitHub Sublime Text
GitHub release (latest by date) GitHub open issues GitHub closed issues Package Control Total
GitHub license GitHub pull requests GitHub closed pull requests Package Control Month
GitHub language count GitHub contributors Package Control Week
GitHub code size in bytes GitHub downloads Package Control Day
Status
GitHub commits since tagged version GitHub Workflow Lint GitHub Workflow Pages

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

Settings

Preferences -> Settings -> Extensions -> GitHubFileFetcher

| Name | Description | Default Value | | - | - | - | | information_messages | Information messages will be displayed. | true | | github_username | GitHub username | dennykorsukewitz | | github_token | GitHub token | 123xxx789 | | repositories | List of possible GitHub repositories. GitHub {owner}/{repo}. | dennykorsukewitz/Sublime-GitHubFileFetcher |

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 for further information. You can generate the access token in your GitHub settings.


Installation

To install this package, you have three options:

1. Search Package via Package Control

Search and install online package via Sublime Package Control.

Tools -> Command Palette -> Package Control: Install Package -> simply search for GitHubFileFetcher to install.

2. Install via sublime-package file

Download latest sublime-package file and move the package GitHubFileFetcher.sublime-package to Installed Packages folder.

OSX

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Installed Packages/
- or ST 3 -
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Installed Packages/

Linux

cd ~/.config/sublime-text-2/Installed Packages
- or ST 3 -
cd ~/.config/sublime-text-3/Installed Packages

Windows

cd "%APPDATA%\Sublime Text 2\Installed Packages"
- or ST 3 -
cd "%APPDATA%\Sublime Text 3\Installed Packages"

3. Source code

Clone the latest dev branch and unpack it to Sublime Package folder Packages.

OSX

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
- or ST 3 -
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
git clone git@github.com:dennykorsukewitz/Sublime-GitHubFileFetcher.git GitHubFileFetcher

Linux

cd ~/.config/sublime-text-2/Packages
- or ST 3 -
cd ~/.config/sublime-text-3/Packages
git clone git@github.com:dennykorsukewitz/Sublime-GitHubFileFetcher.git GitHubFileFetcher

Windows

cd "%APPDATA%\Sublime Text 2\Packages"
- or ST 3 -
cd "%APPDATA%\Sublime Text 3\Packages"
git clone git@github.com:dennykorsukewitz/Sublime-GitHubFileFetcher.git GitHubFileFetcher

Download

For download see Sublime-GitHubFileFetcher


Enjoy!

Your Denny Korsukéwitz 🚀