{"id":21204601,"url":"https://github.com/bordalix/pinlink","last_synced_at":"2025-03-14T22:46:40.854Z","repository":{"id":223160247,"uuid":"759462154","full_name":"bordalix/pinlink","owner":"bordalix","description":"Fetch from Pinboard and publish to Nostr","archived":false,"fork":false,"pushed_at":"2025-03-10T10:33:29.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T11:32:44.615Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/bordalix.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-18T16:56:54.000Z","updated_at":"2025-03-10T10:33:33.000Z","dependencies_parsed_at":"2024-03-07T17:25:19.483Z","dependency_job_id":"d638d1c1-cf27-4184-8dbc-a211e289fc36","html_url":"https://github.com/bordalix/pinlink","commit_stats":null,"previous_names":["bordalix/pinlink"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bordalix%2Fpinlink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bordalix%2Fpinlink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bordalix%2Fpinlink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bordalix%2Fpinlink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bordalix","download_url":"https://codeload.github.com/bordalix/pinlink/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243658186,"owners_count":20326465,"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":[],"created_at":"2024-11-20T20:37:45.955Z","updated_at":"2025-03-14T22:46:40.816Z","avatar_url":"https://github.com/bordalix.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pinlink\n\nShell script to fetch new posts from pinboard.in and publish to Nostr\n\nIt gets posts from https://pinboard.in marked as public with less than 24 hours, configurable in [fetch.sh](./fetch.sh)\n\nThe list of relays is configurable in [publish.sh](./publish.sh)\n\n## Requirements\n\n- [nak](https://github.com/fiatjaf/nak), the nostr army knife\n- [jq](https://jqlang.github.io/jq/), a command-line JSON processor\n\n## How to use it\n\nClone this repo:\n\n```bash\n$ git clone https://github.com/bordalix/pinlink\n$ cd pinlink\n```\n\nAdd your credentials to file `.env.local`:\n\n```bash\n# get it from pinboard.in \u003e settings \u003e password\n$ echo \"authtoken=username:1234567890ABCDEF\" \u003e .env.local\n# your nostr private key in hexadecimal format\n$ echo \"seckey=\u003c64 hex chars\u003e\" \u003e\u003e .env.local\n```\n\nThere are 4 executable scripts:\n\n- [fetch.sh](./fetch.sh) fetches new posts from pinboard.in and saves to `posts.json`\n- [create.sh](./create.sh) from `posts.json` creates `event.txt` with full text for the event to be published\n- [publish.sh](./publish.sh) gets event content from `event.txt`, signs and publishes it to list of relays\n- [run.sh](./run.sh) run all 3 previous scripts in sequence\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbordalix%2Fpinlink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbordalix%2Fpinlink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbordalix%2Fpinlink/lists"}