Thanks.NET is utility that allows you to easily 💗thank authors of packages you are using in your projects by ⭐staring their github repository. It was inspired by Johnny Graber's blog post.
.NET Core Global Tool
Run from console/powershell:
dotnet tool install --global Thanks.NET
Once installed you can run following from console/powershell:
thanks.net -s C:\Path\To\Solution -t YOUR_GIRHUB_TOKEN
Note: if you don't know how to get github access token, see section below
You can also run just thanks.net
and application will ask you for parameters(solution directory and github token).
Applicaton will provide output containing information about packages found in given directory.
Succesfully stared package is marked in console output by *
character on start of line.
Unfortunately not all packages have filled their projectUrl information on nuget.org or their project url is not on github.com. In case package has at least some project url(e.g. select2), app will try to parse github repository url from there.
If application cannot star package repositoy, there will be x
character
or none
Language | Project |
---|---|
Rust | cargo-thanks |
Ruby | thanks-ruby |
Node.js | thanks |
PHP | thanks |
JavaScript | paulcbetts/thanks |
If you know about any other project, let me know
- Go to https://github.com/settings/tokens
- Click on
Generate new token
- Enter token description e.g.
Thanks.NET
- Check
public_repo
(see here) - Click on
Generate token
- Copy the newly generated token. Looks like this
433fb4204cced0b285d3a29f72870495198bc29b
- Save your token in secure place. For example https://keepass.info/