Skip to content

Turn your My Clippings.txt file from your Kindle into a convenient locally hosted API

License

Notifications You must be signed in to change notification settings

alecwbr/clippings-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clippings-manager

A simple flask app that turns your My Clippings.txt from your Kindle into a convenient API. Still a WIP.

Getting Started

First make a virtual environment and activate it:

cd server
python3 -m venv venv
source venv/bin/activate

Next, install requirements.txt:

pip install -r requirements.txt

Create the database and seed it with a My Clippings.txt file:

python init_db.py
python load_file.py path/to/file.txt

Run the flask app:

export FLASK_APP=clippings_manager.py
flask run --no-debugger

The API endpoints will be located at http://127.0.0.1:5000/api/v2/

About

Turn your My Clippings.txt file from your Kindle into a convenient locally hosted API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published