Skip to content

edivangalindo/gistz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gistz

An easy way to dump gists.

This is inspired in secretz and jenkinz created by lc but applicated to Github gists.

Pre-requisites:

  • You need to config an env called GH_AUTH_TOKEN with your personal access token, to do the requests

Usage

Download all gists from one user:

echo nat | gistz

Download all gists from many users:

cat users.txt | gistz

This works fine with gh-members to get gists from members of a organization:

echo github | gh-members | gistz

Installation

First, you'll need to install go.

Then run this command to download + compile gistz:

go install github.com/edivangalindo/gistz@latest

You can now run ~/go/bin/gistz. If you'd like to just run gistz without the full path, you'll need to export PATH="/go/bin/:$PATH". You can also add this line to your ~/.bashrc file if you'd like this to persist.

Releases

No releases published

Packages

No packages published

Languages