Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 2.85 KB

README.md

File metadata and controls

65 lines (43 loc) · 2.85 KB

Thanks.NET NuGet

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.

Installation

.NET Core Global Tool

Run from console/powershell:

dotnet tool install --global Thanks.NET

Usage

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

Alternatives in other languages

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 ☺️

How to get github personal access token

  • 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/