A simple command-line AI assistant using OpenAI's API.
View on GitHub Install with NPM.envnpm install --global cli-ai-assistant
.env file with your OpenAI API key:
export OPENAI_API_KEY=your_api_key
git clone https://github.com/Benedek553/cli-ai-assistant.git
node install.js
mv index.js /usr/local/bin
This project is licensed under the Apache License 2.0.
Start the assistant with:
cli-ai-assistant
or
./run.sh
You will see:
Hello, how can I help you?
Please enter your question or command:
>
Type your question and press Enter.
/exit — Exit the assistant/error-report — Open the GitHub issues page for bug reportingAll interactions are logged to app.log in the project directory.
Feel free to open issues or submit pull requests on GitHub.
Created by Benedek553.