Professional chat widget for n8n - Easy to integrate, fully customizable, production-ready.
<link href="https://chat-widget.coderaai.com/widget.css" rel="stylesheet" />
<script src="https://chat-widget.coderaai.com/chat-widget-simple.js"></script>
<script>
createChat({
webhookUrl: 'YOUR_N8N_WEBHOOK_URL',
botName: 'Ω
Ψ³Ψ§ΨΉΨ― Ψ°ΩΩ',
botAvatar: 'π€',
placeholder: 'Ψ§ΩΨͺΨ¨ Ψ±Ψ³Ψ§ΩΨͺΩ...',
initialMessages: [
'Ω
Ψ±ΨΨ¨Ψ§Ω! π',
'ΩΩΩ ΩΩ
ΩΩΩΩ Ω
Ψ³Ψ§ΨΉΨ―ΨͺΩΨ'
]
});
</script>That's it! The widget appears in the bottom-right corner. β
- Live Site: chat-widget.coderaai.com
- Deployment Docs: docs-deployment/
- β‘ Lightning Fast - Lightweight, no dependencies
- π¨ Fully Customizable - Colors, text, icons
- π n8n Integration - Works with n8n webhooks
- π± Responsive - Mobile, tablet, desktop
- π CDN Ready - Fast global delivery
- π Production Ready - Battle-tested
createChat({
webhookUrl: 'https://your-n8n.com/webhook/id',
botName: 'Support Bot',
botAvatar: 'π€',
placeholder: 'Type your message...',
initialMessages: [
'Hello! π',
'How can I help you?'
]
});| Option | Type | Default | Description |
|---|---|---|---|
webhookUrl |
string | required | Your n8n webhook URL |
botName |
string | 'Smart Assistant' |
Bot name in header |
botAvatar |
string | 'π€' |
Bot icon (emoji) |
userAvatar |
string | 'π€' |
User icon (emoji) |
placeholder |
string | 'Type your message...' |
Input placeholder |
initialMessages |
array | [] |
Opening messages |
<style>
.chat-widget-button {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}
.chat-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}
</style>- Install WPCode plugin
- Go to
Code Snippets β + Add Snippet - Paste the CDN code above
- Settings:
- Code Type:
HTML Snippet - Location:
Site Wide Footer - Status:
Active
- Code Type:
- Save!
- Bun (recommended) or Node.js 14+
# Clone
git clone https://github.com/yourusername/simple-chat-widget.git
cd simple-chat-widget
# Install
bun install
# Dev
bun run dev
# Opens http://localhost:4321bun run dev # Dev server
bun run build # Build widget + docs
bun run deploy # Deploy to Netlifysimple-chat-widget/
βββ src/
β βββ chat-widget-simple.js # Widget source
β βββ widget.css # Widget styles
βββ docs/ # Astro documentation site
β βββ src/
β βββ pages/
β βββ layouts/
β βββ components/
βββ dist/ # Build output (CDN files)
βββ examples/ # Usage examples
βββ wordpress/ # WordPress plugin
- Widget JS:
https://chat-widget.coderaai.com/chat-widget-simple.js - Widget CSS:
https://chat-widget.coderaai.com/widget.css - Demo Page:
https://chat-widget.coderaai.com/
This project is deployed on Dokploy with Docker + Nginx.
See docs-deployment/DOKPLOY_DEPLOYMENT.md for complete instructions.
Quick Deploy:
- Fork this repository
- Connect to Dokploy
- Set build type to
Dockerfile - Deploy!
- Netlify/Vercel: See docs-deployment/VERCEL_DEPLOYMENT.md
- Any Docker host: Use the included
Dockerfile
MIT License - see LICENSE
Contributions welcome! Please open an issue or PR.
- Issues: GitHub Issues
- Docs: simple-chat-widget.netlify.app/docs
Made with β€οΈ | Compatible with n8n β’ CDN Ready β’ Production Ready