pockestrap

Programmer's memo

Find who you'd like to sponsor on GitHub

I'm exiting with GitHub Sponsors. But it is not easy to find who enables GitHub Sponsors.
So I created a program that finds users who enable GitHub Sponsors from my following.

Usage

Download the following code as gh-sponsors.rb.
https://gist.github.com/pocke/27155765598bc912059f5b629f25664d

Then create a personal access token from https://github.com/settings/tokens. Be sure to add user scope.

f:id:Pocke:20191204185723p:plain

After that, execute the following command.

$ GITHUB_ACCESS_TOEKN=<YOUR PERSONAL ACCESS TOKEN> ruby gh-sponsors.rb
* https://github.com/sponsors/pocke     ($1, $3, $10)
* https://github.com/sponsors/other_user        ($10, $100, $6000)
...

That's all! You can see sponsoring candidates.

Enjoy sponsoring!