genkit-shell
Version:
AI CLI interpreter using Genkit and Gemini
91 lines (62 loc) โข 1.59 kB
Markdown
# Genkit Shell
**AI-powered terminal interface using Genkit + Gemini + node-pty**
A CLI tool that brings AI assistance directly into your terminal.
Built with Genkit, Google Gemini, and a real bash session using `node-pty`.

## ๐ Features
- `!<your command>` โ Converts natural language into real shell commands via AI.
- `?` โ Starts an interactive AI chat session.
- `model?` โ Switch between different Gemini AI models.
- `lang?` โ Choose AI communication language (EN, RU, DE, FR, ES, UA, ZH, JA).
- `autostart-remove` โ Removes Genkit Shell from auto-start in `.bashrc`.
- Full bash environment using `node-pty`, not emulated.
## ๐ Installation
```bash
npm install -g genkit-shell
```
Or run via `npx` (without installing globally):
```bash
npx genkit-shell
```
## ๐งช Usage
Start the shell:
```bash
genkit-shell
```
Then you can use:
### AI Commands
```bash
!create a folder called logs and move all .txt files into it
```
### Ask about commands
```bash
ping?
```
### Switch AI Model
```bash
model?
```
### Change Language
```bash
lang?
```
### Start Chat Mode
```bash
?
```
Exit with `exit`.
## ๐ Environment Variables
Create a `.env` file in your project root:
```
GOOGLE_API_KEY=your_google_genai_api_key_here
```
You can get your key from [Google AI Studio](https://makersuite.google.com/).
## ๐ป Author
Created by [CyberScoper](https://github.com/CyberScoper)
On npmjs [Npmjs](https://www.npmjs.com/package/genkit-shell)