8000 GitHub - jaedmunt/strike-cli: A Groq inference CLI built with Go as an .exe so I can get quick answers in my command terminal. Takes an API key kept in user variables.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A Groq inference CLI built with Go as an .exe so I can get quick answers in my command terminal. Takes an API key kept in user variables.

Notifications You must be signed in to change notification settings

jaedmunt/strike-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strike

A lightning fast AI Command line interface

Note: The name "Strike" was chosen to avoid confusion with any Groq's current or future official releases.

Demo

strike-cli

⚡ Speed Above All

  • Built with Go for maximum performance and minimal footprint
  • Powered by Groq for rapid, cost-effective responses
  • Lightweight executable for instant access

Quick Start

  1. Build the executable:
    go build -o strike.exe strike.go

n.b It is probably smoother to temporarily disable realtime protection in Windows Defender for this step as it will probably flag this as being an unsigned.exe. You can see the code in strike.go so there is no alarm, but with it on it will probably quarantine it when you move it.

Gotta go fast ⚡

🛡️ Be sure to re-enable it after you have moved it. Safety first. 🤓

  1. Add to system PATH:

    # Windows
    move strike.exe "C:/Program Files/strike/strike.exe"
    setx PATH "%PATH%;C:\Program Files\strike"
    
    # Linux/macOS
    mv strike $HOME/go/bin
  2. Set Groq API key:

    # Windows
    setx GROQ_API_KEY "your-api-key"
    
    # Linux/macOS
    echo 
    5AF0
    "export GROQ_API_KEY=your-api-key" >> ~/.bashrc
    source ~/.bashrc

    Obviously change 'your-api-key' for the one from groq. When you log in there, there is a clear API keys tab on the left hand side to grab this. E.g GROQ_API_KEY='gsk-65s4g655bv4xzdf5z65j4x3665343z'

    p.s that isn't the right length - I just spammed it but it should start with gsk-

  3. Open command prompt (⊞ Win + R, type CMD)

  4. Start chatting!

    strike "Tell me about Go programming"

Or simply initiate the CLI:

strike 

if you want to go slow.

Messages stream directly in your terminal.

About

A Groq inference CLI built with Go as an .exe so I can get quick answers in my command terminal. Takes an API key kept in user variables.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0