termigpt
v1.1.0
Published
π€ TermiGPT β AI-powered terminal assistant built with Node.js + Google Gemini API. Chat, code, and create β all from your terminal β‘
Maintainers
Readme
TermiGPT
AI-Powered Terminal Assistant built with Node.js + Google Gemini API
Chat, code, and create β all from your terminal β‘
About TermiGPT
TermiGPT brings the power of Google Gemini AI right into your terminal. You can chat, debug code, generate content, or learn β all from your command line.
It's like having your own AI terminal buddy that remembers context, supports multiple personalities, and now has a Japanese NeoTokyo theme π―π΅.
π» "TermiGPT makes your terminal feel alive β type, ask, and think with AI."
Features
β
Real-time AI responses β powered by Gemini
π§ Persistent chat mode β context-aware
π Custom personalities β hacker, sarcastic, teacher, motivational, etc.
πΈ Japanese NeoTokyo mode β switch instantly with --tojapan
π₯οΈ Fullscreen UI mode β immersive chat with --ui
π§Ύ Markdown formatting β clean and readable output
π Auto model fallback β always stays online
πΎ Session logging β saves every conversation
πͺ Simple setup β just one .env key
Installation
git clone https://github.com/manvithreddyyy/termigpt.git
cd termigpt
npm installThen create a .env file:
echo GEMINI_API_KEY=your_gemini_api_key_here > .envUsage
Ask a single question
node ask.js "Explain WebSockets simply"Start interactive chat
node ask.js --chatLaunch fullscreen chat UI
node ask.js --uiEnable Japanese NeoTokyo Theme
node ask.js --ui --tojapanLong detailed responses
node ask.js "Explain microservices architecture" --longPersonality Modes
| Style | Description | |-------|-------------| | default | Helpful and concise | | hacker | Minimal and command-line focused | | sarcastic | Witty and humorous | | teacher | Beginner-friendly explanations | | motivational | Positive and encouraging |
Create Custom Personalities
You can create your own custom styles by adding a file in your home directory:
~/.askit_personalities.jsonExample:
{
"elon": "You think like Elon Musk β ambitious, technical, and visionary."
}Japanese NeoTokyo Theme (--tojapan)
Switch to an aesthetic Japanese cyberpunk theme instantly:
node ask.js --ui --tojapanFeatures:
- πΈ Sakura pink and cyan chat bubbles
- πΎ Japanese prefixes (γγͺγ βΊ, οΌ‘οΌ© βΊ)
- β‘ NeoTokyo banner
Tech Stack
- Node.js (v18+)
- Google Gemini API
- Ink β for the fullscreen React-based TUI
- Chalk β colorful terminal output
- Commander β CLI command handling
- Dotenv β environment configuration
- Fetch API β for Gemini communication
Roadmap
- π Add
--voice(text-to-speech) support - π€ Add multi-provider support (OpenAI, Claude, Mistral)
- π§© Add plugin system for terminal extensions
- π¦ Publish to npm (
npx termigpt)
Author
Manvith Reddy
π Developer & Builder | Passionate about AI, Node.js, and Automation
π¬ GitHub @manvithreddyyy
License
This project is licensed under the MIT License β see the LICENSE file for details.
