Skip to content

Darshan-raja/Smart-Chat-Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– Smart Chat Assistant:

A sleek, responsive, and voice-enabled web-based chat assistant powered by a large language model (LLM) API. This project integrates modern UI design, dark mode toggle, voice input, local storage for chat history, and real-time typing indicators β€” delivering an intuitive chat experience straight from your browser.

πŸš€ Features:

  • βœ… Real-time chat with LLM API
  • 🎀 Voice input using Web Speech API
  • πŸ’¬ Chat history stored in localStorage
  • πŸŒ— Dark mode toggle
  • 🧹 One-click chat clear button
  • πŸ• Timestamps for messages
  • πŸ”Š Speech output for bot replies

πŸ“ Project Structure:

πŸ“¦ Smart-Chat-Assistant/ β”œβ”€β”€ index.html # Main HTML page β”œβ”€β”€ style.css # All UI styling (light & dark mode) β”œβ”€β”€ main.js # App logic, API integration, voice I/O, theme, storage β”œβ”€β”€ api.txt # Legacy bot code (now integrated) └── settings.json # VS Code live server settings

πŸ“Έ Demo

  • Type or speak a message and receive intelligent responses in real time.
  • ✨ Enjoy the UI with toggled themes and smooth animations.

πŸ” API Info:

This project uses the following LLM API: https://backend.buildpicoapps.com/aero/run/llm-api?pk=YOUR_API_KEY You must obtain your own API key and replace it in main.js.

βš™οΈ Voice Recognition Support:

Voice input works on most modern browsers (Chrome recommended). Ensure microphone permissions are allowed.

πŸ“¦ Dependencies:

πŸ“Œ Notes:

  • Chat history is stored locally in the browser and can be cleared using the delete button.
  • Type /clear to wipe messages from memory.
  • No backend or database required β€” 100% frontend.

Created by devangjain999 β€” Feel free to fork and enhance!

Releases

No releases published

Packages

No packages published