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

@myduckia/cli

v0.1.0

Published

A rubber-duck CLI that asks questions and never gives direct solutions.

Readme

🦆 My Duck

A CLI rubber duck for developers.

It asks questions.
It never gives solutions.
Ever.


Why?

You don't need another AI that writes code for you.

You need something that makes you think.

My Duck is not an assistant.
It's a thinking partner.


What does it do?

You explain your problem.

It asks questions.

That's it.

No fixes.
No copy/paste code.
No implementation help.
No "here's the solution".

Just better questions.


Demo

$ myduck

You> My API is slow
Duck> What is the current bottleneck you can measure right now?

You> Just give me the fix
Duck> I am a plastic duck. I am not here to give the answer. What did you try already?

Install

Local dev

npm link

Global install (after publish)

npm install -g @myduckia/cli

Prerequisites

Install at least one local provider CLI:

  • Claude CLI (claude)
  • Codex CLI (codex)

My Duck only uses provider CLIs installed on your machine.

No API key mode.
No remote backend login mode.
No cloud dependency.

Everything runs locally.


Login

myduck login

Then choose your provider.

My Duck will: - use your local CLI - run it in non-interactive mode - enforce question-only responses


Run

myduck

When you launch myduck, it automatically starts a local backend daemon (myduckd) using a Unix socket if needed.

You can override the socket path:

export MYDUCKD_SOCKET="/custom/path.sock"

Force a provider:

export MYDUCK_CLI_PROVIDER="claude-cli"

Override Claude model:

export MYDUCK_CLAUDE_MODEL="sonnet"

Increase timeouts if needed:

export MYDUCK_PROVIDER_TIMEOUT_MS=300000
export MYDUCK_BACKEND_TIMEOUT_MS=310000

The Rule (Non-Negotiable)

My Duck must never provide:

  • Direct solutions\
  • Final copy/paste code\
  • Full implementations

Any pull request that turns My Duck into a solution generator will be rejected.


Philosophy

Copy/paste coding makes you weaker.
Instant answers kill deep understanding.
Debugging is thinking.

Explaining your problem clearly often solves it.

My Duck just makes sure you do that part.


Why a duck?

Because a duck never solves your problem.

But explaining it to one usually does.


Contributing

Contributions are welcome.

Allowed: - Better questions - Better CLI UX - Provider improvements - More personality

Not allowed: - Anything that gives direct answers - Anything that generates final code

Keep the duck a duck.


License

MIT