Code Monkey home page Code Monkey logo

tana-readwise-exporter's Introduction

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

tana-readwise-exporter's People

Contributors

ashrithr avatar

Stargazers

Dan Calacci avatar

Watchers

 avatar

tana-readwise-exporter's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.