Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rchangmh/bookmarks-management
Manage your links saved in Pocket and Raindrop.io.
https://github.com/rchangmh/bookmarks-management
Last synced: 3 months ago
JSON representation
Manage your links saved in Pocket and Raindrop.io.
- Host: GitHub
- URL: https://github.com/rchangmh/bookmarks-management
- Owner: rchangmh
- Created: 2022-07-24T21:53:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-11T22:25:27.000Z (5 months ago)
- Last Synced: 2024-06-12T06:09:40.936Z (5 months ago)
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- project-awesome - rchangmh/bookmarks-management - Manage your links saved in Pocket and Raindrop.io. (Python)
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'
```