An intelligent real-time chatbot built with RiveScript, React, Express, and Socket.io
This project is a Real-Time Chat Bot built using RiveScript. RiveScript is a simple programming language designed for creating AI-based applications. You can easily add new responses to make the chatbot smarter and more interactive.
- 💬 Intelligent Responses: Powered by RiveScript with the ability to learn and add new responses
- ⚡ Real-Time Communication: Built with Socket.io, no page refresh required
- 🎨 Modern UI: Built with React.js
- 🖥️ Powerful Server: Powered by Express.js
- 📦 Lightweight: Small footprint with optimized performance
Follow these steps to get the project running on your local machine.
- Node.js (version 12.22.12 or higher)
- npm (usually installed with Node.js)
- OS: Windows, Linux, or macOS
- Clone the repository
git clone https://github.com/ParsaXpython/Chat-Bot.git cd Chat-Bot - Install dependencies
npm install
- Run in development mode
npm start
The application will be available at http://localhost:3000
4. Run in production mode
bash npm run build node app.js
Chat-Bot/
│
├── src/ # Client-side code (React)
│ ├── components/ # React components
| └── public # Static Files
├── brain # RiveScript knowledge files
├── snapshots/ # Project images
├── .gitignore
├── app.js # Main server file (Express)
├── package.json
└── README.md
Note: The exact structure may evolve as the project grows.
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- ✨ Add new responses to RiveScript knowledge base
- 🎨 Improve UI/UX design
- 🌐 Add multi-language support
- 📱 Optimize for mobile devices
This project is licensed under the MIT License. See the LICENSE file for more information.
ParsaXpython
- GitHub: @ParsaXpython
