@namiruai/chat
v1.16.0
Published
Namiru AI chat widget - standalone embeddable widget with Shadow DOM isolation
Downloads
2,341
Maintainers
Readme
@namiruai/chat
Standalone embeddable chat widget for Namiru.ai. Uses Shadow DOM for style isolation.
Namiru.ai lets you create AI-powered chat agents for your website in under 30 seconds. Paste your URL, and Namiru crawls your site to build a knowledge base. One line of code to embed.
But customer support is only half the product. The real value is in what happens after conversations:
- Conversation intelligence - The system monitors every chat and notifies you by email when users encounter issues, discover missing information, or report bugs. It gives you valuable insights into your customers' behavior.
- Lead collection - The chatbot collects name, email, phone, company (whatever you configure) during natural conversation. If someone didn't sign up because they hit a bug, you still have their contact info and can reach out to convert them.
- Pain point detection - Tracks recurring problems across all conversations, groups them by topic, and surfaces what matters most so you can fix issues fast.
- AI summaries - Every conversation is analyzed. You never have to read a single chat log.
Recommended: Use the script tag
The simplest way to add Namiru to any website:
<script src="https://namiru.ai/widget.js"></script>
<script>
NamiruChat.init({ agentId: 'your-agent-id' });
</script>Or use a framework wrapper
For React, Vue, or Angular projects, use the dedicated wrapper instead of this package:
- React:
npm install @namiruai/react- @namiruai/react - Vue:
npm install @namiruai/vue- @namiruai/vue - Angular:
npm install @namiruai/angular- @namiruai/angular
Configuration
| Option | Type | Description |
|--------|------|-------------|
| agentId | string | Required. Your Namiru agent ID. |
| mode | 'button' \| 'inline' | Display mode. Default: 'button'. |
| position | 'bottom-left' \| 'bottom-right' | Button position. Default: 'bottom-right'. |
| width | string | Width for inline mode. |
| height | string | Height for inline mode. |
Get your agent ID
- Go to namiru.ai
- Paste your website URL
- Your agent is ready in 30 seconds
- Copy the agent ID from the dashboard
Documentation
Full docs at namiru.ai/docs/widgets.
License
MIT
