Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ioggstream/kindle-okular-clippings
Show your Kindle clippings in KDE okular viewer
https://github.com/ioggstream/kindle-okular-clippings
Last synced: 25 days ago
JSON representation
Show your Kindle clippings in KDE okular viewer
- Host: GitHub
- URL: https://github.com/ioggstream/kindle-okular-clippings
- Owner: ioggstream
- License: agpl-3.0
- Created: 2015-02-12T16:42:24.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-16T18:26:22.000Z (almost 10 years ago)
- Last Synced: 2024-10-15T03:43:01.957Z (2 months ago)
- Language: Python
- Size: 1.46 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kindle-okular-clippings
Show your Kindle clippings as inline notes in KDE okular viewer.## How does it work?
Okular saves reviews in an xml file into your ~/.kde/share/apps/okular/docdata.
kindleparse creates this xml file using "My Clippings.txt" data## Testing
To test:# pip install -r requirements.txt
# export PYTHONPATH+=:$PWD
# nosetests -v -w test## Running
Just:- download your "My Clippings.txt" from the Kindle
- run the script
- open your file with okularThat is
#python kindleparse.py -c test/clippings.txt test/sample.pdf
#okular test/sample.pdf## TODO
Help is appreciate to:
- convert clippings in html format;
- reduce the opacity of the inline note canvas.
- show clippings as highlighted text: this requires some acquaintance with the PDF format;