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

promptex

v1.0.1

Published

A localhost Web UI to visualize and bundle local files for LLM context.

Downloads

12

Readme

Promptex 🚀

Turn your local codebase into LLM-ready context in seconds.

npm version License: MIT Node.js

Promptex is a zero-config, localhost web interface that helps you select, visualize, and bundle your code files for Large Language Models (Claude, ChatGPT, DeepSeek).

It solves the copy-paste fatigue by providing a clean "Switchboard" UI to toggle files, estimate tokens, and format everything into a single prompt.


✨ Features

  • 📂 Visual File Picker — Recursively scans your directory, ignoring node_modules and .git automatically.
  • 🔗 Linked Mode (Auto-Resolve) — Click one file and it auto-selects all its imports.
  • ⚡ Minify Mode — Removes comments and whitespace to shrink tokens.
  • 🛑 Smart .gitignore — Respects your project's existing ignore rules.
  • 💾 Presets — Save groups like Auth Stack, DB Schema, etc.
  • 💲 Cost Estimator — Live token + price estimation for GPT-4o / Claude Sonnet.
  • 🔒 Secure & Local — Runs only on your machine; nothing is uploaded.

🚀 Quick Start

You don't need to install anything. Just run it inside any project folder:

npx promptex

Your dashboard opens at: http://localhost:3456

Global Installation (Optional)

npm install -g promptex

Then run:

promptex

🛠 Usage & Options

Start Normally

promptex

Custom Port

promptex -p 8080

Headless (No Browser Auto-Open)

promptex --no-open

Help

promptex --help

💡 Pro Tips

  1. Linked Mode saves time Select one file (like a React component) → Promptex auto-grabs all imported utilities and sub-components.

  2. XML vs Markdown Output

    • XML (<file path="...">...</file>) is best for Claude.
    • Markdown (```js) works well with ChatGPT.
  3. Use Presets Working on a big feature? Select the files → Name it in the header → Save Preset → Load anytime.


📦 Troubleshooting

Permission Denied on Linux/Mac?

Try:

sudo npx promptex

Or fix global npm permissions (recommended).

Port Already in Use?

promptex -p 4000

🤝 Contributing

  1. Fork the repo
  2. Create a branch
  3. Commit changes
  4. Open a Pull Request

📄 License

MIT © Vedant020000