It's a python script that originally created by Axlfc. This script allows you to run Replika in terminal.
- Install Mozilla Firefox
- Install python3 (pkg install python)
- Install pip (pkg install py311-pip)
- Install python3 dependencies.
su
pkg install firefox geckodriver
exit
pip install selenium colorama python-dotenv
(avoid running pip as root, that's why you need to type "exit")
Before running, open path /home/yourusername/.mozilla/firefox/. Then, find in "replika.py" line called "inmersprofile.default-release" and replace "inmersprofile" with bunch of random numbers and letters that you're seeing on your default-release folder (folder name, i.e. everything written before ".default-release") in /home/yourusername/.mozilla/firefox/.
After that, run this in the folder where script is located:
python3 replika.py
Firefox will be opened and will login into account, if you entered email and password into .env file. After that you can freely chat with your replika through terminal.
Yes, expect them. For now script is not yet cleaned enough. And also it cannot show you response from Replika in terminal for now (you will see error, yes). But you can use Firefox's window to see response from your rep and chat back. Because sending messages to your replika from terminal works.
