{"id":28357581,"url":"https://github.com/hanami/contributors","last_synced_at":"2025-06-22T03:31:26.967Z","repository":{"id":18690282,"uuid":"84884063","full_name":"hanami/contributors","owner":"hanami","description":"All hanami contributors in one place","archived":false,"fork":false,"pushed_at":"2023-06-07T00:25:27.000Z","size":26704,"stargazers_count":14,"open_issues_count":24,"forks_count":9,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-06-08T17:02:16.532Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://contributors.hanamirb.org","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hanami.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-03-13T23:24:35.000Z","updated_at":"2023-03-22T19:17:34.000Z","dependencies_parsed_at":"2023-10-12T06:13:42.336Z","dependency_job_id":null,"html_url":"https://github.com/hanami/contributors","commit_stats":{"total_commits":386,"total_committers":10,"mean_commits":38.6,"dds":0.5259067357512953,"last_synced_commit":"e8062eee247a813d51db394589cf349d40b45e31"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hanami/contributors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanami%2Fcontributors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanami%2Fcontributors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanami%2Fcontributors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanami%2Fcontributors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanami","download_url":"https://codeload.github.com/hanami/contributors/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanami%2Fcontributors/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259950625,"owners_count":22936634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-28T08:06:22.445Z","updated_at":"2025-06-22T03:31:26.958Z","avatar_url":"https://github.com/hanami.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hanami Contributors\n\nDisplay all Hanami contributors on the one page.\n\n## How it works\n\nGitHub Actions daily job that:\n\n1. fetches the contributions data from GitHub and stores it in a local SQLite database (`db/production.db`)\n2. rebuilds the website\n\n## JSON API\n\n### `GET /api/contributors`\n\n```\n{\n  \"count\": Integer,\n  \"data\":[{\n    \"github\": String,\n    \"avatar_url\": String,\n    \"since\": \"2017-03-08 09:00:56 UTC\",\n    \"commits_count\": Integer\n  },\n  ...\n  ]\n}\n```\n\n### `GET /api/contributors/:github`\n\n```\n{\n  \"status\": \"ok\",\n  \"contributor\": {\n    \"github\": String,\n    \"avatar_url\": String,\n    \"since\": \"2017-03-08 09:00:56 UTC\",\n    \"commits\": [{\n      \"url\": String,\n      \"title\": String,\n      \"created_at\": \"2017-03-08 09:00:56 UTC\"\n    },\n    ...\n  }\n}\n```\n\n## Development\n\n### Prerequisites\n\n- Make\n- Go 1.18+ (only for `import.go`)\n  - `musl-cross` (`brew install FiloSottile/musl-cross/musl-cross`)\n\n### Setup\n\nGenerate a [new GitHub Token](https://github.com/settings/tokens/new) (no `scope` is required).\n\n```shell\n⚡make dev\n⚡nvim .envrc # add your GitHub Token\n```\n\n### Import\n\n`import.go` imports all the repositories, commits, and commit authors from Hanami GitHub organization and stores them into `db/production.db`\n\nTo run the import logic locally:\n\n```shell\n⚡make run\n```\n\nTo build the import logic for GitHub Actions:\n\n```shell\n⚡make build\n```\n\n## License\n\nCheck `LICENSE.txt` file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanami%2Fcontributors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhanami%2Fcontributors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanami%2Fcontributors/lists"}