Skip to content

A lightweight AI chatbot built for seamless interaction and easy customization. Powered by natural language processing and designed for extensibility.

Notifications You must be signed in to change notification settings

widgetwalker/ai_chat_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Chat Bot

A simple desktop AI chatbot interface built with Electron, HTML, and JavaScript.

Features

  • Clean and modern chat UI
  • Sends user messages to an AI API and displays responses
  • Responsive and easy-to-use desktop app powered by Electron

Installation

  1. Clone or download the repository
    git clone <repository-url>
    cd <repository-folder>

  2. Install dependencies
    npm install

Usage

Start the Electron app by running:
npm start

This will launch the desktop window where you can interact with the AI chatbot.

Project Structure

  • index.html: Main HTML file with chat UI and JavaScript logic
  • style.css: Stylesheet for layout and appearance
  • main.js: Electron main process script
  • package.json: Project metadata, scripts, and dependencies
  • preload.js: Optional preload script for secure API exposure
  • robo.png: Icon image used in the interface

Configuration

  • Uses a third-party AI API to generate responses
  • API key is stored in index.html as the API_KEY constant
  • To use your own key or backend, update API_KEY and the API URL
  • Ensure your key has proper permissions and quota

Development

  • Built with Electron for desktop experience
  • Customize UI via index.html and style.css
  • JavaScript logic is embedded in index.html

Troubleshooting

  • Ensure Node.js and npm are installed
  • Verify your API key and endpoint
  • Check the console for errors and debug as needed

License

This project is open source under the MIT License.


Let me know if you'd like to add badges, screenshots, or links to documentation!

About

A lightweight AI chatbot built for seamless interaction and easy customization. Powered by natural language processing and designed for extensibility.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published