fmt-my-kindle-notes

command module
v0.0.0-...-f502d63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2020 License: MIT Imports: 12 Imported by: 0

README

fmt-my-kindle-notes

Parse Kindle notes exported as HTML and format them however you want.

You can write your own custom HTML templates using Go's templating syntax (see Golang text/template or Golang Template Cheatsheet).

I've included a sample notebook (sample/kindle-notebook.html) to make it easier to test this tool.

How to install

Get Git and Go in case you don't have them already, clone the repository and build the app.

git clone https://github.com/ocpodariu/fmt-my-kindle-notes.git
cd fmt-my-kindle-notes
go build

How to use

./fmt-my-kindle-notes [OPTIONS] NOTEBOOK
Flags

-out (default: "notes.html") - Change the name of the output HTML file:

./fmt-my-kindle-notes -out book_notes.html NOTEBOOK

-template (default: "output.tpl") - Use a custom template for the output HTML file:

./fmt-my-kindle-notes -template awesome.tpl NOTEBOOK

-v (default: disabled) - Enable verbose mode to view debug messages

./fmt-my-kindle-notes -v NOTEBOOK

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL