Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ocadaruma/sbt-thank-you-stars
Give your dependencies stars on GitHub!
https://github.com/ocadaruma/sbt-thank-you-stars
sbt-plugin scala
Last synced: about 2 months ago
JSON representation
Give your dependencies stars on GitHub!
- Host: GitHub
- URL: https://github.com/ocadaruma/sbt-thank-you-stars
- Owner: ocadaruma
- License: apache-2.0
- Created: 2017-09-16T18:23:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-20T16:51:56.000Z (almost 3 years ago)
- Last Synced: 2023-08-14T21:50:35.653Z (over 1 year ago)
- Topics: sbt-plugin, scala
- Language: Scala
- Size: 147 KB
- Stars: 64
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sbt-thank-you-stars
[![Build Status](https://travis-ci.org/ocadaruma/sbt-thank-you-stars.svg?branch=master)](https://travis-ci.org/ocadaruma/sbt-thank-you-stars)
Give your dependencies stars on GitHub!
This is a sbt-ported version of [thank-you-stars.](https://github.com/teppeis/thank-you-stars)
## Requirements
sbt 1.4.x or higher (tested only on 1.6.2)
## Setup
### Install sbt plugin
Add following line to `project/plugins.sbt` or `$HOME/.sbt/1.0/plugins/plugins.sbt`:
```scala
addSbtPlugin("com.mayreh" % "sbt-thank-you-stars" % "0.2")
```### Prepare personal access token
#### Generate a token
1. Open https://github.com/settings/tokens
2. Check `public_repo` scope and Generate a token#### Prepare environment
Prepare access token by one of following ways:
- Save the token as `$HOME/.thank-you-stars.json`
- `echo '{"token":"YOUR_TOKEN"}' > ~/.thank-you-stars.json`
- Save the token as `/path/to/token.json`
- `echo '{"token":"YOUR_TOKEN"}' > /path/to/token.json`
- `export THANK_YOU_STARS_JSON_FILE=/path/to/token.json`
- Export the token as `THANK_YOU_STARS_GITHUB_TOKEN`
- `export THANK_YOU_STARS_GITHUB_TOKEN=YOUR_TOKEN`## Usage
```bash
$ cd /path/to/your-sbt-project
$ sbt thankYouStars
[info] Starred! https://github.com/kamon-io/Kamon
[info] ---- Skipped. No GitHub repo found for org.aspectj:aspectjrt:1.8.7
[info] Starred! https://github.com/spray/spray
```