Add Instapaper Reading Queue widget for Scriptable#1
Open
rachitwatts wants to merge 5 commits intomasterfrom
Open
Add Instapaper Reading Queue widget for Scriptable#1rachitwatts wants to merge 5 commits intomasterfrom
rachitwatts wants to merge 5 commits intomasterfrom
Conversation
Self-contained iOS widget that shows unread article count and estimated reading time using the Instapaper Full API (OAuth 1.0a / xAuth). Tapping the widget opens a random unread article. Includes a pure-JS SHA-1/HMAC-SHA1 implementation so no external dependencies are needed inside the Scriptable runtime. https://claude.ai/code/session_01QsCcdu4bFzd1xy4NQ1oWYb
The widget now shows a random unread article with its Open Graph image and title. A horizontal separator at the bottom divides the article card from a stats bar showing total unread count and estimated reading time. Supports small (vertical) and medium/large (horizontal) widget layouts. Article images are fetched from og:image meta tags and cached locally alongside the featured article selection. https://claude.ai/code/session_01QsCcdu4bFzd1xy4NQ1oWYb
Replaces the full OAuth 1.0a / HMAC-SHA1 implementation with a much simpler Shortcuts-based data pipeline. An iOS Shortcut uses Instapaper's native "Get Instapaper Bookmarks" action to fetch articles, then passes the data to this script via Scriptable's "Run Script" Shortcuts action. The script caches the data locally for the widget to render. This eliminates the need for API consumer keys, OAuth credentials, and ~400 lines of crypto code. Requires Instapaper Premium for the Shortcuts action. https://claude.ai/code/session_01QsCcdu4bFzd1xy4NQ1oWYb
… API" This reverts commit 44a64f0.
Instapaper has no universal links (their AASA only declares webcredentials) and no documented deep link to a specific article, so the best we can do is open the app directly. https://claude.ai/code/session_01QsCcdu4bFzd1xy4NQ1oWYb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a new Scriptable widget that displays a random unread article from your Instapaper reading queue. The widget shows article metadata (title, description, featured image) and reading time estimates, with a tap action to open the article in Instapaper.
Key Changes
Notable Implementation Details
https://claude.ai/code/session_01QsCcdu4bFzd1xy4NQ1oWYb