Amazon Kindle My Clippings.txt file parser
kindle-my-clippings is a command line tool for parsing and organizing your Kindle highlights.
If you installed the module globally, run it in the folder containing 'My Clippings.txt' file or specify a path to it with -i (--input) option.
kindle-my-clippings will display a title list, ex.:
1 - Developing Backbone.js Applications2 - Dive Into Python3 - Zen and the Art of Motorcycle Maintenance4 - Jump Start Node.js
Entering a number from the list will display all highlights for a corresponding title.
will show location of each highlight, ex.
---------- 205-6We’re in such a hurry most of the time we never get much chance to talk.The result is a kind of endless day-to-day shallowness, a monotony that leaves a person wondering years later where all the time went and sorry that it’s all gone.---------- 207-8What is in mind is a sort of Chautauqua—that’s the only name I can think of for it—like the traveling tent-show Chautauquas that used to move across America,---------- 211-12Perhaps because of these changes the stream of national consciousness moves faster now, and is broader, but it seems to run less deep.---------- 213-14In this Chautauqua I would like not to cut any new channels of consciousness but simply dig deeper into old ones that have become silted in with the debris of thoughts grown stale and platitudes too often repeated.
You might want to use locations for more controll over the output - see the next option.
This options lets you specify the first highlight to display from. For example, given the above example output,
kindle-my-clippings -b 3 -l -s '211-12' will return highlights starting from this particular location, skipping the first two.
This may be useful in a situation where you've generated a file with some highlights but want to add more to the same file after fihishing the book.
Note the use of
-b option which is mandatory to use with
Specifying this option will skip the title list and at the beginning and display the contents of a given book.
Lets you specify a path to your clippings file or files. You can specify multiple coma separated files, ex.
Writes output to the provided path.
Determines the output of clippings:
json for a stringified collection of JSON objects,
text for plain text.
If the option is not specified, the default format is
0.3.0 22.11.2015 CLI only. New API. Display title list and choose a title.
Older API versions, supporting html output can be found here: version 0.2.1.