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

nui-strapi-chatbot-plugin

v1.0.11

Published

An AI-powered FAQ chatbot plugin for Strapi v5. Integrates an intelligent assistant into your admin panel — backed by OpenAI GPT-4o mini and semantic embeddings — so users can get instant answers from your FAQ content. Includes a built-in admin UI for con

Readme

Strapi Chatbot Plugin

An AI-powered FAQ chatbot plugin for Strapi. Drop it into any Strapi project and get an intelligent FAQ assistant in your admin panel.

⚠️ Note: To test the chatbot API, you can use the nui-strapi-chatbot-react package as a simple frontend UI.

Node.js >= 20 npm version Strapi v5


📦 Installation

# npm
npm install nui-strapi-chatbot-plugin@latest

# yarn
yarn add nui-strapi-chatbot-plugin@latest

# pnpm
pnpm add nui-strapi-chatbot-plugin@latest

🚀 Build & Start

npm run build
npm run develop

💡 Usage

  1. Start your Strapi app.

  2. Open the admin panel and navigate to NUI Chatbot Configuration in the sidebar.

  1. Add your frontend base domain (used to resolve card assets from its public folder).
  1. Set up your OpenAI API key. Make sure gpt-4o-mini and text-embedding-3-small models are available on your account.
  1. Clicking Save will validate the API key and save it.
  1. Add a contact link so the AI can provide it to users on request.
  1. Save the configuration.
  1. Add your FAQ entries in the Chatbot-FAQ collection.
  1. The chatbot is ready to use — test it directly from the admin panel.

🔄 Updating

npm install nui-strapi-chatbot-plugin@latest

# Then rebuild and restart
npm run build && npm run develop

🔒 Security

  • Admin endpoints (/collections, /usage, /validate-key) require Strapi admin authentication and are not publicly accessible.
  • Your OpenAI API key is stored in the Strapi plugin store and is never returned to the browser in plaintext.
  • The /ask endpoint is public (required by the frontend chatbot widget). In production, apply rate limiting at your reverse-proxy or CDN to prevent billing abuse.

⚠️ Troubleshooting

  • Make sure the base domain is set correctly before testing.

  • Only add FAQ entries to the Chatbot-FAQ collection after providing a valid API key.

  • If you see a version mismatch during install, run:

    npm install --legacy-peer-deps

Additional Information

  • Response Template

    • Add collections for AI to query realtime data
  • Suggested Questions

    • Add questions so that it can be fetched in frontend as suggestions
  • AI Instructions

    • System Instrcutions : Used in realtime querying. Sent while AI creates DB query

    • Response Tone : Used in the final response sent by AI.

📚 Links