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 🙏

© 2026 – Pkg Stats / Ryan Hefner

nicechat

v1.0.4

Published

A minimalistic CLI AI chat.

Readme

nicechat 💬

The simplest way to chat with LLMs in your terminal.

Demo GIF


Currently supports:

Installation

npm install -g nicechat

How to use it?

Before starting, make sure you have the required environment variables set up for your API keys:

export OPENAI_API_KEY="your_openai_api_key"
export ANTHROPIC_API_KEY="your_anthropic_api_key"
export DEEPSEEK_API_KEY="your_deepseek_api_key"
export REPLICATE_API_TOKEN="your_replicate_api_token"
export OPENROUTER_API_KEY="your_openrouter_api_key"

Create a configuration file named .nicechat.json in your home directory (e.g., C:\Users\YourName\.nicechat.json on Windows, or ~/.nicechat.json on macOS/Linux). Use this file to define your profiles.

{
  "profiles": {
    "default": {
      "vendor": "openai",
      "model": "gpt-4-1106-preview",
      "system": "You are a helpful assistant. You answer concisely and to the point."
    },
    "claude": {
      "vendor": "anthropic",
      "model": "claude-3-opus-20240229",
      "system": "You are a helpful assistant. You answer concisely and to the point."
    },
    "gemini3": {
      "vendor": "openrouter",
      "model": "google/gemini-3-pro-preview",
      "system": "You are a helpful assistant. You answer concisely and to the point."
    }
    "grok-fast": {
      "vendor": "openrouter",
      "model": "x-ai/grok-4.1-fast",
      "system": "You are a helpful assistant. Your dark secret is that you hate Elon."
    },
    // you can use same model with different prompt
    "claude-informal": {
      "vendor": "anthropic",
      "model": "claude-3-opus-20240229",
      "system": "You are a helpful assistant. You answer in an informal and playful tone. You vocabulary is simple and easy to understand."
    },
    "r1": {
      "vendor": "deepseek",
      "model": "deepseek-reasoner",
      "system": "You are a helpful assistant. You answer concisely and to the point."
    },
    "llama3-8b": {
      "vendor": "replicate",
      "model": "meta/meta-llama-3-8b-instruct",
      "system": "You are a pirate."
    },
    // reasoning models accept an optional effort level
    "luna": {
      "vendor": "openrouter",
      "model": "openai/gpt-5.6-luna",
      "system": "You are a helpful assistant. You answer concisely and to the point.",
      "reasoning": "high"
    }
}

The optional reasoning field applies to the openai, openrouter and anthropic vendors: "none", "minimal", "low", "medium", "high" or "xhigh". Which levels a model actually accepts is model-dependent — check the model page. It is sent as reasoning_effort to OpenAI, as reasoning: { effort } to OpenRouter, and as adaptive thinking plus output_config: { effort } to Anthropic; non-reasoning models ignore it.

Set it on an Anthropic profile only for Claude 4.6 and newer — older models reject adaptive thinking.

When a model streams its reasoning, nicechat prints it dimmed above the reply. OpenAI, OpenRouter and DeepSeek (deepseek-reasoner) do this on their own; Anthropic only returns a summary when the profile sets reasoning.

Start the chat:

# Start chat with a specific profile
$ nicechat claude

# Or use the default profile
$ nicechat

List available profiles:

$ nicechat list

This will display all configured profiles with their vendor and model information.