RubyPico Tools to access the GitHub
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
github_download.rb
new_gist.rb

README.md

rubypico_github

RubyPico Tools to access the GitHub

github_downaload.rb

Download GitHub repository

Install

Copy github_download.rb(raw) to Your RubyPico root directory.

Setup App Tab

  1. Create .app/github_download
  2. Add below
  3. Appear github_download your App tab
require "github_download"
# When placed in "rubypico_github/github_download.rb"
# require "rubypico_github/github_download"

Setup TOKEN (Optional)

Add GITHUB_DOWNLOAD_TOKEN constant to .app/github_download

GITHUB_DOWNLOAD_TOKEN = "xxxxxx" # Your github repository token
require "github_download"

Usage

Repository name?
(e.g. app_installer, ongaeshi/tango)

# Download GitHub repository
$ app_installer                                          # Install from rubypico/app_installer

# Download GitHub repository (Overwrite)
$ app_installer -u