Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/y-taka-23/thank-you-stars
Give your dependencies stars on GitHub! 🌟
https://github.com/y-taka-23/thank-you-stars
developer-tools github github-api haskell star
Last synced: 18 days ago
JSON representation
Give your dependencies stars on GitHub! 🌟
- Host: GitHub
- URL: https://github.com/y-taka-23/thank-you-stars
- Owner: y-taka-23
- License: bsd-3-clause
- Created: 2017-09-10T07:36:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-07T20:55:05.000Z (almost 2 years ago)
- Last Synced: 2024-04-26T04:35:01.462Z (9 months ago)
- Topics: developer-tools, github, github-api, haskell, star
- Language: Haskell
- Homepage: https://hackage.haskell.org/package/thank-you-stars
- Size: 61.5 KB
- Stars: 105
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
thank-you-stars
===============[![GitHub Actions](https://github.com/y-taka-23/thank-you-stars/actions/workflows/ci.yml/badge.svg)](https://github.com/y-taka-23/thank-you-stars/actions/workflows/ci.yml)
[![Hackage](https://img.shields.io/hackage/v/thank-you-stars.svg)](https://hackage.haskell.org/package/thank-you-stars)A tool for starring GitHub repositories. It detects dependent libraries
which are hosted on GitHub via `.cabal` files,
and stars the repositories all at once.Setup
-----The project is managed by Cabal, so you can install it simply:
```console
$ git clone https://github.com/y-taka-23/thank-you-stars.git
$ cd thank-you-stars
$ cabal install
```To star GitHub repositories, you have to get your personal access token.
1. Open https://github.com/settings/tokens and press "Generate new token."
1. Input the description and check only "public_repo" as a scope.
1. Save the token as `$HOME/.thank-you-stars.json`:```json
{
"token": "SET_YOUR_TOKEN_HERE"
}
```Usage
-----Run `thank-you-stars` in the root directory of your project.
Then it scans all `.cabal` files under the current directory
and metadata of the packages from the local Hackage DB,
stars your dependent libraries if they are hosted on GitHub.```console
$ thank-you-stars
Starred! https://github.com/NixOS/hackage-db
Starred! https://github.com/byorgey/split
Starred! https://github.com/haskell/aeson
Starred! https://github.com/haskell/bytestring
Starred! https://github.com/haskell/cabal
Starred! https://github.com/haskell/containers
Starred! https://github.com/haskell/directory
Starred! https://github.com/haskell/filepath
Starred! https://github.com/haskell/text
Starred! https://github.com/hspec/hspec
Starred! https://github.com/mrkkrp/req
```License
-------This project is released under the BSD 3-clause license.
For more details, see [LICENSE](./LICENSE) file.Acknowledgement
---------------This tool is greatly inspired by
[teppeis's JavaScript implementation](https://github.com/teppeis/thank-you-stars).