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

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

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.