Best Flask open-source libraries and packages

Clippings manager

Turn your My Clippings.txt file from your Kindle into a convenient locally hosted API
Updated 1 year ago

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/

Tags file cli