Skip to content

saadpocalypse/groq-talk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Install the package
npm install -g groq-talk

  1. Log in
groq-talk login

  1. You will be prompted to enter your Groq API key. The key will be stored locally in ~/.groq-talk/config.json

  1. Start Chat
groq-talk chat

This will open an interactive session where you can type your messages and receive responses from Groq.


Running Locally

  1. Clone the repository
git clone https://github.com/saadpocalypse/groq-talk.git
cd groq-talk

  1. Install dependencies
npm install

  1. Build the project
npm run build

  1. Run locally
node dist/index.js

Or in dev mode with TypeScript:

npx ts-node src/index.ts

Commands Inside Chat

  • help Show 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.

About

CLI tool to chat with Groq LLMs directly from your terminal.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors