git checkout https://github.com/SkylarCastator/chatgpt-terminal-extension.git
Make sure to install Python. My Venv is using version 3.11 but should work on different versions.
Also make sure you have pip setup as part of your python package.
Next cd into the project directory and run:
pip install requirements.txt
Once this code is ran you should have the venv set up to run the project. You can test by running:
python3 main.py
Once you have tested that you can run the application link it to an alias like the command below.
alias gpt='python3 {path-to-chatgpt-project}/main.py'
Creating the token for ChatGPT can be done by going the the chat gpt website :
Create an account and then go to the keys page here:
https://platform.openai.com/account/api-keys
Copy the key and then enter it into the prompt. This will allow you to start using the application.
The ">>" prompt is there to helpo the user to understand what level they are using the application. When it doesnt have any extra contact before the prompt you are using the main layer that allows you to prompt ChatGPT.The other command tha can be used currently include:
- /help : Shows the list of options for the application to be ran.
- /user : Allows the user to change the user pref file
- /chatgpt : Allows the user to change the chatgpt prompt inputs.
- /exit : Allows the user to exit the application