{"id":23148886,"url":"https://github.com/stynh/githubpinnedrepos.js","last_synced_at":"2026-05-08T10:32:55.290Z","repository":{"id":41956271,"uuid":"459612910","full_name":"StynH/GithubPinnedRepos.js","owner":"StynH","description":"A simple Javascript extension to fetch pinned repositories from a Github profile.","archived":false,"fork":false,"pushed_at":"2022-04-22T09:37:54.000Z","size":295,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-03T04:57:32.137Z","etag":null,"topics":["api","github","javascript","repository"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/StynH.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}},"created_at":"2022-02-15T14:27:11.000Z","updated_at":"2022-02-15T19:35:53.000Z","dependencies_parsed_at":"2022-08-12T00:31:31.431Z","dependency_job_id":null,"html_url":"https://github.com/StynH/GithubPinnedRepos.js","commit_stats":null,"previous_names":["stynh/githubpinnedrepos.js","stynvandehaterd/githubpinnedrepos.js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StynH/GithubPinnedRepos.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StynH%2FGithubPinnedRepos.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StynH%2FGithubPinnedRepos.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StynH%2FGithubPinnedRepos.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StynH%2FGithubPinnedRepos.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StynH","download_url":"https://codeload.github.com/StynH/GithubPinnedRepos.js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StynH%2FGithubPinnedRepos.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32776708,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["api","github","javascript","repository"],"created_at":"2024-12-17T17:13:27.444Z","updated_at":"2026-05-08T10:32:55.270Z","avatar_url":"https://github.com/StynH.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GithubPinnedRepos.js\n[![npm version](https://badge.fury.io/js/githubpinnedrepos.svg)](https://badge.fury.io/js/githubpinnedrepos)\n![npm](https://img.shields.io/npm/dt/githubpinnedrepos)\n![npm bundle size](https://img.shields.io/bundlephobia/min/githubpinnedrepos)\n\nA simple Javascript extension to fetch pinned repositories from a Github profile.\n\n## Usage\nYou will need a [Github Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) that has access to **read:user**.\n\n### Example\n```html\n\u003cscript src=\"githubpinnedrepos.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n  function printRepos(repos){\n    console.log(repos);\n  }\n\n  window.GithubPinnedRepos.getPinnedRepos(*YourGithubUsername*, *YourPersonalAccessToken*, printRepos);\n\u003c/script\u003e\n```\n**Example Output**\n```json\n{\n  \"itemsRemaining\": 0,\n  \"totalPinnedRepos\": 6,\n  \"pinnedRepos\": [\n    {\n      \"name\": \"CrossWars-2\",\n      \"url\": \"https://github.com/StynVanDeHaterd/CrossWars-2\",\n      \"primaryLanguage\": \"C\"\n    },\n    {\n      \"name\": \"B2Engine\",\n      \"url\": \"https://github.com/StynVanDeHaterd/B2Engine\",\n      \"primaryLanguage\": \"C\"\n    },\n    {\n      \"name\": \"CrossWars\",\n      \"url\": \"https://github.com/StynVanDeHaterd/CrossWars\",\n      \"primaryLanguage\": \"C++\"\n    },\n    {\n      \"name\": \"floatygons.js\",\n      \"url\": \"https://github.com/StynVanDeHaterd/floatygons.js\",\n      \"primaryLanguage\": \"JavaScript\"\n    },\n    {\n      \"name\": \"textygons.js\",\n      \"url\": \"https://github.com/StynVanDeHaterd/textygons.js\",\n      \"primaryLanguage\": \"TypeScript\"\n    },\n    {\n      \"name\": \"texterfall.js\",\n      \"url\": \"https://github.com/StynVanDeHaterd/texterfall.js\",\n      \"primaryLanguage\": \"TypeScript\"\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstynh%2Fgithubpinnedrepos.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstynh%2Fgithubpinnedrepos.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstynh%2Fgithubpinnedrepos.js/lists"}