Skip to content

mhawarey/ai-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Speaking AI Chatbot

License: MIT

A lightweight desktop AI chatbot with built-in text-to-speech, built with Electron and JavaScript.

Features

  • Conversational responses — keyword-matched reply dictionary covering greetings, jokes, AI questions, and more
  • Text-to-speech — browser Speech Synthesis API; toggle ON/OFF at runtime
  • Adjustable speech rate — 0.5× to 2.0× via slider
  • Clean UI — chat bubbles, auto-scroll, Enter-to-send

Screenshots

(Add screenshots here)

Tech Stack

Layer Technology
Desktop shell Electron 28
UI HTML / CSS / Vanilla JS
Speech Web Speech API (SpeechSynthesisUtterance)
Build electron-builder

Run

Prerequisites

Node.js ≥ 18
npm install

Start

npm start

Build (Windows)

npm run build:win

Project Structure

AIChatbot/
├── main.js          # Electron main process
├── preload.js       # Context bridge
├── package.json
└── app/
    ├── index.html   # UI layout
    ├── renderer.js  # Chat logic + speech
    ├── style.css    # Styling
    └── icon.ico

Author

Dr. Mosab Hawarey

PhD, Geodetic & Photogrammetric Engineering (ITU) | MSc, Geomatics (Purdue) | MBA (Wales) | BSc, MSc (METU)

License

MIT License

About

Speaking AI Chatbot: A lightweight desktop AI chatbot with built-in text-to-speech, built with Electron and JavaScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors