Skip to content

Simple widget to share your latest saved articles on Pocket.

License

Notifications You must be signed in to change notification settings

joedf/pocket.widget

Repository files navigation

pocket.widget

Simple widget to showcase your latest saved articles on Pocket.

Usage

Simply run pocket-api.py 1234-abcd1234abcd1234abcd1234 with your consumer key to generate the widget.html in the src\web folder.

You can specify additional parameters like so: pocket-api.py [consumer_key] [access_code] [access_token].

The script will attempt (if ALLOW_SAVE_KEYS is true) to save any keys, codes, and tokens as the following files:

  • src\ACCESS_CODE
  • src\ACCESS_TOKEN
  • src\CONSUMER_KEY

These will be used for subsequent runs.

Options

  • Compact size: You can toggle compact size by setting the compact class on the body tag. Compact mode is about 46% smaller.
  • Dark mode: You can toggle dark mode by specifying ?theme=dark after the generated html page address.

Screenshots

Full Size

preview.png preview.dark.png

Compact Size

preview.compact.png preview.dark.compact.png

About

Simple widget to share your latest saved articles on Pocket.

Topics

Resources

License

Stars

Watchers

Forks