Categorygithub.com/Elixir-Craft/terminalAI
module
0.1.0
Repository: https://github.com/elixir-craft/terminalai.git
Documentation: pkg.go.dev

# README

Go Reference

Terminal AI

A command line tool that uses Gemini AI and OpenAI API to generate text and code.

Installation

git clone https://github.com/Elixir-Craft/terminalAI.git
cd terminalAI
go mod tidy

Build

go build -v -o out ./...  

Options

  • -i <input file> Input file path
  • -o <output file> Output file path
  • -p <Prompt> Prompt
  • -c Prompt from clipboard
  • chat Chat with AI
  • config Configure Services and API Keys

Set configurations

./terminalai config init

Usage

./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 (Currently only supports for Gemini)

./terminalai chat

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author