Display all Hanami contributors on the one page.
GitHub Actions daily job that:
db/production.db
)GET /api/contributors
{
"count": Integer,
"data":[{
"github": String,
"avatar_url": String,
"since": "2017-03-08 09:00:56 UTC",
"commits_count": Integer
},
...
]
}
GET /api/contributors/:github
{
"status": "ok",
"contributor": {
"github": String,
"avatar_url": String,
"since": "2017-03-08 09:00:56 UTC",
"commits": [{
"url": String,
"title": String,
"created_at": "2017-03-08 09:00:56 UTC"
},
...
}
}
import.go
)
musl-cross
(brew install FiloSottile/musl-cross/musl-cross
)Generate a new GitHub Token (no scope
is required).
⚡make dev
⚡nvim .envrc # add your GitHub Token
import.go
imports all the repositories, commits, and commit authors from Hanami GitHub organization and stores them into db/production.db
To run the import logic locally:
⚡make run
To build the import logic for GitHub Actions:
⚡make build
Check LICENSE.txt
file