Skip to content
GoThanks automatically stars Go's official repository and your go.mod github dependencies, providing a simple way to say thanks to the maintainers of the modules you use and the contributors of Go itself.
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
.gitignore
CHANGELOG.md
LICENSE Initial commit Nov 12, 2019
README.md
go.mod
go.sum Initial commit Nov 12, 2019
gothanks.png Initial commit Nov 12, 2019
main.go
main_test.go

README.md

Build Status Go Report Card GoDoc

Give thanks (in the form of a GitHub ★) to your fellow Go modules maintainers.

About

GoThanks performs the following operations

  • Sends a star to Go's repo (github.com/golang.go)
  • Reads your go.mod file and sends a star to every Github repository that your app/library depends on

This is a simple way to say thanks to the maintainers of the modules you use and the contributors of Go itself.

Credits

GoThanks is a Go port of symfony/thanks implemented by Nicolas Grekas (nicolas-grekas) for PHP.

Original idea by Doug Tangren (softprops) for Rust.

Installation

$ go get -u github.com/psampaz/gothanks

Usage

In order to run GoThanks you need to have a valid Github Access Token with public_repo scope.

You can pass the token as an argument to GoThanks or store it in an environmental variable named GITHUB_TOKEN.

Inside the folder where your go.mod lives run:

$ ./gothanks -github-token=xxxxxx

or

$ export GITHUB_TOKEN=xxxxx
$ ./gothanks

Example

$ ./gothanks
Welcome to GoThanks :)

You are about to star you beloved dependencies.

Press y to continue or n to abort
y

Sending your love..

Repository github.com/golang/go is already starred!
Repository github.com/golang/net is already starred!
Sending a star to github.com/google/go-github
Sending a star to github.com/stretchr/testify
Sending a star to github.com/sirupsen/logrus

Thank you!

You can also run it on non-interactive environments using -y flag.

$ ./gothanks -y
Welcome to GoThanks :)

Sending your love..

Repository github.com/golang/go is already starred!
Repository github.com/google/go-github is already starred!
Repository github.com/sirkon/goproxy is already starred!
Repository github.com/golang/crypto is already starred!
Repository github.com/golang/net is already starred!
Repository github.com/golang/oauth2 is already starred!

Thank you!
You can’t perform that action at this time.