A CLI tool that allows you to chat with Groq LLMs directly from your terminal. Supports model switching, persistent API keys, and interactive conversations.
-
Chat with Groq models directly in the terminal
-
Save your API key securely for reuse
-
Switch between Groq models during a session
-
List all available models
-
Simple commands for managing sessions
-
Lightweight and easy to use
-
Switch between different chats
You must have Node.js (v18 or higher) installed.
- Install the package
npm install -g groq-talk- Log in
groq-talk login
- You will be prompted to enter your Groq API key. The key will be stored locally in
~/.groq-talk/config.json
- Start Chat
groq-talk chatThis will open an interactive session where you can type your messages and receive responses from Groq.
- Clone the repository
git clone https://github.com/saadpocalypse/groq-talk.git
cd groq-talk- Install dependencies
npm install- Build the project
npm run build- Run locally
node dist/index.jsOr in dev mode with TypeScript:
npx ts-node src/index.ts-
helpShow all available commands
groq-talk chat
Groq Chat started with model: llama-3.1-8b-instant. Type 'help' for commands.
You: Hello
Groq: Hi there! How can I help you today?I appreciate all contributions. Feel free to fork the repo, make your changes, and submit a pull request.
Check out the repository here.
This project is licensed under the MIT License - see the LICENSE file for details.
This is a hobby project, it is not associated or endorsed by Groq.