{"id":21116752,"url":"https://github.com/fbessez/octo-org","last_synced_at":"2025-07-08T19:33:24.287Z","repository":{"id":128030888,"uuid":"247103765","full_name":"fbessez/octo-org","owner":"fbessez","description":"the worst way to see how you contribute to an organization","archived":false,"fork":false,"pushed_at":"2020-06-07T01:21:12.000Z","size":18166,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-12-19T09:18:52.126Z","etag":null,"topics":["github","github-api"],"latest_commit_sha":null,"homepage":"","language":"Go","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/fbessez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-13T15:29:57.000Z","updated_at":"2024-06-19T09:03:21.247Z","dependencies_parsed_at":"2023-05-01T09:43:10.205Z","dependency_job_id":null,"html_url":"https://github.com/fbessez/octo-org","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbessez%2Focto-org","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbessez%2Focto-org/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbessez%2Focto-org/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbessez%2Focto-org/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fbessez","download_url":"https://codeload.github.com/fbessez/octo-org/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225458163,"owners_count":17477402,"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":["github","github-api"],"created_at":"2024-11-20T02:33:59.675Z","updated_at":"2024-11-20T02:34:00.309Z","avatar_url":"https://github.com/fbessez.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OCTO-ORG\n\nocto-org is a really shitty way to figure out where you stand in your github organization in terms of total commit count. As GitHub stands today, we can only view `contributions` by repo. I was curious about `contributions` by organization. And so, `octo-org` was born.\n\n## Demo\n\n![](demo.gif)\n\n## Getting Started\n\n```\ngo get ./...\n```\n\n```\ngo build . \u0026\u0026 go install .\n```\n\n```\nUSERNAME=GITHUB_USERNAME PASSWORD=GITHUB_API_KEY ORGNAME=GITHUB_ORG_NAME REDIS_ADDRESS=localhost REDIS_PORT=6379 ./octo-org \n```\n\n### Prerequisites\n1. GoLang\n2. Clone this repo\n3. Redis running locally\n\n### Using the service\n\nThe following ENV variables are required when starting this server:\n```\nUSERNAME: Your GitHub Username\nPASSWORD: Your GitHub API KEY\nORGNAME:  Your GitHub Org\nREDIS_ADDRESS: The address at which your local redis is running\nREDIS_PORT: The port at which your local redis is running\n```\n\nRun your server with:\n```\nUSERNAME=GITHUB_USERNAME PASSWORD=GITHUB_API_KEY ORGNAME=GITHUB_ORG_NAME REDIS_ADDRESS=localhost REDIS_PORT=6379 ./octo-org\n```\n\nThen, `curl localhost:8090/stats | python -m json.tool` and ...\n\n```\n$ curl localhost:8090/stats | python -m json.tool\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n100   294  100   294    0     0  73500      0 --:--:-- --:--:-- --:--:-- 73500\n[\n    {\n        \"github_username\": \"fbessez\",\n        \"total_commits\": 16\n    },\n    {\n        \"github_username\": \"zezima\",\n        \"total_commits\": 15\n    },\n    {\n        \"github_username\": \"ifykyk\",\n        \"total_commits\": 9\n    },\n    {\n        \"github_username\": \"myDad\",\n        \"total_commits\": 7\n    },\n    {\n        \"github_username\": \"andyCuomo\",\n        \"total_commits\": 5\n    },\n    {\n        \"github_username\": \"theCookieMonster\",\n        \"total_commits\": 2\n    }\n]\n```\n\n## What is left to do?\n\n- Active class on Sorting Buttons\n- Error Handling\n\n## Acknowledgments\n\n* GitHub API Docs\n* Google for helping me fight with GoLang\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbessez%2Focto-org","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffbessez%2Focto-org","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbessez%2Focto-org/lists"}