I lost motivation to work on this for now. The code is here if you want to take a look.
InspireMeBot will give you inspiring quotes on a daily basis. It is easy and uplifting!
You can add this bot via this link: https://telegram.me/InspireMeBot
And please think about rating the bot via: https://telegram.me/storebot?start=InspireMeBot
The quote database soemthing I am not going to include in this repository since it is just too big. I downloaded it from http://thewebminer.com/download.
The quote databse is stored in /storage/quotes_all.csv
and the format is:
QUOTE;AUTHOR;GENRE
Sqlite needs some special attention on Uberspace servers. Source
Put the following into the .bashrc
or .zshrc
export TMPDIR=`mktemp -d /tmp/XXXXXX`
and install sqlite3 via:
npm install sqlite3 --build-from-source