https://github.com/makefu/hoarder-bookmark-importer
differential bookmark importer from firefox export to hoarder
https://github.com/makefu/hoarder-bookmark-importer
Last synced: about 2 months ago
JSON representation
differential bookmark importer from firefox export to hoarder
- Host: GitHub
- URL: https://github.com/makefu/hoarder-bookmark-importer
- Owner: makefu
- License: mit
- Created: 2025-01-09T20:55:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-09T22:23:29.000Z (over 1 year ago)
- Last Synced: 2025-03-12T22:37:43.420Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hoarder Differential Bookmark Importer
This script performs a differential upload of the Firefox bookmarks to Hoarder by utilizing
the Hoarder API. The script will first fetch all existing bookmark URLs from Hoarder
and then diff this list against the provided file.
Every bookmark which is not yet on the server will be created, with tags and creation time added.
## Usage
1. Export your most recent Firefox bookmarks as "JSON" and put it in this folder.
2. In Hoarder, get the API key from `/settings/api-keys`.
3. `echo "ak1_random_string" > .token`
4. Also, create a new list where the bookmarks should be added to. Get the ID from `/dashboard/lists`.
5. On Nix/NixOS: run `./firefox-uploader --host https:// --list-id bookmarks-*.json`
6. For all other operating systems: `pip install docopt requests`, then run `python3 ./firefox-uploader --host --list-id bookmarks-*.json`