Skip to content

eudoxia0/clippings-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

clippings.py is a script to export your Kindle clippings to JSON, CSV, or Markdown.

Usage

Default output is JSON:

cat 'My Clippings.txt' | ./clippings.py

You can pass --format=csv or --format=md to get CSV or Markdown output:

cat highlights.txt | ./clippings.py --format=csv
cat highlights.txt | ./clippings.py --format=md

The Markdown output is useful for quick insertion into a personal wiki like Obsidian.

All three outputs support the --title flag, which filters for any work with the given title:

cat highlights.txt | ./clippings.py --format=csv --title="The Diamond Age"

License

Copyright 2023 Fernando Borretti

Released under Apache 2.0.

About

Export Kindle clippings to JSON, CSV, or Markdown.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages