Note: The name "Strike" was chosen to avoid confusion with any Groq's current or future official releases.
- Built with Go for maximum performance and minimal footprint
- Powered by Groq for rapid, cost-effective responses
- Lightweight executable for instant access
- 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. 🤓
-
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
-
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-
-
Open command prompt (⊞ Win + R, type
CMD
) -
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.