Home

Awesome

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