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

thinkai-cli

v0.2.9

Published

<div align="center">

Readme

🧠 Think AI CLI

Think AI CLI CI npm version Downloads License

🚀 A powerful command-line AI workflow tool powered by Think AI

Connect to your tools, understand your code, and accelerate your workflows


✨ Features

🔥 Think AI Integration - Exclusively powered by Think AI's advanced language models
Real-time Streaming - Server-Sent Events for instant responses
🛠️ Tool Integration - Connect with MCP servers and external tools
📁 Codebase Understanding - Analyze and edit large codebases intelligently
🎨 Multimodal Capabilities - Generate apps from PDFs, sketches, and images
🔄 Workflow Automation - Handle complex tasks like rebases and PR analysis
🎯 100% Test Coverage - Comprehensive unit, integration, and E2E testing


🚀 Quick Start

Installation

# Global installation (recommended)
npm install -g thinkai-cli

# Or run directly with npx
npx thinkai-cli

Setup

  1. Configure Think AI API (default endpoint: https://thinkai.lat/api):

    export THINKAI_BASE_URL="https://thinkai.lat/api"
  2. Launch the CLI:

    thinkai
  3. Pick your favorite color theme and start building! 🎨


💡 Usage Examples

🔍 Explore New Codebases

cd your-project/
thinkai
> Describe the main pieces of this system's architecture.
> What security mechanisms are in place?

🛠️ Development Tasks

> Implement a first draft for GitHub issue #123.
> Help me migrate this codebase to the latest version of React. Start with a plan.
> Write comprehensive tests for the user authentication module.

🎯 Project Creation

> Write me a Discord bot that answers questions using a FAQ.md file I will provide
> Create a REST API for a todo app with user authentication
> Build a web scraper that extracts product data from e-commerce sites

🔄 Workflow Automation

> Make me a slide deck showing the git history from the last 7 days, grouped by feature and team member.
> Convert all the images in this directory to png, and rename them to use dates from the exif data.
> Organise my PDF invoices by month of expenditure.

🏗️ Architecture

graph TD
    A[Think AI CLI] --> B[Think AI Client]
    B --> C[Think AI API]
    A --> D[Tool Integration]
    A --> E[MCP Servers]
    A --> F[Local System]
    
    C --> G[Chat Endpoint]
    C --> H[Streaming Endpoint]
    
    D --> I[File Operations]
    D --> J[Git Integration]
    D --> K[Shell Commands]

📋 Requirements

  • Node.js version 18 or higher
  • npm or yarn package manager
  • Access to Think AI API endpoint

🔧 Configuration

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | THINKAI_BASE_URL | Think AI API base URL | https://thinkai.lat/api | | DEBUG | Enable debug logging | false |

Custom Endpoints

# Custom Think AI endpoint
export THINKAI_BASE_URL="https://your-custom-thinkai-endpoint.com/api"

# Run with debug mode
DEBUG=1 thinkai

🧪 Development

Building from Source

# Clone the repository
git clone https://github.com/champi-dev/gemini_cli_thinkai
cd gemini_cli_thinkai

# Install dependencies
npm install

# Build the project
npm run build

# Run tests
npm test

# Start development mode
npm start

Testing

# Run all tests
npm test

# Run with coverage
npm run test:ci

# Run integration tests
npm run test:integration:all

# Run E2E tests
npm run test:e2e

📚 Documentation


🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

  1. Fork the repository
  2. Create your feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. Open a Pull Request

📊 Project Status

  • Think AI Integration - Complete migration from Gemini to Think AI
  • CLI Functionality - Full command-line interface with streaming
  • Testing Suite - 100% test coverage with comprehensive test suites
  • Documentation - Complete documentation and examples
  • NPM Package - Published and ready for installation
  • 🔄 Continuous Integration - Automated testing and deployment

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


🙏 Acknowledgments

  • Built on top of the original Gemini CLI architecture
  • Powered by Think AI for advanced language processing
  • Inspired by the need for powerful, AI-driven development tools

Made with ❤️ by the Think AI CLI team

🌟 Star us on GitHub | 📦 View on NPM | 🐛 Report Issues