{"_id":"100xmess","name":"100xmess","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"100xmess","version":"1.0.0","description":"MessCLI — Terminal client for hostel mess ordering","main":"src/index.js","bin":{"mess":"src/index.js"},"engines":{"node":">=18.0.0"},"scripts":{"start":"node src/index.js"},"keywords":["mess","hostel","cli","ordering"],"author":"","license":"ISC","dependencies":{"axios":"^1.7.0","chalk":"^4.1.2","commander":"^12.1.0","open":"^8.4.2","ora":"^5.4.1"},"_id":"100xmess@1.0.0","gitHead":"24f1946ac504aa03658c0c906fd68e5ce4702a00","_nodeVersion":"23.11.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-KMJTLXTl2HcaTh+zJMI47HBL44eYtDslKRi8s47/BcCoU4RkCzOomnI2H6GMqRUDnmSjqlGYCb1X8eamv4iRwg==","shasum":"bf0695708a6bc199190f54d7d0544c92f784d05c","tarball":"https://registry.npmjs.org/100xmess/-/100xmess-1.0.0.tgz","fileCount":15,"unpackedSize":29116,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCiF424GgSIYGoGkN+MJsv085zsmnq8SZq2svztEOliMQIgOASvg3SGY7v+qVCSiW2Ph3v9jwfZdZgzpojLiNbFKgA="}]},"_npmUser":{"name":"iaman08","email":"pvttaman@gmail.com"},"directories":{},"maintainers":[{"name":"iaman08","email":"pvttaman@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/100xmess_1.0.0_1775044821986_0.938118010243618"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-01T12:00:21.829Z","1.0.0":"2026-04-01T12:00:22.120Z","modified":"2026-04-01T12:00:22.330Z"},"maintainers":[{"name":"iaman08","email":"pvttaman@gmail.com"}],"description":"MessCLI — Terminal client for hostel mess ordering","keywords":["mess","hostel","cli","ordering"],"license":"ISC","readme":"# 100xMess CLI 🍽️\n\nA simple terminal-based client for ordering food from your hostel mess. No apps, no browsers — just your terminal.\n\n---\n\n## Prerequisites\n\n- [Node.js](https://nodejs.org/) v18 or higher\n- A Telegram account\n\n---\n\n## Installation\n\n**1. Clone this repo**\n```bash\ngit clone https://github.com/iaman08/100xMess-CLI.git\ncd 100xMess-CLI\n```\n\n**2. Install dependencies**\n```bash\nnpm install\n```\n\n**3. Link the `mess` command globally**\n```bash\nnpm link\n```\n\nYou can now use `mess` from anywhere in your terminal.\n\n---\n\n## Setup\n\n**4. Log in**\n```bash\nmess login\n```\n\n- It will open a Telegram link in your browser.\n- Start the bot, click **\"Get Token\"**, and copy the token.\n- Paste it back into the terminal.\n- Your account will be sent for **admin approval**. Wait for the Telegram notification that says you're approved.\n\n---\n\n## Commands\n\n| Command | Description |\n|---|---|\n| `mess menu` | View today's full menu |\n| `mess search <query>` | Search for items by name |\n| `mess order` | Place a new order (interactive) |\n| `mess status <orderId>` | Check the status of an order |\n| `mess orders` | View your recent order history |\n| `mess watch <orderId>` | Live-watch an order's status updates |\n| `mess cancel <orderId>` | Cancel a pending order |\n| `mess whoami` | Show your current logged-in account |\n| `mess logout` | Log out and clear your session |\n\n---\n\n## How Ordering Works\n\n1. Run `mess order` and pick items from the menu.\n2. Confirm your order — you'll get an **Order ID**.\n3. Track it with `mess status <orderId>` or `mess watch <orderId>`.\n4. When the order is **Ready**, the vendor will send a verification OTP to your Telegram.\n5. Share the OTP with the vendor to collect your food. ✅\n\n---\n\n## Troubleshooting\n\n- **`mess login` says \"Not approved yet\"** — Wait for the admin to approve your account. You'll get a Telegram message.\n- **`mess menu` fails** — Check your internet connection. The server might be restarting; try again in 30 seconds.\n- **Token errors** — Run `mess logout` and then `mess login` again to refresh your session.\n","readmeFilename":"README.md","_rev":"1-91bc400cc7f8949dfc246e68b6e85cae"}