Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/fedragon/readwise-s3
- Owner: fedragon
- Created: 2021-09-25T08:10:29.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-28T20:14:58.000Z (about 3 years ago)
- Last Synced: 2024-08-03T22:14:55.300Z (3 months ago)
- Topics: aws-s3, readwise
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-readwise - readwise-s3 - Backup Readwise.io content to AWS S3. (Tools / Other)
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).