{"id":16396550,"url":"https://github.com/argon1025/github-user-stats-api","last_synced_at":"2026-04-24T21:31:38.173Z","repository":{"id":43120514,"uuid":"390624355","full_name":"argon1025/Github-User-Stats-API","owner":"argon1025","description":"Unlimited open API for github User Stats ","archived":false,"fork":false,"pushed_at":"2022-03-17T08:57:37.000Z","size":1037,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T08:46:09.540Z","etag":null,"topics":["github","nestjs-backend","stats","swagger-ui"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/argon1025.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-29T06:29:34.000Z","updated_at":"2023-11-27T03:56:56.000Z","dependencies_parsed_at":"2022-08-30T08:41:33.048Z","dependency_job_id":null,"html_url":"https://github.com/argon1025/Github-User-Stats-API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/argon1025/Github-User-Stats-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argon1025%2FGithub-User-Stats-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argon1025%2FGithub-User-Stats-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argon1025%2FGithub-User-Stats-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argon1025%2FGithub-User-Stats-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/argon1025","download_url":"https://codeload.github.com/argon1025/Github-User-Stats-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argon1025%2FGithub-User-Stats-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32241578,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","nestjs-backend","stats","swagger-ui"],"created_at":"2024-10-11T05:07:48.499Z","updated_at":"2026-04-24T21:31:38.156Z","avatar_url":"https://github.com/argon1025.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\u003cdiv align=\"center\"\u003e\n   \u003cimg src=\"https://user-images.githubusercontent.com/55491354/127771279-28aba28e-f578-444c-b2e7-a54bbd852556.png\" alt=\"stats\" height=\"100\" width=\"100\"\u003e\u003cbr\u003e\n\n  \u003ch3 align=\"center\"\u003eTILog client\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    Github User Stats API\u003cbr /\u003e\n    We are creating blog services using this project\u003ca href=\"https://github.com/argon1025/TILog-server\"\u003e Here\u003c/a\u003e \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/argon1025/Github-User-Stats-API/issues/\"\u003eIssue\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/argon1025/Github-User-Stats-API#endpoint\"\u003eEndPoint Document\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/argon1025/TILog-servers\"\u003eTILog Blog Project\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n# Project Status\nLast Release Build : [![CircleCI](https://circleci.com/gh/argon1025/Github-User-Stats-API/tree/release.svg?style=svg)](https://circleci.com/gh/argon1025/Github-User-Stats-API/tree/release)\n\n# how It works?\nSince the GitHub API only allows 5k requests per hour,  \nThis Project Uses multiple tokens to bypass the Github requests limit.\n\n# How To run\n## 1. Clone this Project\n```\ngit clone https://github.com/argon1025/Github-User-Stats-API.git\n```\n\n## 2. Move Project folder and Install npm module\n```\ncd Github-User-Stats-API\nnpm install\n```\n### 3. Create .ENV File\n```\ncd Github-User-Stats-API\nvi .env\n```\n```\n// .env\nSERVER_PORT=8484\nSERVER_HOST=localhost\nGITHUB_TOKEN_1=asdhj123hg12ghj12gjh21g31hj23\nGITHUB_TOKEN_2=fgh87fgh687hfg687hfg786fgh867\n```\nEnter as many Github tokens as you have. `GITHUB_TOKEN_${number}`\n### 4. Start Server\n```\nnpm run start:dev\n```\n\n\n# EndPoint\n## 1. UserStats\n### /stats/{username}\nRequest User Stats data\n#### CURL\n```\ncurl -X 'GET' \\\n  'http://localhost/stats/{username}' \\\n  -H 'accept: */*'\n```\n#### Response\n```\n{\n  \"name\": \"Leeseongrok\",\n  \"totalPRs\": 67,\n  \"totalCommits\": 1280,\n  \"totalIssues\": 108,\n  \"totalStars\": 5,\n  \"contributedTo\": 0\n}\n```\n### /stats/{username}/top-language\nRequest User Top language data\n#### CURL\n```\ncurl -X 'GET' \\\n  'http://localhost:8484/stats/{username}/top-language' \\\n  -H 'accept: */*'\n```\n#### Response\n```\n{\n  \"JavaScript\": {\n    \"name\": \"JavaScript\",\n    \"color\": \"#f1e05a\",\n    \"size\": 389697\n  },\n  \"TypeScript\": {\n    \"name\": \"TypeScript\",\n    \"color\": \"#2b7489\",\n    \"size\": 147966\n  },\n  \"Swift\": {\n    \"name\": \"Swift\",\n    \"color\": \"#ffac45\",\n    \"size\": 74436\n  },\n  \"Python\": {\n    \"name\": \"Python\",\n    \"color\": \"#3572A5\",\n    \"size\": 30346\n  },\n  \"Java\": {\n    \"name\": \"Java\",\n    \"color\": \"#b07219\",\n    \"size\": 9330\n  },\n}\n```\n\n## 2. Repositories\n### /repo/{username}\nRequest All Repositories data\n#### CURL\n```\ncurl -X 'GET' \\\n  'http://localhost:8484/repo/{username}' \\\n  -H 'accept: */*'\n```\n#### Response\n```\n{\n  \"name\": \"Babelfish_API\",\n  \"nameWithOwner\": \"argon1025/Babelfish_API\",\n  \"isPrivate\": false,\n  \"isArchived\": false,\n  \"isTemplate\": false,\n  \"stargazers\": {\n    \"totalCount\": 2\n  },\n  \"description\": \"Babelfish_API\",\n  \"primaryLanguage\": {\n    \"color\": \"#f1e05a\",\n    \"id\": \"MDg6TGFuZ3VhZ2UxNDA=\",\n    \"name\": \"JavaScript\"\n  },\n  \"forkCount\": 0\n}\n```\n### /repo/{username}?reponame={Repositories Name}\nRequest Repositories data\n#### CURL\n```\ncurl -X 'GET' \\\n  'http://localhost:8484/repo/{username}?reponame={reponame}' \\\n  -H 'accept: */*'\n```\n#### Response\n```\n{\n  \"name\": \"Babelfish_API\",\n  \"nameWithOwner\": \"argon1025/Babelfish_API\",\n  \"isPrivate\": false,\n  \"isArchived\": false,\n  \"isTemplate\": false,\n  \"stargazers\": {\n    \"totalCount\": 2\n  },\n  \"description\": \"Babelfish_API\",\n  \"primaryLanguage\": {\n    \"color\": \"#f1e05a\",\n    \"id\": \"MDg6TGFuZ3VhZ2UxNDA=\",\n    \"name\": \"JavaScript\"\n  },\n  \"forkCount\": 0\n}\n```\n### /repo/{username}/pinned-repositories\nRequest pinned Repositories data\n#### CURL\n```\ncurl -X 'GET' \\\n  'http://localhost:8484/repo/argon1025/pinned-repositories' \\\n  -H 'accept: */*'\n```\n#### Response\n```\n[\n  {\n    \"id\": \"MDEwOlJlcG9zaXRvcnkzMzA1OTM1MDc=\",\n    \"name\": \"Babelfish_API\",\n    \"nameWithOwner\": \"argon1025/Babelfish_API\",\n    \"isPrivate\": false,\n    \"isArchived\": false,\n    \"isTemplate\": false,\n    \"stargazers\": {\n      \"totalCount\": 2\n    },\n    \"description\": \"Babelfish_API\",\n    \"primaryLanguage\": {\n      \"color\": \"#f1e05a\",\n      \"id\": \"MDg6TGFuZ3VhZ2UxNDA=\",\n      \"name\": \"JavaScript\"\n    },\n    \"forkCount\": 0\n  },\n  {\n    \"id\": \"MDEwOlJlcG9zaXRvcnkzMzI3NTY4NTM=\",\n    \"name\": \"babelfish\",\n    \"nameWithOwner\": \"argon1025/babelfish\",\n    \"isPrivate\": false,\n    \"isArchived\": false,\n    \"isTemplate\": false,\n    \"stargazers\": {\n      \"totalCount\": 1\n    },\n    \"description\": \"Babelfish Frontend project with React\",\n    \"primaryLanguage\": {\n      \"color\": \"#f1e05a\",\n      \"id\": \"MDg6TGFuZ3VhZ2UxNDA=\",\n      \"name\": \"JavaScript\"\n    },\n    \"forkCount\": 0\n  }\n  ]\n```\n\n\n# +\n\u003e inspired by this project [here](https://github.com/anuraghazra/github-readme-stats)\n\u003e \u003cdiv\u003eIcons made by \u003ca href=\"https://www.freepik.com\" title=\"Freepik\"\u003eFreepik\u003c/a\u003e from \u003ca href=\"https://www.flaticon.com/\" title=\"Flaticon\"\u003ewww.flaticon.com\u003c/a\u003e\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fargon1025%2Fgithub-user-stats-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fargon1025%2Fgithub-user-stats-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fargon1025%2Fgithub-user-stats-api/lists"}