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

lippy-ai-widget

v1.0.2

Published

Lippy AI Widget - Easy to integrate AI chat widget for websites

Readme

Lippy AI Widget

A lightweight, easy-to-integrate AI chat widget for websites. Simply add a script tag and a custom element to your HTML, and you're ready to go!

Installation

Via CDN (Recommended)

Add the following to your HTML:

<!-- Add the widget element -->
<lippy-ai-widget
  public-key="your-public-key"
  assistant-id="your-assistant-id"
  mode="chat"
  theme="light"
  base-bg-color="#ffffff"
  accent-color="#14B8A6"
  cta-button-color="#ffffff"
  cta-button-text-color="#000000"
  border-radius="large"
  size="full"
  position="bottom-right"
  title="TALK WITH AI"
  start-button-text="Start"
  end-button-text="End Call"
  cta-title="Need Help?"
  cta-subtitle="Chat with our AI assistant"
  chat-first-message="Hey, How can I help you today?"
  chat-placeholder="Type your message here..."
  voice-show-transcript="true"
  consent-required="true"
  consent-title="Terms and conditions"
  consent-content="By clicking 'Agree,' and each time I interact with this AI agent, I consent to the recording, storage, and sharing of my communications with third-party service providers, and as otherwise described in our Terms of Service."
  consent-storage-key="lippy-ai_widget_consent"
></lippy-ai-widget>

<!-- Add the script -->
<script src="https://unpkg.com/lippy-ai-widget@latest/dist/lippy-ai-widget.js" async></script>

Via NPM

npm install lippy-ai-widget

Then import in your JavaScript:

import 'lippy-ai-widget';

Configuration Options

| Attribute | Type | Default | Description | |-----------|------|---------|-------------| | public-key | string | - | Your Lippy AI public key (required) | | assistant-id | string | - | Your assistant ID (required) | | mode | string | "chat" | Widget mode: "chat" or "voice" | | theme | string | "light" | Theme: "light" or "dark" | | base-bg-color | string | "#ffffff" | Background color of the widget | | accent-color | string | "#14B8A6" | Primary accent color | | cta-button-color | string | "#ffffff" | CTA button background color | | cta-button-text-color | string | "#000000" | CTA button text color | | border-radius | string | "large" | Border radius: "small", "medium", or "large" | | size | string | "full" | Widget size: "small", "medium", or "full" | | position | string | "bottom-right" | Widget position: "bottom-right", "bottom-left", "top-right", "top-left" | | title | string | "TALK WITH AI" | Button title text | | start-button-text | string | "Start" | Start button text | | end-button-text | string | "End Call" | End button text | | cta-title | string | "widget title" | Modal title | | cta-subtitle | string | "Need Help ??" | Modal subtitle | | chat-first-message | string | "Hey, How can I help you today?" | First message shown to users | | chat-placeholder | string | "Hey, I have a problem..." | Input placeholder text | | voice-show-transcript | boolean | "true" | Show voice transcript | | consent-required | boolean | "true" | Require user consent | | consent-title | string | "Terms and conditions" | Consent modal title | | consent-content | string | "..." | Consent modal content | | consent-storage-key | string | "lippy-ai_widget_consent" | Local storage key for consent |

Examples

Basic Usage

<!DOCTYPE html>
<html>
<head>
    <title>My Website</title>
</head>
<body>
    <h1>Welcome to my website!</h1>
    
    <!-- Lippy AI Widget -->
    <lippy-ai-widget
        public-key="your-public-key-here"
        assistant-id="your-assistant-id-here"
    ></lippy-ai-widget>
    
    <script src="https://unpkg.com/lippy-ai-widget@latest/dist/lippy-ai-widget.js" async></script>
</body>
</html>

Customized Widget

<lippy-ai-widget
    public-key="your-public-key-here"
    assistant-id="your-assistant-id-here"
    theme="dark"
    accent-color="#FF6B6B"
    position="bottom-left"
    title="Ask AI"
    cta-title="Get Help"
    cta-subtitle="Our AI assistant is here to help!"
    chat-first-message="Hello! I'm here to assist you. What can I help you with today?"
    border-radius="small"
    size="medium"
></lippy-ai-widget>

With Consent

<lippy-ai-widget
    public-key="your-public-key-here"
    assistant-id="your-assistant-id-here"
    consent-required="true"
    consent-title="Privacy Notice"
    consent-content="This AI assistant may record and process your conversations for service improvement purposes."
    consent-storage-key="my-app-consent"
></lippy-ai-widget>

API Reference

Global Object

The widget creates a global LippyAIWidget object that you can use to interact with the widget programmatically.

// Access the widget instance
const widget = window.LippyAIWidget;

// You can also create new instances
const customWidget = new LippyAIWidget();

Browser Support

  • Chrome 60+
  • Firefox 55+
  • Safari 12+
  • Edge 79+

Development

Building from Source

# Install dependencies
npm install

# Build for production
npm run build

# Development mode with watch
npm run dev

File Structure

├── src/
│   └── lippy-ai-widget.js    # Main widget source
├── dist/
│   └── lippy-ai-widget.js    # Built widget (UMD)
├── package.json
├── webpack.config.js
└── README.md

License

MIT License - see LICENSE file for details.

Support

For support and questions, please visit lippy.ai or contact our support team.