
Security News
PolinRider: North Korea-Linked Supply Chain Campaign Expands Across Open Source Ecosystems
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.
litechatbot
Advanced tools
Drop-in chatbot SDK + React widget. Multi-LLM with fallback, business config, anti-hallucination guards. One import, one config — your site has a chatbot.
Drop-in AI chatbot SDK for any website. LiteLLM-style multi-provider with fallback + React widget + anti-hallucination guards.
npm install litechatbot
import { ChatWidget } from 'litechatbot/react';
<ChatWidget
business={{
name: 'Acme Plumbing',
services: [
{ name: 'Sink leak inspection', price: '$95' },
{ name: 'Toilet unclogging', price: '$85-150' }
],
hours: 'Mon-Sat 8am-6pm',
serviceArea: ['Vancouver', 'Burnaby']
}}
providers={{
primary: 'deepseek',
fallbacks: ['groq', 'openai'],
keys: {
deepseek: process.env.DEEPSEEK_KEY,
groq: process.env.GROQ_KEY,
openai: process.env.OPENAI_KEY
}
}}
/>
That's it. You now have a floating chat bubble in the corner of your site.
If you want to wire the bot into your own UI:
import { ChatBot } from 'litechatbot';
const bot = new ChatBot({
business: { name: 'Acme', services: [{ name: 'Tutoring', price: '$50/hr' }] },
providers: { primary: 'deepseek', keys: { deepseek: 'sk-...' } }
});
const { reply, usedProvider, guardWarnings } = await bot.reply('How much?');
Any OpenAI-compatible endpoint works. Built-in: openai, deepseek, groq, gemini, anthropic, cerebras, sambanova, fireworks, mistral, openrouter, moonshot.
Fallback chain auto-retries on 429 / rate-limit / 5xx / timeout.
Built-in checks strip dangerous phrases like:
Replies that try to invent dispatch, confirmation, or guarantees get sanitized before reaching the user.
| litechatbot | Vercel AI SDK | LangChain | ChatBotKit | |
|---|---|---|---|---|
| Drop-in widget | ✅ | ❌ primitives | ❌ | ✅ (cloud-locked) |
| Multi-provider fallback | ✅ | wire it yourself | ✅ | cloud |
| Business config schema | ✅ | ❌ | ❌ | ✅ |
| Anti-hallucination guards | ✅ | ❌ | separate libs | ❌ |
| Open source | Apache 2.0 | Apache 2.0 | MIT | proprietary |
| Self-host | ✅ | ✅ | ✅ | ❌ |
🚧 v0.1.0 — MVP. API may change.
Apache-2.0. Free for commercial use.
FAQs
Drop-in chatbot SDK + React widget. Multi-LLM with fallback, business config, anti-hallucination guards. One import, one config — your site has a chatbot.
We found that litechatbot demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.