Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Unofficial Pocket favorites and unread widgets powered by Scriptable.

License

NotificationsYou must be signed in to change notification settings

brianseidman/scriptable-pocket-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Unread" and "Favorites" iOS widgets forPocket.

Scriptable Pocket Widget Screenshot

Pocket 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.

Easy set-up:

  • 🧑‍💻 Install theScriptable app bySimon Støvring.
  • 📁 Download the Pocket widget files to your Scriptable folder.
  • 😀 Add your Pocket credentials and choose between "Unread" and "Favorites." That's it!

Usage

You will need a consumer key and access token to query your user data with the Pocket API. To create those credentials:

Preferences

The Pocket widget can be easily modified with these three lines of code in the pocket_widget.js file:

let attributes = {"consumerKey": "YOUR-CONSUMER-KEY","accessToken": "YOUR-ACCESS-TOKEN","favorite": 1  // Enter 0 for "Unread"; enter 1 for "Favorites"}

Replace 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.

About

Unofficial Pocket favorites and unread widgets powered by Scriptable.

Topics

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp