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

quco

v1.0.3

Published

Turn natural language into shell commands using AI

Readme

⚡ Introduction

Quco converts natural language into executable shell commands using AI, right from your terminal. With support for multiple providers, built-in safety validation, and seamless shell integration. It’s like having a command-line memory on demand.

✨ Features

  • 🚀 Simple CLI - Just type quco <your request> and get a shell command
  • 🧠 Multiple AI Providers - Support for OpenAI, Anthropic, and Google models
  • 🔒 Safety First - Never auto-executes commands; validates against destructive patterns
  • 📋 Clipboard Integration - Auto-copies commands to clipboard
  • ⌨️ Autofill - Optional zsh/bash autofill to load commands into shell buffer
  • 📜 Command History - Automatically saves all prompts, responses, and errors for easy reference

⚙️ Tech Stack

  • Language - TypeScript
  • AI - Vercel AI SDK, Anthropic, Google, OpenAI
  • Runtime - Node.js (>= 18.0.0)
  • CLI Tools - Commander, Inquirer, Chalk, Ora

📦 Installation

npm install -g quco

After installation, run the setup:

quco --setup

This will guide you through selecting an AI model provider and entering your API key.

Requirements:

  • macOS
  • zsh or bash shell
  • Node.js >= 18.0.0

🚀 Quick Start

After setup, restart your terminal or run:

source ~/.zshrc  # or ~/.bashrc

Then start generating commands:

# List all JavaScript files
quco list all javascript files in current directory

# Find files modified in last week
quco find files modified in last 7 days

# Process management
quco show all node processes

# Download youtube video
quco "download youtube video https://youtu.be/AbCd"

Important: If your prompt contains special characters like ?, *, &, |, or URLs, wrap it in quotes to prevent your shell from interpreting them.

Commands

| Command | Description | |---------|-------------| | --setup | Interactive setup and configuration.Stores credentials in your shell rc file (.zshrc or .bashrc). | | <prompt> | Generate a shell command from natural language.The command is printed to stdout and copied to clipboard using pbcopy. | | --version | Display version information. | | --config | Show current configuration (model, provider, settings). | | --autofill-on | Enable autofill for zsh or bash.This loads generated commands into your shell's edit buffer for review. | | --autofill-off | Disable autofill and remove the shell function from your configuration. |

📚 Notes

Command History

Quco automatically maintains a history of all command generations in ~/.quco/history.json. The history includes timestamps, prompts, generated commands, and any errors. History is limited to the last 100 entries to prevent excessive disk usage.

Configuration Backups

Quco automatically creates backups of your shell configuration file (~/.zshrc or ~/.bashrc) whenever it makes modifications during setup or autofill operations. The 3 most recent backups are kept as ~/.zshrc.quco-backup-<timestamp>.

📺 Demo

Note: If the video doesn't load, ▶️ click here to watch the demo

👋🏻 Contact

Linkedin Twitter