{"id":23661402,"url":"https://github.com/josemyduarte/feed2pocket","last_synced_at":"2026-03-01T14:02:58.239Z","repository":{"id":270133280,"uuid":"909423793","full_name":"JosemyDuarte/feed2pocket","owner":"JosemyDuarte","description":"Feeds 2 Pocket fetches and store RSS items into Pocket for you to read later","archived":false,"fork":false,"pushed_at":"2025-04-01T07:34:28.000Z","size":370,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-20T18:21:42.625Z","etag":null,"topics":["cloudflare","cloudflare-workers","pocket","readitlater","rss"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JosemyDuarte.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":"2024-12-28T16:57:25.000Z","updated_at":"2024-12-29T19:28:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"f89aa3af-6d8d-49ac-9932-0f69a97534c1","html_url":"https://github.com/JosemyDuarte/feed2pocket","commit_stats":null,"previous_names":["josemyduarte/feed2pocket"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JosemyDuarte/feed2pocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosemyDuarte%2Ffeed2pocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosemyDuarte%2Ffeed2pocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosemyDuarte%2Ffeed2pocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosemyDuarte%2Ffeed2pocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JosemyDuarte","download_url":"https://codeload.github.com/JosemyDuarte/feed2pocket/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JosemyDuarte%2Ffeed2pocket/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29970543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T13:32:00.443Z","status":"ssl_error","status_checked_at":"2026-03-01T13:32:00.084Z","response_time":124,"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":["cloudflare","cloudflare-workers","pocket","readitlater","rss"],"created_at":"2024-12-29T04:57:42.897Z","updated_at":"2026-03-01T14:02:58.230Z","avatar_url":"https://github.com/JosemyDuarte.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Feeds 2 Pocket\n\n⚠️ [Pocket got shutdown down](https://support.mozilla.org/en-US/kb/future-of-pocket). This project no longer work 😔.\n\n## Overview\n\nFeeds 2 Pocket fetches and store RSS items into [Pocket](https://getpocket.com/) for you to read later. Motivation for this project is to have a simple way to read my RSS feeds on my [Kobo e-reader](https://help.kobo.com/hc/en-us/articles/360017763753-Use-the-Pocket-App-with-your-Kobo-eReader).\n\nThis project is designed to be run as a cron job in [Cloudflare Workers](https://workers.cloudflare.com/).\n\nNotice that this project doesn't have a user interface. You will need to configure everything is a non-fancy way, unfortunately.\n\n## Features\n\n- Fetch RSS feeds\n- Store RSS items into Pocket\n- Retry mechanism in case of failure to fetch or store an item\n- Avoid duplicates\n- Allow to specify tags for each feed\n\n## Configuration\n\nYou will need to create a D1 Database in Cloudflare to run the migration scripts. You can do this by running the following command:\n\n```bash\nwrangler d1 create f2p-db\n```\n\nThen you can run the migration script:\n\n```bash\nwrangler d1 migrations apply --remote F2P_DB\n```\n\nCopy the `wrangler.toml.example` to `wrangler.toml` and update it with your database ID (you can get it from Cloudflare dashboard).\n\n## Usage\n\nAdd your Pocket access token to the database (you can do it with migration scripts or from Cloudflare dashboard):\n\n```sql\n--- Check here how to get your Pocket access token: https://getpocket.com/developer/docs/authentication\nINSERT INTO users (username, access_token) VALUES ('your_username', 'your_access_token');\n```\n\nAdd the feeds you want to fetch:\n\n```sql\nINSERT INTO feeds (url, tags, user_id) VALUES ('https://lobste.rs/top/rss', 'programming,tech', 1);\n```\n\nNow you can run the worker:\n\n```bash\n npm run deploy\n```\nNotice that by default **the worker runs once a day**. You can change this by updating the cron expression in the `wrangler.toml` file or from Cloudflare dashboard.\n\nBefore running the cron, don't forget to define the following environment variable:\n\n- `POCKET_CONSUMER_KEY`: See [Pocket API](https://getpocket.com/developer/docs/authentication) for how to get your consumer key.\n\nWhich can be added directly from Cloudflare dashboard or by running the following command:\n\n```bash\nwrangler secret put POCKET_CONSUMER_KEY\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosemyduarte%2Ffeed2pocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosemyduarte%2Ffeed2pocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosemyduarte%2Ffeed2pocket/lists"}