Personal terminal assistant for all operating systems and languages
Install system requeriments
sudo apt update
sudo apt install -y python3 python3-pip git
From here, if you have a debian based system you can use the alfred.deb installer.
Install python requeriments
pip install halo
pip install --upgrade openai
Create source folder
sudo rm -r /usr/src/alfred
cd /usr/src
git clone -b branch_v1.3 https://github.com/maximofn/alfred.git
cd /usr/src/alfred
sudo find . -depth -not -name '*.py' -delete
Create symbolic link to /usr/bin/alfred
echo 'alias alfred="/usr/src/alfred/alfred.py"' >> ~/.bashrc
Restart bash
source ~/.bashrc
Loggin to open ai and get your open ai api key
You can ask to alfred specific questions by typing alfred
followed by your question
Or write alfred
and keep asking him questions. To finish type exit
If you like it consider giving the repository a star ⭐, but if you really like it consider buying me a coffee ☕.