Extracts all your Amazon Kindle highlights
- Make the program more efficient
- JSON Output
- Remove keys of empty lists
- Make executable
- Install geckodriver dependency instruction
- prompt.py argparse is never used, provide bash man
- Highlights from a specific book (search algo or regex)
- book search: multi-word search
- Remove useless highlights on the kindle site
- Add a setup script
- Replace .json file with a database (sqlite3)
# Clone dir
git clone https://github.com/lostvikx/kindle-high.git
Run the setup script.
cd kindle-high && ./setup
Selenium requires additional browser drivers. Download them from here.
Prints a cool annotation from your kindle highlight. Also, it fetches the highlights if they aren't present locally.
kindle-high
For help.
kindle-high --help
To update the local highlights.json
file.
kindle-high -u
First use of ffmpeg program!
# Converts a video file to a fast-forwarded gif
ffmpeg -ss 1 -t 3 -i <video-file-name>.mp4 -vf "fps=10,scale=640:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 showcase.gif
python -m venv venv
# Activate virtual environment
. venv/bin/activate