{"id":22229790,"url":"https://github.com/xilaluna/git-pinned","last_synced_at":"2026-05-06T07:36:38.507Z","repository":{"id":218461759,"uuid":"622716479","full_name":"xilaluna/git-pinned","owner":"xilaluna","description":"A lightweight go scraper that scrapes github profiles for pinned repos","archived":false,"fork":false,"pushed_at":"2023-12-19T21:21:02.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T08:16:16.016Z","etag":null,"topics":["api","github","go","golang","scraper"],"latest_commit_sha":null,"homepage":"https://git-pinned-production.up.railway.app/","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/xilaluna.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":"2023-04-02T22:51:13.000Z","updated_at":"2024-03-25T20:57:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c5739d4-9f6d-493b-8dbe-63e90894751b","html_url":"https://github.com/xilaluna/git-pinned","commit_stats":null,"previous_names":["xilaluna/git-pinned"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilaluna%2Fgit-pinned","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilaluna%2Fgit-pinned/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilaluna%2Fgit-pinned/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilaluna%2Fgit-pinned/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xilaluna","download_url":"https://codeload.github.com/xilaluna/git-pinned/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245431709,"owners_count":20614182,"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":["api","github","go","golang","scraper"],"created_at":"2024-12-03T01:12:26.287Z","updated_at":"2026-05-06T07:36:33.469Z","avatar_url":"https://github.com/xilaluna.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-pinned\n\nA simple go scraper that gets all of your pinned repos on GitHub via an API endpoint.\n\n## 📑 About\n\ngit-pinned is a simple go scraper that is running on a gin server. It is designed to be used as an API endpoint to get all of your pinned repos on GitHub. It is currently being used on my [portfolio](https://xilaluna.com/projects). I initially made it for this reason, but I figured it would be useful for others as well. Feel free to fork or clone this repo. If you have any suggestions or issues, please open an issue or pull request.\n\n## 📚 Stack\n\n- [Go](https://golang.org/)\n- [Gin](https://gin-gonic.com/)\n- [Colly](https://go-colly.org/)\n- [Railway](https://railway.app/)\n\n## 🧑‍💻 How to Use\n\nThe most basic route defaults to my account and gets my pinned repos. Feel free to change this in the `main.go` file.\n\n```\napi/\n```\n\nThe next api route allows you to enter your username after the slash and fetch the pinned repos for that specific user.\n\n```\napi/:username\n```\n\nIn both cases, the response will be a JSON object with the following structure:\n\n```JSON\n[\n    {\n        \"title\": \"repo-name\",\n        \"description\": \"repo-description\",\n        \"link\": \"repo-link\",\n        \"language\": \"repo-language\",\n        \"stars\": \"repo-stars\",\n        \"forks\": \"repo-forks\"\n    },\n]\n```\n\n## 🪪 License\n\nLicensed under the [MIT License](./LICENSE).\nIf you use this project, please just give the project a star. Thanks!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxilaluna%2Fgit-pinned","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxilaluna%2Fgit-pinned","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxilaluna%2Fgit-pinned/lists"}