Skip to content

prakis/geni-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geni CLI

Geni is a simple AI-powered command-line tool that lets you ask technical questions and get instant terminal commands — right from your terminal.

It responds with only the commands you need — no explanations, no clutter.

✨ Features

  • Answers developer questions from terminal.
  • Uses your own GEMINI_API_KEY if available.
  • Falls back to api.geni.dev if no API key is set.
  • Simple output with no description.

📦 Installation

npm install -g geni-dev

Usage

Just type your question in the terminal:

geni how to undo last git commit

It will print only the terminal command(s) you need.


🔐 Want to use your own Gemini API KEY (optional)

To get faster and unlimited answers, you can use the Google Gemini API (free).

  1. Get your Gemini API Key:
  1. Set the GEMINI_API_KEY environment variable: How to set GEMINI_API_KEY' as environment variable.

Linux / macOS:

Add this line to your .bashrc, .zshrc, or .bash_profile:

export GEMINI_API_KEY=your-api-key-here Then run: source ~/.bashrc # or ~/.zshrc depending on your shell

Windows (persistent):

  • Search for “Environment Variables” in Windows.
  • Under System Variables or User Variables, click New.
  • Add: Variable name: GEMINI_API_KEY value: your API key

About

Geni, AI in your Terminal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •