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

promma

v0.1.3

Published

CLI提示词管理工具,支持提示词的增删查改,并集成Gemini AI进行提示词生成

Readme

Prompt Manager (Promma)

查看中文版本

A command-line AI prompt management tool that supports CRUD operations for prompts and integrates Gemini AI for intelligent generation and semantic search.

✨ Features

  • 🔍 Prompt Management: Efficiently create, read, update, and delete your AI prompts.
  • 🤖 AI Intelligent Generation: Utilize Gemini AI to generate structured prompts based on your descriptions.
  • 🧠 AI Semantic Search: Find relevant prompts through natural language search, even if you don't remember exact keywords.
  • 📊 Beautiful Display: Clear and formatted preview of your prompts.
  • 📤 Multiple Export Formats: Export prompts as plain text, Markdown, or JSON.
  • 📂 Flexible Storage: Supports custom configuration and data storage paths, compatible with different devices.
  • 📦 Convenient Import: Batch import prompts from JSON files.
  • Quick Commands: Supports command aliases for faster operations.

🔗 Repository

https://github.com/kunieone/promma.git

🚀 Quick Installation

Promma can be installed globally via Bun or npm, allowing you to use the promma command from anywhere.

Install with Bun (Recommended)

If you have Bun installed, you can quickly install Promma using the following command:

bun install -g promma

Install with npm

If you prefer using npm, you can also install it globally with the following command:

npm install -g promma

⚙️ Configure Gemini API Key (Optional, for AI Features)

To use the AI generation and AI search features, you need to configure your Gemini API Key.

1. Get Your Gemini API Key

  1. Visit Google AI Studio.
  2. Log in with your Google account.
  3. Click on your profile picture in the top right corner -> "API keys".
  4. Create a new API key.
  5. Copy your API key.

2. Configure the Key

Run the promma config command in your terminal, then follow the prompts to enter your API key:

promma config

Alternatively, you can configure it by setting an environment variable:

export GEMINI_API_KEY=your_api_key_here

💡 Usage

After installation and configuration, you can directly run the promma command in your terminal.

View Help Information

promma --help

List All Prompts

promma list

Or use aliases:

promma ls
promma l

Filter by Category and Tags

promma list -c Writing -t Copywriting

View Prompt Details (Interactive)

promma view <id>

Or use aliases:

promma v <id>

Create New Prompt

promma create

Or use aliases:

promma c
promma add

Delete Prompt

promma delete <id>

Or use aliases:

promma d
promma rm

Generate Prompt with AI

You can directly provide content, or enter interactive mode:

# Generate directly
promma generate "I need a prompt to help with writing"

# Interactive generation
promma generate

Or use aliases:

promma g
promma gen

AI Semantic Search for Prompts

Based on your description, AI will intelligently match the most relevant prompts:

promma ai-search "I need help designing a product"

Or use aliases:

promma ai
promma ais

Export Prompt

Supports text, md (Markdown), json formats:

promma export <id> md

Or use aliases:

promma ex <id> md

Import Prompts

Import prompts from a JSON file. The file content should be an array of prompt objects:

promma import <filePath>

Or use aliases:

promma i
promma add-file

List All Categories

promma categories

Or use aliases:

promma cat

List All Tags

promma tags

Or use aliases:

promma t
promma tag

Clear All Prompt Data (Use with Caution!)

promma clear-all

Or use aliases:

promma clear

View Digestion History

promma history

Or use aliases:

promma hist
promma h

Digest Web Content

promma digest <url> [custom_instruction] [options]
  • <url>: The web page link to digest.
  • [custom_instruction]: Optional, custom instruction for summarizing the content.
  • [options]:
    • -d, --depth <number>: Recursive crawling depth, defaults to 0 (no recursion, only crawls the initial page). For example, 1 means crawling the initial page and its first level of links, and so on. All collected content will be used as a holistic context for summarization.

Example:

promma digest https://example.com/article "Summarize main points" -d 1

📂 Data Storage

All prompt data is stored in a local SQLite database, with the default path being ~/.promma/prompts.db. You can customize the data storage location by setting the PROMMA_DATA_DIR environment variable.

API keys and configurations are stored in ~/.promma/config.json. You can also customize the configuration storage location by setting the PROMMA_CONFIG_DIR environment variable.

🤝 Contributing

Contributions via Pull Requests or Issue reports are welcome!

📄 License

This project is licensed under the MIT License.


Thank you for your support, and we hope Promma becomes a valuable assistant for managing your prompts in your daily work!