Skip to content
MushroomWaspPublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

ai-term

Example

A lightweight terminal tool to query Google AI Studio straight from shell.
No subscriptions needed — just grab a free API key from Google AI Studio.

Supports:

  • Quick Q&A from terminal
  • Code-only mode (-c)
  • Pretty markdown output with glow (optional, but recommended)

Install

curl -s https://raw.githubusercontent.com/MushroomWasp/ai-term/refs/heads/main/install.sh | bash

Usage

Note that I made the alias just ai for fast access

ai "Your question here"
ai -c "Your question here"   # code-only mode

If you run it with no arguments or -h, it shows help.


Example

ai "Explain SQL injection in simple terms"

Output (with glow): nicely formatted markdown.


Notes

  • Requires: curl, jq
  • Optional: glow for beautiful output
  • Set your API_KEY inside script.sh before using
  • Get your free API key here → Google AI Studio

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages