Skip to content

ashrithr/tana-readwise-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readwise Exporter for Tana.io

tana-readwise-exporter uses Readwise Export API to fetch the highlights and formats the exported data using Tana Paste format, which can be coppied to your Tana worksapce.

Prerequisites

Generate a Readwise Access Token from here. You'd need to pass this token as a command line option to the script.

Installation

go get github.com/ashrithr/tana-readwise-exporter

Examples

Export highlights for last 2 days

tana-readwise-exporter export --token <your-readwise-token> --updated-after 2

On MAC you can copy the output fo the above command directly to the clipboard by piping the above command to pbcopy.

Fetching highlights for specific books

step 1: list the books and get the Readwise ID(s) for specific books

tana-readwise-exporter list --token <your-readwise-token> --category books

step 2: get the highlights for specific books id's obtained from previous command

tana-readwise-exporter export --token <your-readwise-token> --ids <replace-id1-from-prev-cmd>

you can fetch highlights for multiple books by passing comma separated list of ids --ids 1234567,2345678

About

CLI to export readwise highlights to Tana.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy