{"id":13715809,"url":"https://github.com/brianseidman/scriptable-pocket-widget","last_synced_at":"2025-05-07T05:31:38.323Z","repository":{"id":172059958,"uuid":"438098998","full_name":"brianseidman/scriptable-pocket-widget","owner":"brianseidman","description":"Unofficial Pocket favorites and unread widgets powered by Scriptable.","archived":false,"fork":false,"pushed_at":"2022-06-14T15:08:53.000Z","size":597,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-14T04:34:29.551Z","etag":null,"topics":["getpocket","ios","ios-widget","pocket","pocket-api","scriptable","scriptable-app","scriptable-widgets"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brianseidman.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}},"created_at":"2021-12-14T03:03:06.000Z","updated_at":"2024-02-05T11:26:48.000Z","dependencies_parsed_at":"2023-07-03T16:45:18.213Z","dependency_job_id":null,"html_url":"https://github.com/brianseidman/scriptable-pocket-widget","commit_stats":null,"previous_names":["brianseidman/scriptable-pocket-widget"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianseidman%2Fscriptable-pocket-widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianseidman%2Fscriptable-pocket-widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianseidman%2Fscriptable-pocket-widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianseidman%2Fscriptable-pocket-widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brianseidman","download_url":"https://codeload.github.com/brianseidman/scriptable-pocket-widget/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252822998,"owners_count":21809700,"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":["getpocket","ios","ios-widget","pocket","pocket-api","scriptable","scriptable-app","scriptable-widgets"],"created_at":"2024-08-03T00:01:03.776Z","updated_at":"2025-05-07T05:31:37.609Z","avatar_url":"https://github.com/brianseidman.png","language":"JavaScript","readme":"# Pocket Widgets (Unofficial) [![Mentioned in Awesome Scriptable](https://awesome.re/mentioned-badge.svg)](https://github.com/dersvenhesse/awesome-scriptable#readme)\n\n\"Unread\" and \"Favorites\" iOS widgets for [Pocket](https://getpocket.com).\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/brianseidman/scriptable-pocket-widget/blob/72495ad9cc488b9790bb2ee6eac8dcedcf36dd96/Resources/scriptable-pocket-widget-image.png\" width=400 alt=\"Scriptable Pocket Widget Screenshot\"\u003e\u003c/p\u003e\n\nPocket is Mozilla's popular read-it-later service. Unfortunately, on iOS Pocket only offers a \"Discover\" widget showing you trending articles; there aren't widgets to show your own favorite (starred) or unread articles. These scripts, deployed through the Scriptable app, bring those missing widgets to your device.\n\nEasy set-up:\n* 🧑‍💻 Install the [Scriptable](https://scriptable.app) app by [Simon Støvring](https://github.com/simonbs). \n* 📁 Download the Pocket widget files to your Scriptable folder.\n* 😀 Add your Pocket credentials and choose between \"Unread\" and \"Favorites.\" That's it!\n\n## Usage\n\nYou will need a consumer key and access token to query your user data with the Pocket API. To create those credentials:\n* Follow the documentation on the [Pocket: Developer API](https://getpocket.com/developer/) site.\n* Use one of the many third-party Pocket credential creation tools like [OneClickPocket](http://reader.fxneumann.de/plugins/oneclickpocket/auth.php) or [pocket-auth](https://github.com/mheap/pocket-auth).\n\n## Preferences\n\nThe Pocket widget can be easily modified with these three lines of code in the pocket_widget.js file:\n\n```\nlet attributes = {\n\t\"consumerKey\": \"YOUR-CONSUMER-KEY\",\n\t\"accessToken\": \"YOUR-ACCESS-TOKEN\",\n\t\"favorite\": 1  // Enter 0 for \"Unread\"; enter 1 for \"Favorites\"\n} \n```\nReplace YOUR-CONSUMER-KEY and YOUR-ACCESS-TOKEN with the respective consumer key and access token for your account. To show your two most recent Pocket favorites in the widget, leave the \"favorite\" value as 1; changing the \"favorite\" value to 0 will show your two most recent unread saved articles. No modification of the pocket_widget/pocket_widget_code.js file is necessary.\n","funding_links":[],"categories":["Reading"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianseidman%2Fscriptable-pocket-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianseidman%2Fscriptable-pocket-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianseidman%2Fscriptable-pocket-widget/lists"}