Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/fedragon/readwise-s3

Backup Readwise.io content to AWS S3
https://github.com/fedragon/readwise-s3

aws-s3 readwise

Last synced: 4 days ago
JSON representation

Backup Readwise.io content to AWS S3

Awesome Lists containing this project

README

        

# readwise-s3

Performs a backup of all [Readwise.io](https://readwise.io) highlights to AWS S3.

## Prerequisites

- Have a working, configured [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html)
- Get a Readwise access token [here](https://readwise.io/access_token)

## Usage

Grab one of the binaries from the `Releases` page, then

```shell
READWISE_API_TOKEN='' S3_BUCKET_PREFIX='' /path/to/readwise-s3
```

This will generate a bucket named `-readwiseio-`, whose contents will look like this:

```shell
aws s3 ls s3://
books-001.json
...
books-00N.json
highlights-001.json
...
highlights-00N.json
```

Each object contains an array of `Book`/`Highlight` JSON objects defined as described [here](https://readwise.io/api_deets).