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 🙏

© 2024 – Pkg Stats / Ryan Hefner

proompt-cat

v1.0.2

Published

CLI tool for more effective AI interactions

Downloads

16

Readme

Proompt Cat

npm versionLicensenpm downloads

Turbocharge your software development workflows by leveraging the power of AI.

When seeking coding help from AI models like GPT-4, you want to:

  1. Give the model as much relevant context as possible without exceeding the token limit.
  2. Name your files and use delimiters to help the AI understand the content.
  3. Explicitly instruct the model with clear and unambiguous prompts.

However, copying your project files, naming them, and delimiting them manually, is time consuming.

Also, you won't know you're going to exceed the token limit until you do:

⚡ The Solution ⚡

Proompt Cat solves these issues for you.

Run the script from your folder and select the files you want to include. The token count is dynamically updated:

Next, choose to add on a pre-proompt:

The contents of your project files are individually named, delimited, and concatenated together, then copied to your clipboard.

You get the optimum context from your project with only a few key presses. 🚀🚀

Remember to paste in your requirements or error messages into the LLM chat window if you chose 5. or 6:

💡 Pro tip: iterate! It pays to have the AI check its answers. You can also combine prompts - first review your code for bugs, then again for vulnerabilities, and so on.

Getting started

  1. Start by running this command to install the tool globally using npm.
npm install -g proompt-cat
  1. Now you should be able to run the script from any project folder.
proompt-cat

Contributing and Reporting Bugs

We welcome contributions to Proompt Cat and appreciate your help in making this tool even more money 💲💲!

Here's how you can contribute or report bugs:

Reporting Bugs

If you encounter a bug or unexpected behavior:

  1. First, check the existing issues to see if the bug has already been reported.
  2. If not, open a new issue.
  3. Provide a clear and descriptive title.
  4. In the description, include:
    • Steps to reproduce the bug
    • Expected behavior
    • Actual behavior
    • Your operating system and Node.js version
    • Any relevant error messages or screenshots

Contributing Code

If you'd like to contribute code:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes, ensuring you follow the project's coding style.
  4. Add or update tests as necessary.
  5. Ensure all tests pass by running npm test.
  6. Commit your changes with a clear and descriptive commit message.
  7. Push your branch to your fork.
  8. Open a pull request against the main repository's main branch.

Suggesting Enhancements

Have an idea to improve Proompt Cat?

  1. Open a new issue.
  2. Label it as an enhancement.
  3. Clearly describe your suggestion, including:
    • The problem it solves
    • How it should work
    • Any potential drawbacks

We appreciate your contributions!