GoGroq

command module
v0.0.0-...-5de8d30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 10 Imported by: 0

README

GoGroq

A tiny (< 200 LOC) Go wrapper for the Groq LLM API

  • One‑function call to send prompts and get responses.
  • No dependencies beyond the std‑lib and a single HTTP client.
  • Designed to stay simple, readable, and easy to embed in any Go project.

Build

go install github.com/4sp1/GoGroq@latest

You can also explore GOOS and GOARCH to choose the platform you’d like to target—whether it’s Windows, Linux, macOS, or any other supported system.

Use

If you’re a *‑nix user, you’ll see how to customize your usage:

GoGroq -h

For anyone who feels a little hesitant about diving into the terminal

  1. Configuration

    • Generates a key.txt file where you copy your Groq API key.

    • Generates a user.txt file to populate with your prompt.

    • Run the configuration command:

      GoGroq.exe -config
      

      or

      GoGroq -config
      
  2. Make sure your key is saved in key.txt

  3. Edit user.txt, then double‑click GoGroq.exe. After the terminal window closes, the file response.txt will be created.

Getting Started with Groq

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL