Skip to content
This repository has been archived by the owner on Sep 15, 2020. It is now read-only.
pgjones edited this page Jul 13, 2012 · 4 revisions

Three steps, first create the token:

curl -u <username> -d '{"scopes":["repo"],"note":"Snoing installer"}' https://api.github.com/authorizations

Next note the id and the token. Now run snoing and pass it the token:

./snoing.py -t <token>

Now delete the token on snoing finish:

curl -u <username> -X DELETE https://api.github.com/authorizations/<id>

The former and latter commands must be done locally (need you to type in your github password).

snoing

snoing downloads via (eg):

curl -H "Authorization: token <token>" -L -o foo.tar.gz https://api.github.com/repos/snoplus/rat/tarball/release-1.00
Clone this wiki locally