Get Response
Terminal-Based AI Powerhouse
A modern, modular CLI tool that brings the full potential of Google’s Gemini AI directly to your terminal—designed for developers who want productive, context-aware conversations and automations.
Key Features
Gemini Integration
Uses Google’s latest Flash model for ultra-fast, conversational AI responses.
Contextual Awareness
Native support for files, directories, PDFs, and images (OCR) as model context.
Terminal Automation
Safely generate and execute shell commands with AI assistance and user confirmation.
Stack Exchange Research
Search and summarize Stack Overflow discussions directly within your workflow.
System Architecture
Highly decoupled modules designed for extensibility and performance.
Core Engine
Orchestrates chat sessions and context management.
chat.jscontext.jsAI & External Services
Direct integration with Google Gemini and Stack Exchange.
ai.jsstack.jsSystem Automation
Safe terminal command generation and execution.
terminal.jsmermaid.jsUser Experience
Monochrome CLI UI and output formatting.
display.jsformatter.jsInstallation
Requires Node.js ≥ 18.0.0
npm i get-response -gnpx get-responseUsage Guide
Master the terminal-first AI workflow.
01Contextual Intelligence
GetResponse isn't limited to text. It processes various media types as context to provide precise, file-aware responses.
Analyze technical papers, documentations, or logs using the pdf-parse-fork. The AI reads the content directly from your local files.
Pass screenshots or diagrams using Tesseract OCR. The CLI extracts text from images for analysis, debugging, or translation.
| Type | Flag | Example |
|---|---|---|
File | -f | npx get-response "Explain this code" -f ./auth.js |
Directory | -d | npx get-response "Find bugs" -d ./src |
PDF | -p | npx get-response "Summarize this paper" -p ./paper.pdf |
Image (OCR) | -i | npx get-response "What does this mean?" -i ./screenshot.png |
02Interactive Modes
Maintains persistent session context for back-and-forth reasoning.
$ npx get-response -cIn-terminal search and summarize for Stack Overflow.
$ npx get-response -s "What is EOFError?"03Terminal Automation
Describe a complex terminal task, and get-response will generate the exact shell command required. With the --auto flag (experimental), the tool can even assist in executing these tasks safely after your confirmation.
# "Find all large log files and move them to a backup folder"
$ npx get-response -t "move all files larger than 10MB in /logs to /backup"04Diagram Generation
Perfect for architecture reviews, get-response can output valid Mermaid.js code to visualize systems, logic flows, or database schemas directly in your terminal.
$ npx get-response -m -d ./srcTech Stack
Support & Contributing
Get Response is an open-source project. If you have bugs, suggestions, or want to contribute, please open an issue on our GitHub repository.
Created with ❤️ by Swapnoneel Saha © 2026