https://github.com/softprops/cargo-thanks
💖 🦀 give thanks to your fellow Rustaceans
https://github.com/softprops/cargo-thanks
cargo-subcommand rust
Last synced: 4 months ago
JSON representation
💖 🦀 give thanks to your fellow Rustaceans
- Host: GitHub
- URL: https://github.com/softprops/cargo-thanks
- Owner: softprops
- License: mit
- Created: 2017-11-27T03:06:43.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-10T21:31:15.000Z (almost 7 years ago)
- Last Synced: 2025-03-31T06:05:05.436Z (9 months ago)
- Topics: cargo-subcommand, rust
- Language: Rust
- Size: 546 KB
- Stars: 164
- Watchers: 3
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# cargo thanks
Give thanks (in the form of [github stars](https://help.github.com/articles/about-stars/)) to your fellow Rustaceans

## Install
This is intended to be installed as a [cargo](http://doc.crates.io/index.html) plugin
```bash
$ cargo install --force cargo-thanks
```
(adding the `--force` upgrades to the latest version when installing)
### usage
Create a [github access token](https://github.com/settings/tokens) with the "public_repo" permission and
store its value in an env variable named `GITHUB_TOKEN`
Within any of your Cargo based Rust projects, run the following
```bash
$ cargo thanks
```
This will find all of your Cargo dependencies, find their github.com repository from metadata hosted on crates.io, and star their github repositories. This was
inspired in part by medium's clapping button as a way to show thanks for someone elses work you've found enjoyment in.
If you're asking why did some dependencies get thanked and not others, the answer
is that this plugin only supports github.com at the moment. Pull requests are welcome to add support for thanking crates hosted on other services.
Doug Tangren (softprops) 2017