lwakefield / steampipe-plugin-github

Use SQL to instantly query repositories, users, gists and more from GitHub. Open source CLI. No DB required.

Home Page:https://hub.steampipe.io/plugins/turbot/github

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image

GitHub Plugin for Steampipe

Quick start

Install the plugin with Steampipe:

steampipe plugin install github

Configure the plugin using the configuration file:

vi ~/.steampipe/github.spc

Or environment variables:

export GITHUB_TOKEN=ghp_YOURTOKENHERE

Start Steampipe:

steampipe query

Run a query:

select
  name,
  language,
  forks_count,
  stargazers_count
from
  github_my_repository;

Developing

Prerequisites:

Clone:

git clone https://github.com/turbot/steampipe-plugin-github.git
cd steampipe-plugin-github

Build, which automatically installs the new version to your ~/.steampipe/plugins directory:

make

Configure the plugin:

cp config/* ~/.steampipe/config
vi ~/.steampipe/config/github.spc

Try it!

steampipe query
> .inspect github

Further reading:

Contributing

Please see the contribution guidelines and our code of conduct. All contributions are subject to the Apache 2.0 open source license.

help wanted issues:

About

Use SQL to instantly query repositories, users, gists and more from GitHub. Open source CLI. No DB required.

https://hub.steampipe.io/plugins/turbot/github

License:Apache License 2.0


Languages

Language:Go 99.8%Language:PLSQL 0.2%Language:Makefile 0.0%