Coder Social home page Coder Social logo

kobo-annotation-exporter's Introduction

Kobo e-reader Annotation Exporter

As far as I am aware, there are no options out there for exporting the annotations you make with Kobo e-readers into neat and readable files with a simple script. So for those of us who don't wish to install Calibre just for this purpose, here is a script that finds all annotation files stored in the e-reader recursively and converts them into markdown files. Perfect if your workflow involves knowledge management software such as Obsidian.

This script was developed with the Kobo Clara HD model in mind.

.annot file .md exported file

Requirement

  • Python 3.6 and higher,
  • modules html, os, pathlib, and sys should be included by default.

Usage

Simply drop the script in your .local/bin directory and call it from the command line. Your Kobo e-reader must be plugged in order for the script work.

$ kobo-annotations-exporter.py
No path was provided.
Default KOBOeReader path will be used.
Exporting Immanuel Kant - Fundamental Principles of the Metaphysic of Morals.md...
Exporting Chris Bailey - The Productivity Project.md...

The default script I used corresponds to where the Kobo Clara HD model stores it's .annot files. If your model has a different directory setup you may enter a custom path like this.

$ kobo-annotation-exporter.py /media/user/KOBOeReader/Digital\ Editions/Annotations/
Exporting Immanuel Kant - Fundamental Principles of the Metaphysic of Morals.md...
Exporting Chris Bailey - The Productivity Project.md...

Author

  • Dr. Mounir Mallek

kobo-annotation-exporter's People

Contributors

moonire avatar mvdwerve avatar

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.