Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rchangmh/bookmarks-management

Manage your links saved in Pocket and Raindrop.io.
https://github.com/rchangmh/bookmarks-management

Last synced: 17 days ago
JSON representation

Manage your links saved in Pocket and Raindrop.io.

Awesome Lists containing this project

README

        

# Bookmarks Management

Scripts for the link hoarders out there, specifically for [Raindrop](https://raindrop.io/) and [Pocket](https://getpocket.com/) users.

## Raindrop Autotagging

The `/autotag_raindrops.py` script iterates through every link in a given Raindrop collection and automatically tags the link with all suggested tags (assuming you are a Pro subscriber). Because the API is throttled to 120 requests a minute, a large collection will take a while to complete.

Add your Raindrop token and collection ID to `/config.py`. You can get the collection ID from the URL on the Raindrop web app.

You will also need Python 3.7 or later, and this dependency:

```
pip3 install python-raindropio requests
```

Before running, create `/config.py` file (in the root directory) with the following:

```
test_token = '*****'
collection_ids = ['unsorted', '00000000']
start_page = 0
```

## Raindrop Tag Management

Tagging Raindrop links with all suggested tags will result in _a lot_ of tags. You can use the `/manage_tags.py` script to clear out all tags with _n_ bookmarks.

Add the following to `/config.py`:

```
raindrop_tags_path = './tags_list.py'
```

## Pocket Management

The `/manage_pocket.py` script helps clear out your unread Pocket queue: removing duplicates, filtering on domain, word count, and/or age. Add the following to `/config.py` and run the script in a REPL:

```
pocket_consumer_key = '*****'
pocket_access_token = '*****'
pocket_links_path = './pocket_articles.json'
```