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

order-kuch-bhi

v1.0.1

Published

Order food from Swiggy & Zomato using AI — reads your order history, finds nearby discounts, and places a COD order from your terminal.

Readme

kuch-bhi 🍱

AI-powered food ordering from your terminal

Looks at your Swiggy & Zomato order history → finds the best nearby deals → orders for you

npm license node made for india works with


What it does

kuch-bhi is a CLI agent that connects to the official Swiggy and Zomato APIs, reads your order history to understand your taste, finds nearby restaurants with active discounts, and places a Cash on Delivery order — after you confirm.

No app switching. No scrolling. Just run one command.

Works with Claude, OpenAI, or Ollama (free, runs fully local — no API key needed).


Demo

$ npx order-kuch-bhi

┌─────────────────────────────────────────────────────┐
│              Here's what I found for you             │
└─────────────────────────────────────────────────────┘

  1. [ZOMATO] RollsKing
     Chicken Hot-shot Protein Roll — ₹215  🏷 70% OFF up to ₹140
     4.2★  ·  30 min  ·  1.2 km away
     Your most-ordered item on Zomato — ordered almost daily!

  2. [ZOMATO] Shalimar
     Chicken Tikka Biryani — ₹440  🏷 60% OFF up to ₹120
     4.1★  ·  25 min  ·  1.9 km away
     Past favourite with a big discount today.

  3. [SWIGGY] Charcoal Eats
     Chicken Biryani — ₹219
     4.3★  ·  35 min  ·  2.1 km away
     Your #1 repeat restaurant on Swiggy — ordered 3 times!

Pick a number (1–3): 1

Confirm order? [y/N]: y

✅ Order placed! Chicken Hot-shot Protein Roll from RollsKing
   ₹215 → ₹75 after 70% off  ·  Cash on Delivery  ·  Arrives in ~30 min

How it works

Your order history  →  AI understands your taste
        ↓
Both Swiggy + Zomato  →  Nearby restaurants + active discounts
        ↓
Ranked suggestions  →  You pick one
        ↓
Cart + best coupon applied  →  You confirm  →  Order placed (COD)

Requirements

| | | |---|---| | Node.js | v18 or higher | | Account | Swiggy and/or Zomato (India) | | AI | Ollama (free) · Claude · OpenAI |


Quick Start

Step 1 — Connect your accounts (one-time only)

npx order-kuch-bhi connect swiggy
npx order-kuch-bhi connect zomato

Opens your browser for a standard OAuth login. Your credentials are saved locally at ~/.config/kuch-bhi/config.json and never leave your machine.


Step 2 — Set up AI (pick one)

🆓 Ollama — free, no account, runs on your machine

# 1. Install Ollama from https://ollama.com
# 2. Pull a model:
ollama pull llama3.1:8b

# 3. Set as provider:
export LLM_PROVIDER=ollama
export OLLAMA_MODEL=llama3.1:8b

Claude (Anthropic)

export ANTHROPIC_API_KEY=sk-ant-...

Get a key at console.anthropic.com

OpenAI

export LLM_PROVIDER=openai
export OPENAI_API_KEY=sk-...

Step 3 — Order food

npx order-kuch-bhi

That's it.


Using with Claude Code or Codex CLI

If you use Claude Code or OpenAI Codex CLI, you can invoke kuch-bhi as a slash command directly from your editor.

The AGENTS.md file in this repo already contains the instructions both tools need — just clone or npx and it works automatically.

Claude Code — create .claude/commands/kuch-bhi.md in your project:

Run the kuch-bhi food ordering agent:
1. Run `npx order-kuch-bhi suggest 2>&1` and parse the KUCH_BHI_SUGGESTIONS JSON line.
2. Show the suggestions to the user via AskUserQuestion and let them pick one.
3. Run `npx order-kuch-bhi place '<selected-json>'` to place the order.

Codex CLI — the AGENTS.md at the repo root is picked up automatically.


FAQ

Is it safe? Does it store my passwords?
kuch-bhi uses standard OAuth — it never sees your Swiggy/Zomato password. Tokens are stored only on your machine at ~/.config/kuch-bhi/config.json.

What payment method does it use?
Always Cash on Delivery. No card or UPI details are ever needed or stored.

Does it work outside India?
No — Swiggy and Zomato are India-only platforms.

Can I use a free AI?
Yes. Ollama runs locally with no API key and no cost.


License

MIT © koushiknarendar