Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dufferzafar/pocketmon
Tag Pocket articles based on the time required to read them.
https://github.com/dufferzafar/pocketmon
Last synced: 7 days ago
JSON representation
Tag Pocket articles based on the time required to read them.
- Host: GitHub
- URL: https://github.com/dufferzafar/pocketmon
- Owner: dufferzafar
- Created: 2015-08-11T17:55:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-04-01T17:54:13.000Z (over 3 years ago)
- Last Synced: 2024-08-01T15:30:05.454Z (3 months ago)
- Language: Python
- Homepage:
- Size: 204 KB
- Stars: 44
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Pocketmon
A script that tags my [Pocket](http://getpocket.com/) articles based on the time required to read them.
I thought of this some time ago, but then I found [readruler.com](http://readruler.com/) which basically does the same thing, but you have to open it everytime you add new articles, whereas this script can be just run as cron job :)
## Screenshots
![Tags on each article](screenshots/article_list.png)
![Tags list](screenshots/tag_list.png)
## Setup
1. Install a wrapper to Pocket's API
`pip install git+https://github.com/felipecorrea/python-pocket`
2. Getting a consumer key.
You can skip this step and just use the key of an application that I created: `44479-ea92cc886eed9b46660b84a4`
Or
Create a [new Pocket App](http://getpocket.com/developer/apps/new) & copy the consumer key of the application.
3. Getting an access token
```
$ git clone https://github.com/felipecorrea/python-pocket
$ python python-pocket/get_access_token.py
```Enter your consumer key and allow access to the app in browser. This will print out your access token.
4. Update the configuration
`cp config.py.example config.py`
Store both the consumer key and access token in this new file.
5. Test whether it works
`$ python pocketmon.py`
It will tag all untagged articles.