Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 931 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 931 Bytes

Chronicle::Github

Gem Version

Extract your Github history using the command line with this plugin for chronicle-etl

Available Connectors

Extractors

  • activity - Extractor for a user's recent events

Transformers

  • Pending

Usage

# Install chronicle-etl and this plugin
$ gem install chronicle-etl
$ chronicle-etl connectors:install github

# You can get a Github personal access token from https://github.com/settings/tokens
$ chronicle-etl secrets:set github access_token FOO123

# Extract github events from the last 10 days
$ chronicle-etl --extractor github:activity --since 10d

# Get all repos starred in the last month
$ chronicle-etl --extractor github:activity --loader json --since 1mo \
    | jq -r 'select(.type == "WatchEvent") | .repo.name'