Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.