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

rubber-duck-cli

v1.0.39

Published

Meet Atlas - the rubber duck that talks back

Readme

🦆 rubber-duck-cli

Meet Atlas — the rubber duck that actually talks back.

Every developer has a rubber duck on their desk. Yours is named Atlas. Unlike other rubber ducks, Atlas doesn't just sit there — he answers your questions, reads your code, searches the web, and writes files. Powered by AI, living in your terminal.

Version Node License BYOK GitHub stars

If Atlas helps you, a ⭐ on GitHub goes a long way!


Features

  • 💬 Chat mode — back and forth conversation with memory
  • Ask mode — single question, instant answer
  • 📄 File context — attach any file to your question
  • 📁 Project context — load your entire codebase into context
  • 🌐 Web search — search the web from your terminal
  • ✍️ Write files — generate and write code directly to files
  • 🔀 Git integration — understand your repo state and generate commit messages
  • 🔄 Streaming responses — responses print token by token

Installation

npm install -g rubber-duck-cli

Then talk to Atlas:

atlas chat

Quick Start

1. Get your API keys

2. Introduce yourself to Atlas

atlas config

3. Start talking

atlas chat

Commands

atlas chat

Start a back and forth conversation with Atlas. Memory is maintained throughout the session.

atlas chat

Options:

atlas chat --file path/to/file        # load a file into context
atlas chat --project path/to/project  # load entire project into context
atlas chat --git                      # load git context into conversation

Mid-conversation flags:

You: explain this --file index.js
You: search for latest Node.js version --search
You: create a README --write README.md
You: what changed recently --git

atlas ask

Ask Atlas a single question and get an answer immediately.

atlas ask "what is the difference between null and undefined?"

Options:

atlas ask "explain this" --file index.js                     # attach a file
atlas ask "explain this" --project .                         # attach current project
atlas ask "latest React version" --search                    # search the web
atlas ask "create an express server" --write server.js       # write to file
atlas ask "what changed" --git                               # include git context
atlas ask "write a commit message" --git                     # generate commit message

Supports piping:

cat error.log | atlas ask "what is wrong here?"

atlas config

First time setup. Introduce yourself to Atlas and give him his API keys.

atlas config

Keys are stored locally at ~/.config/rubber-duck-cli/config.json and never sent anywhere except directly to Groq and Tavily.


atlas help

Ask Atlas what he can do.

atlas help

Examples

# Ask Atlas to explain a file
atlas ask "explain what this does" --file index.js

# Let Atlas debug your errors
cat error.log | atlas ask "what is wrong here?"

# Ask Atlas to write code for you
atlas ask "create a REST API with Express" --write server.js

# Ask Atlas to fix a bug
atlas ask "fix the bug in this file" --file index.js --write index.js

# Ask Atlas to search the web
atlas ask "what is the latest version of Node.js" --search

# Have a full conversation about your codebase
atlas chat --project .
You: what does this project do?
You: how can I improve the architecture?
You: add input validation --file index.js --write index.js

# Let Atlas handle your git workflow
git add .
atlas ask "write a commit message for my staged changes" --git

# Understand what changed in your repo
atlas ask "summarize what changed in the last 10 commits" --git

# Git context in chat
atlas chat --git
You: what did I change today?
You: write a commit message for my staged changes

How Atlas Works

Atlas is fully client side. Your API keys never leave your machine except to talk directly to Groq and Tavily. There is no backend, no account required, and no usage limits beyond what your API keys allow.

atlas chat
    ↓
Your machine
    ↓ direct API call
Groq (Atlas's brain)
Tavily (Atlas's web search)
Git (Atlas reads your repo)

Flags Reference

| Flag | Short | Description | |------|-------|-------------| | --file <path> | -f | Attach a file to your question | | --project <path> | -p | Attach a project directory | | --search | -s | Search the web | | --write <path> | -w | Write response to a file | | --git | -g | Include git context |


Requirements


Tech Stack

  • Node.js — runtime
  • Commander.js — CLI command handling
  • Groq SDK — Atlas's brain via llama-3.3-70b-versatile
  • Tavily — Atlas's web search
  • Chalk — terminal colors
  • Ora — loading spinners
  • Inquirer — interactive config prompts
  • Conf — local config storage

Contributing

Contributions are welcome! Please read CONTRIBUTING.md before submitting a pull request.

rubber-duck-cli is and will remain open source and BYOK. Features that require a centralized backend or paid service are not aligned with the project direction.


Roadmap

  • [x] atlas chat — conversational mode
  • [x] atlas ask — single question mode
  • [x] atlas config — API key setup
  • [x] atlas help — help command
  • [x] Streaming responses
  • [x] --file flag — attach files to questions
  • [x] --project flag — load entire codebase
  • [x] --search flag — web search via Tavily
  • [x] --write flag — write responses to files
  • [x] --git flag — git integration and commit message generation
  • [ ] --run flag — execute terminal commands safely
  • [ ] Multi-file write support
  • [ ] Implementing a GUI

License

MIT — free to use, modify, and distribute.


Built by Chris from Athens, Greece 🇬🇷

Atlas the rubber duck has been helping developers since 2026. He's very smart for a duck.