jdtzmn / kindle-news-assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kinde News Assistant

More information coming soon...

Getting Started

Install calibre and install the command line tools.

Set up virtual environment and install dependencies:

python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip setuptools wheel # Update build tools
yarn install # or npm install

If dependency installation fails, the folowing guides may help build dependencies from source:

Train the model

yarn start --train

Test the model

yarn start --test

CRON Instructions

To receive the newsletter every weekday at 7am, you can use the following, granted that the project is located at ~/Projects/kindle-news-assistant:

SHELL=/bin/bash
0 6 * * 1-5 source ~/Projects/kindle-news-assistant/venv/bin/activate && python3 ~/Projects/kindle-news-assistant/main.py --thread-count=1 --delivery=[delivery-method]

About

License:MIT License


Languages

Language:Python 100.0%