A simple CLI Cleverbot chat app for linux, using the cleverbotfree
API and espeak.
You need to have Python 3.x, pip, cleverbotfree, linux espeak and the latest
Firefox browser installed
To install espeak:
sudo apt-get install espeak
To install cleverbotfree:
pip install cleverbotfree
Drivers
Selenium requires a driver to interface with the headless browser. Firefox
requires geckodriver, which needs to be installed before this module can be
used. Make sure it’s in your PATH, e. g., place it in /usr/bin or /usr/local/bin.
You can download the geckodriver at https://github.com/mozilla/geckodriver/releases
Failure to observe this step will give you the error
"Message: ‘geckodriver’ executable needs to be in PATH."
Just run the script with Python:
python clevererbot.py