Chatty
lightweight jQuery conversational form
Install / Use
/learn @WiFuchs/ChattyREADME
Chatty
Chatty is a jQuery add-on that creates a chatbot-like experience from a json question format. Live Demo
Setup
Add the style and javascript files to your html markup. All source files from releases are freely available on jsdelivr
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/WiFuchs/chatty@v1.1/chat-style.css">
<script src="https://cdn.jsdelivr.net/gh/WiFuchs/chatty@v1.1/chatModule.js" type="text/javascript"></script>
Usage
var tags = [
{
type: "input",
tag: "text",
"chat-msg": "Hello, World! What is your name?",
name: "name",
placeholder: "Snazzy McChatbot"
},
{
type: "msg",
"chat-msg": "Nice to meet you, {{name}}! Welcome to Chatty"
}
];
$(document).ready(function () {
Chat.start($('#chat-context'), tags);
});
Dependencies
Chatty relies on the following:
- Velocity.js
- jQuery
- FontAwesome (only for submit arrow - could override in stylesheet to use any other library or icon)
Documentation
Full documentation lives in the repo wiki. Check it out!
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
