{"id":24154798,"url":"https://github.com/juev/sync","last_synced_at":"2026-02-18T18:31:02.241Z","repository":{"id":271764637,"uuid":"913983586","full_name":"juev/sync","owner":"juev","description":"Sync Pocket links to Linkding","archived":false,"fork":false,"pushed_at":"2025-01-23T08:36:47.000Z","size":60,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T20:33:50.235Z","etag":null,"topics":["getpocket","golang","linkding"],"latest_commit_sha":null,"homepage":"https://denis.evsyukov.org","language":"Go","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/juev.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":"2025-01-08T18:13:48.000Z","updated_at":"2025-01-23T07:17:18.000Z","dependencies_parsed_at":"2025-03-12T10:54:53.298Z","dependency_job_id":null,"html_url":"https://github.com/juev/sync","commit_stats":null,"previous_names":["juev/sync"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/juev/sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juev%2Fsync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juev%2Fsync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juev%2Fsync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juev%2Fsync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juev","download_url":"https://codeload.github.com/juev/sync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juev%2Fsync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29589429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T16:55:40.614Z","status":"ssl_error","status_checked_at":"2026-02-18T16:55:37.558Z","response_time":162,"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":["getpocket","golang","linkding"],"created_at":"2025-01-12T12:02:00.227Z","updated_at":"2026-02-18T18:31:02.220Z","avatar_url":"https://github.com/juev.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# sync\n\nA small utility for synchronizing saved links from Pocket to Linkding.\n\nIt runs in the background and makes a request to Pocket for new data after a specified time (`SCHEDULE_TIME`).\nThen, if the data has been received, a sequential request is made in Linkding to add the link to the database.\n\nNecessary data for startup (environment variables):\n\n```plain\nPOCKET_CONSUMER_KEY\nPOCKET_ACCESS_TOKEN\nLINKDING_ACCESS_TOKEN\nLINKDING_URL\n```\n\nOptional variables:\n\n```plain\nLOG_LEVEL=INFO\nSCHEDULE_TIME=30m\n```\n\n## Installation\n\n### Binary file\n\nYou can use the binary file from the [release](https://github.com/juev/sync/releases) page. And then run:\n\n```sh\nexport POCKET_CONSUMER_KEY=123\nexport POCKET_ACCESS_TOKEN=423\nexport LINKDING_ACCESS_TOKEN=fdsfsdf22\nexport LINKDING_URL=https://links.example.com\n./sync\n```\n\n### Docker\n\nExample `docker-compose.yaml`:\n\n```plain\nservices:\n\n  sync:\n    image: ghcr.io/juev/sync\n    restart: always\n    environment:\n      - POCKET_CONSUMER_KEY=123\n      - POCKET_ACCESS_TOKEN=423\n      - LINKDING_ACCESS_TOKEN=1234\n      - LINKDING_URL=https://links.example.com\n      - LOG_LEVEL=INFO\n      - SCHEDULE_TIME=30m\n```\n\nLaunch example:\n\n```sh\n❯ docker compose up\n[+] Running 1/0\n ✔ Container sync-sync-1  Recreated                                                                                                                                                    0.1s\nAttaching to sync-1\nsync-1  | [2025-01-10 05:47:21] INFO: Starting {}\nsync-1  | [2025-01-10 05:47:22] INFO: Processing {\"resolved_url\":\"https://kittenlabs.de/ip-over-toslink/\"}\nsync-1  | [2025-01-10 05:47:23] INFO: Added {\"url\":\"https://kittenlabs.de/ip-over-toslink/\"}\nsync-1  | [2025-01-10 05:47:23] INFO: Processing {\"resolved_url\":\"https://simonwillison.net/2025/Jan/10/ai-predictions/\"}\nsync-1  | [2025-01-10 05:47:24] INFO: Added {\"url\":\"https://simonwillison.net/2025/Jan/10/ai-predictions/\"}\n^CGracefully stopping... (press Ctrl+C again to force)\n[+] Stopping 1/1\n ✔ Container sync-sync-1  Stopped                                                                                                                                                      0.1s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuev%2Fsync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuev%2Fsync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuev%2Fsync/lists"}