groq-talk
v1.0.3
Published
A CLI to chat with Groq models directly from your terminal
Downloads
171
Maintainers
Readme
groq-talk
A CLI tool that allows you to chat with Groq LLMs directly from your terminal. Supports model switching, persistent API keys, and interactive conversations.
Features
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
Usage
Requirements
You must have Node.js (v18 or higher) installed.
Installation
- 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.
Running Locally
- 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.tsCommands Inside Chat
helpShow all available commands
Example
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?Contributing
I appreciate all contributions. Feel free to fork the repo, make your changes, and submit a pull request.
Check out the repository here.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Note
This is a hobby project, it is not associated or endorsed by Groq.
