A command line tool that uses Gemini AI and OpenAI API to generate text and code.
You can download the latest release for Debian or Arch based distros from the release page, or you can build from the source.
If you using Arch Linux or Arch based distro, you can install the terminalAI using PKGBUILD
You have to install Go and set up the environment before installing the tool.
git clone https://github.com/Elixir-Craft/terminalAI.git
cd terminalAI
go mod tidy
go build -v -o out ./...
-i <input file>
Input file path-o <output file>
Output file path-p <Prompt>
Prompt-c
Prompt from clipboardchat
Chat with AIconfig
Configure Services and API Keys
terminalai config init
terminalai "Generate Some Text"
terminalai -p " $(tree -L 2) generate docker-compose file for this project" -o docker-compose.yaml
terminalai -i input.txt -p "Read the following text and generate a summary" -o output.txt
Chat
terminalai chat