Given a github token and matrix credentials
- Once a day, check configured labels like
help-wantedissues 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
go run main.go --helpMatrix config is optional
Github graphql request : https://github.com/ad2ien/help-the-stars/blob/main/internal/stars.go#L53
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 upGenerate code after queries modifications
just sqlcgenCreate migration
just new-migration MIGRATION_NAME