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

@orello/next

v0.0.13

Published

Next.js integration for Orello AI - Embed intelligent conversational assistants into your Next.js applications with ease.

Downloads

1,372

Readme

@orello/next 🚀

The official Next.js integration for Orello AI. Easily embed intelligent, conversational support assistants into your Next.js applications with just a few lines of code.

npm version License: MIT

✨ Features

  • Voice & Multimodal: Native support for Deepgram, ElevenLabs, and visual context capture.
  • Auto-Fallback: Intelligent fallback to browser Speech API and Synthesis.
  • Next.js Optimized: Designed specifically for Next.js (App Router & Pages Router).
  • TypeScript Ready: Full type definitions for a superior developer experience.
  • Fully Customizable: Control appearance, behavior, and API endpoints via props.

📦 Installation

# Using pnpm
pnpm add @orello/next

# Using npm
npm install @orello/next

# Using yarn
yarn add @orello/next

🚀 Quick Start (App Router)

To avoid SSR issues and manage the widget lifecycle, simply include the OrelloAgent component in your root layout.tsx or a dedicated client wrapper.

// app/layout.tsx
import { OrelloAgent } from "@orello/next";

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en">
      <body>
        {children}
        <OrelloAgent 
          widgetKey={process.env.NEXT_PUBLIC_ORELLO_API_KEY} 
          agent={process.env.NEXT_PUBLIC_ORELLO_AGENT_ID} 
        />
      </body>
    </html>
  );
}

⚙️ Configuration (Props)

| Prop | Type | Required | Default | Description | | :--- | :--- | :---: | :--- | :--- | | widgetKey | string | Yes | - | Your unique Orello Widget API key. | | agent | string \| object | Yes | - | The Assistant UID or a full configuration object. | | scriptSrc | string | No | .../orello.min.js | Custom URL for the underlying SDK script. | | apiBase | string | No | https://api.orello.space | Base URL of the Orello API. | | agentEndpoint | string | No | /api/v1/embed/{agent} | Template for fetching agent details. | | wakeWord | boolean | No | true | Enable/disable the "Hey Assistant" listener. | | cleanupOnUnmount | boolean | No | false | Remove the widget and script when the component unmounts. | | onReady | (event) => void | No | - | Callback triggered when initialization completes. | | onError | (event) => void | No | - | Callback triggered on errors. |

🛠️ Advanced Usage

Customizing Endpoints

If you are running a self-hosted instance of the Orello service:

<OrelloAgent 
  widgetKey="YOUR_KEY"
  agent="AGENT_UID"
  apiBase="https://orello.yourdomain.com"
  agentEndpoint="/api/v1/embed/{agent}"
/>

Event Handling

Listen for widget states to synchronize with your application's state:

<OrelloAgent 
  widgetKey="YOUR_KEY"
  agent="AGENT_UID"
  onReady={(e) => console.log("Agent ready:", e.detail.agent)}
  onError={(e) => console.error("Orello error:", e.detail.message)}
/>

📄 License

MIT © Orello Team