Skip to content

ad2ien/help-the-stars

Repository files navigation

Help the stars

Golang Gitmoji Docker License Build status

What

Given a github token and matrix credentials

  • Once a day, check configured labels like help-wanted issues of the repo stared by the user
  • Update info in an sqlite database
  • Send message to a matrix room with link and title
  • Serves an interface listing help wanting repos

Configuration

go run main.go --help

Matrix config is optional

How

Github graphql request : https://github.com/ad2ien/help-the-stars/blob/main/internal/stars.go#L53

Run

Create an env file

GITHUB_TOKEN=
DB_FILE="db/help-the-stars-dev.db"
LABELS='"help-wanted", "help wanted","junior friendly","good first issue"'

# optionally
MATRIX_HOMESERVER=
MATRIX_USERNAME=
MATRIX_PASSWORD=
MATRIX_ROOM_ID=

There's a justfile

all the commands available in the ./justfile

# List commands
just -l
# run
just run
# ...

Or with docker

docker compose build
docker compose up

Generate code after queries modifications

just sqlcgen

Create migration

just new-migration MIGRATION_NAME

About

Don't miss help wanted issues of the repo you stared

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors