https://github.com/schwa/reading-list-to-pinboard-rs
A simple rust project to upload Safari Reading List links to pinboard or raindrop
https://github.com/schwa/reading-list-to-pinboard-rs
Last synced: about 1 month ago
JSON representation
A simple rust project to upload Safari Reading List links to pinboard or raindrop
- Host: GitHub
- URL: https://github.com/schwa/reading-list-to-pinboard-rs
- Owner: schwa
- License: mit
- Created: 2025-02-05T18:21:49.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-05T18:35:36.000Z (3 months ago)
- Last Synced: 2025-04-13T04:53:42.866Z (about 1 month ago)
- Language: Rust
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Reading List to Pinboard
This project uploads your Safari Reading List to and/or . It also supports exporting bookmarks to various formats.
## Installation
You'll need rust installed first, obviously
```sh
git clone http://github.com/schwa/reading-list-to-pinboard-rs
cd reading-list-to-pinboard-rs
cargo install --path .
```Or just:
```sh
cargo install --git http://github.com/schwa/reading-list-to-pinboard-rs
```## Usage
Make sure you either have `PINBOARD_TOKEN` or `RAINDROP_TOKEN` set in your environment. You can get these from your settings page on the respective services. You will also need to create an app on Raindrop.io and use a "test token" with it, see for more information.
Alternatively you can have a `.env` file in your home directory (TODO: untested, only tested with .env file in current working directory) with one or more tokens in it:
```env
PINBOARD_TOKEN=":"
RAINDROP_TOKEN=""
```Then just run:
```sh
reading-list-to-pinboard
```The command will read your Safari Reading List and then prompt you to upload it to Pinboard.in, Raindrop.io, and/or export it to a markdown file (current at `$HOME/Notes/Daily Notes/.md`).
This command *will not* delete your Safari Reading List items (Apple doesn't expose a way to do this safely) so you will have to do that manually in the browser.
## Limitations
The workflow is very brittle and is designed for *my* use case. This is not a robust tool that other folks should use out of the box - but instead should serve as a (perhaps bad) starting point for their own projects.
See limitation above about deleting Safari Reading List items.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.