npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, πŸ‘‹, I’m Ryan HefnerΒ  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you πŸ™

Β© 2025 – Pkg Stats / Ryan Hefner

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 ⚑

Readme

TermiGPT

AI-Powered Terminal Assistant built with Node.js + Google Gemini API
Chat, code, and create β€” all from your terminal ⚑

Node.js API License Stars


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 install

Then create a .env file:

echo GEMINI_API_KEY=your_gemini_api_key_here > .env

Usage

Ask a single question

node ask.js "Explain WebSockets simply"

Start interactive chat

node ask.js --chat

Launch fullscreen chat UI

node ask.js --ui

Enable Japanese NeoTokyo Theme

node ask.js --ui --tojapan

Long detailed responses

node ask.js "Explain microservices architecture" --long

Personality 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.json

Example:

{
  "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 --tojapan

Features:

  • 🌸 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.