Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joedf/pocket.widget
Simple widget to share your latest saved articles on Pocket.
https://github.com/joedf/pocket.widget
pocket widget
Last synced: 5 days ago
JSON representation
Simple widget to share your latest saved articles on Pocket.
- Host: GitHub
- URL: https://github.com/joedf/pocket.widget
- Owner: joedf
- License: mit
- Created: 2024-10-29T16:36:35.000Z (15 days ago)
- Default Branch: main
- Last Pushed: 2024-11-07T00:57:56.000Z (6 days ago)
- Last Synced: 2024-11-07T01:42:09.898Z (6 days ago)
- Topics: pocket, widget
- Language: Python
- Homepage:
- Size: 636 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pocket.widget
Simple widget to showcase your latest saved articles on [Pocket](https://getpocket.com).## Usage
Simply run `pocket-api.py 1234-abcd1234abcd1234abcd1234` with your [consumer key](https://getpocket.com/developer/docs/authentication) 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.png)
![preview.dark.png](preview.dark.png)### Compact Size
![preview.compact.png](preview.compact.png)
![preview.dark.compact.png](preview.dark.compact.png)