JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 11
  • Score
    100M100P100Q38902F
  • License ISC

A terminal-based AI CLI using Groq + Gemma

Package Exports

  • ai59
  • ai59/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ai59) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

🧠 Groq CLI

Groq CLI is a blazing-fast, AI-powered terminal chatbot that connects to the Groq API using open-weight models like Gemma 2, LLaMA 3, and others.

Built for developers, terminal junkies, and anyone who wants the power of AI right in their command line.


🚀 Features

  • ✅ Real-time terminal chat with Groq's fastest LLMs
  • ✅ Supports Markdown formatting in output
  • ✅ Spinner animation while waiting for responses
  • ✅ Auto-persistent chat context (up to token limit)
  • ✅ Slash commands (/clear, /exit, /retry, etc.)
  • ✅ Token-safe context window handling
  • ✅ Easy to extend and open-source

📦 Installation

Install globally via npm:

npm install -g ai59

After installing, run:

ai

Or run it instantly with:

npx ai59

You'll be prompted to chat with the AI.

Slash Commands

Command Description
/exit Exit the CLI
/clear Clears the terminal screen
/help Lists all available commands

Project Structure

groq-cli/
├── index.js
├── ai.js
├── .env
├── package.json
└── README.md

Supported Models

  1. llama3-8b-8192
  2. llama3-70b-8192
  3. gemma-2b-it
  4. gemma-9b-it

Development

git clone https://github.com/TahaWebsites/groq-cli
cd groq-cli
npm install
node index.js

License

ISC © Mohammed Masooduddin Siddiqui

Contribute

Pull requests and ideas are welcome! Issues and feature requests?
Open one at https://github.com/TahaWebsites/groq-cli/issues