{"id":28565879,"url":"https://github.com/aortbals/github-stars-to-pinboard","last_synced_at":"2025-06-10T14:40:34.566Z","repository":{"id":40733598,"uuid":"209577446","full_name":"aortbals/github-stars-to-pinboard","owner":"aortbals","description":"Sync GitHub Stars to Pinboard","archived":false,"fork":false,"pushed_at":"2023-01-04T11:17:25.000Z","size":563,"stargazers_count":26,"open_issues_count":16,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-15T22:26:11.058Z","etag":null,"topics":["bookmarks","cli","github","nodejs","pinboard","sync","typescript"],"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/aortbals.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":"2019-09-19T14:39:07.000Z","updated_at":"2024-02-15T15:24:58.000Z","dependencies_parsed_at":"2023-02-02T10:00:24.020Z","dependency_job_id":null,"html_url":"https://github.com/aortbals/github-stars-to-pinboard","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aortbals%2Fgithub-stars-to-pinboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aortbals%2Fgithub-stars-to-pinboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aortbals%2Fgithub-stars-to-pinboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aortbals%2Fgithub-stars-to-pinboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aortbals","download_url":"https://codeload.github.com/aortbals/github-stars-to-pinboard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aortbals%2Fgithub-stars-to-pinboard/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259093961,"owners_count":22804263,"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":["bookmarks","cli","github","nodejs","pinboard","sync","typescript"],"created_at":"2025-06-10T14:40:33.855Z","updated_at":"2025-06-10T14:40:34.551Z","avatar_url":"https://github.com/aortbals.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github Stars to Pinboard ![Tests Status](https://github.com/aortbals/github-stars-to-pinboard/workflows/Tests/badge.svg)\n\n`github-stars-to-pinboard` is a command line utility for syncing GitHub starred repos to Pinboard.\n\n![github-stars-to-pinboard CLI Usage](media/github-stars-to-pinboard.gif)\n\n## Features\n\n- Mirrors as much metadata as possible from GitHub to Pinboard\n  - Repo Name\n  - Repo Description\n  - The Pinboard bookmark time reflects the same time the user starred the repo\n  - Mirrors repo topics to Pinboard tags and includes a default tag of `github-starred`\n- Pagination support for iteration through starred repos\n- Smart rate limits to prevent 429s\n- Tracks last seen starred repos for fast subsequent runs (designed for cron, or similar)\n\n## Usage\n\nTo use `github-stars-to-pinboard`, download a [release](https://github.com/aortbals/github-stars-to-pinboard/releases) build for your OS distribution. These are standalone binaries that do not require Node.js or NPM.\n\n`github-stars-to-pinboard` requires two environment variables. Ensure these are available in the environment you plan on running the script. [`dotenv`](https://github.com/motdotla/dotenv) is also supported. Create a GitHub [personal access token](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line) with `read:user` permissions. Your Pinboard API token is available [here](https://pinboard.in/settings/password).\n\n```\nGITHUB_ACCESS_TOKEN=xxxxxx\nPINBOARD_API_TOKEN=xxxxxx\n```\n\nRun it:\n\n```shell\n./github-stars-to-pinboard\n```\n\nRun it daily as a cronjob, outputting the logs to a file:\n\n```shell\n@daily bin/github-stars-to-pinboard \u003e\u003e logs/github-stars-to-pinboard.log 2\u003e\u00261\n```\n\n### Config file\n\n`github-stars-to-pinboard` writes a `.gstp-config` file to your home directory. This file tracks the last starred repos that we're processed.\n\n## Development\n\nInstall the dependencies:\n\n```shell\nyarn\n```\n\nRun the tests:\n\n```shell\nyarn test\n```\n\nRun the CLI locally:\n\n```shell\nyarn dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faortbals%2Fgithub-stars-to-pinboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faortbals%2Fgithub-stars-to-pinboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faortbals%2Fgithub-stars-to-pinboard/lists"}