Skip to content
CLI Tools to crawl GitHub's Gists written in PHP 7.
PHP
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
src
.gitignore
LICENSE
README.md
config.php
run.php
setting.json

README.md

GistCrawler

Gist Crawler is a PHP CLI tool to crawl all gist and its information by using a single line of command.

It's quite fast for downloading the gist file, but it works synchronously. Since PHP does not have asynchronous or parallel things natively, we plan to use another language in the future.

Features

  • Fully functional short command.
  • Filtering option available.
  • Callback on every event triggered.

Requirements

  • PHP Version: > 7.0
  • Internet access (of course).

Previe and Usage

Interface view interface

Command usage

# Import / download the gist(s).
php run.php <username> import

# Raw JSON Response
php run.php <username> raw

# Handle stdout to result.json
php run.php <username> raw > result.json

Configuration

There are two available configurations that you can changes.
TODO

You can’t perform that action at this time.