A tool for starring GitHub repositories.
It detects dependent libraries which are hosted on GitHub via mix.deps
file,
and stars the repositories all at once.
Add thank_you_stars
to your list of dependencies in mix.exs
:
def deps do
[
{:thank_you_stars, "~> 0.1.0", only: :dev}
]
end
To star GitHub repositories, you have to get your personal access token.
- Open https://github.com/settings/tokens and press "Generate new token."
- Input the description and check only "public_repo" as a scope.
- Save the token as
$HOME/.thank-you-stars.json
:
{
"token": "SET_YOUR_TOKEN_HERE"
}
Run mix thank_you_stars
in the root directory of your project.
Then it scans the mix.deps
and scrape the Hex.pm,
stars your dependent libraries if they are hosted on GitHub.
$ mix thank_you_stars
Starred! https://github.com/antonmi/espec
Starred! https://github.com/elixir-lang/ex_doc
Starred! https://github.com/edgurgel/httpoison
This tool is greatly inspired by teppeis's JavaScript implementation and y-taka-23's Haskell implementation.