SenangWebs Chatbot
Comprehensive Examples & Demos
Recommended Learning Path
Start with Basic Chatbot
Learn keyword matching and basic configuration
Try Chat History
Understand session persistence
Get OpenRouter API Key
Sign up at openrouter.ai
Test AI-Only Mode
Experience AI-powered conversations
Explore Hybrid Mode
Best of both worlds - keywords + AI
Setup Secure Proxy
Prepare for production deployment
Basic Examples
Start here if you're new to SenangWebs Chatbot
AI-Powered Chatbots
OpenRouter API integration for AI-powered conversations
01. AI-Only Mode
Pure AI responses with real-time streaming
Difficulty: Intermediate • API Key Required02. Hybrid Mode
Smart routing: Keywords for common queries, AI for everything else
Difficulty: Intermediate • API Key Required03. Interactive Testing Page
Test different models and parameters in real-time
Difficulty: Advanced • API Key Required04. Secure Proxy Setup 🔐
Production-ready security with server-side proxy
Difficulty: Advanced • For Production UseAdvanced Features
Explore advanced functionality and customization
Proxy Server Implementations
Production-ready server-side proxies for API security
Node.js/Express Proxy
Full-featured proxy with streaming support
proxy-servers/proxy-nodejs.js
PHP Proxy
Simple proxy for shared hosting
proxy-servers/proxy-php.php
Cloudflare Workers
Serverless edge computing solution
proxy-servers/proxy-cloudflare-worker.js
📖 Documentation: See
proxy-servers/README.md for complete setup instructions