Skip to content

A simple web-based chatbot application built with Flask, HTML, CSS, and JavaScript. It can generate secure passwords, respond to greetings, provide dates, and log unknown messages.

Notifications You must be signed in to change notification settings

mmmmmtttttt/flask-bot-project

Repository files navigation

Project Banner

🤖 Flask Chat Bot Project


📝 Project Description

A simple chatbot project initially built for console interactions, later upgraded into a web-based chatbot interface using the Flask framework along with HTML, CSS, and JavaScript. The chatbot can generate strong passwords, provide current dates, respond to greetings, and offer help instructions.


📂 Project Structure

  • main.py : Main Flask server file.
  • templates/ : Contains all HTML templates.
  • static/ : Contains all CSS and JavaScript files.
  • greetings.txt, about.txt : Bot predefined responses.
  • bot_messages.log, not_recognized.log : Log files for recorded messages and unrecognized inputs.

🛠️ Technologies Used

  • Python 3
  • Flask
  • HTML5
  • CSS3
  • JavaScript (Vanilla)

🚀 How to Run

  1. Make sure you have Python 3 installed.
  2. Install Flask if not already installed:
    pip install flask
  3. Run the server:
    python main.py
  4. Open your browser and visit:
    http://localhost:9000/
    

🎯 Features

  • Send and receive messages in a dynamic web chatbox.
  • Generate secure, random passwords.
  • Log all unknown messages.
  • Interactive and stylish frontend.

📸 Project Screenshots

Screenshot1


📜 License

This project is open-source for learning and personal development purposes.


Project Banner

🤖 مشروع بوت محادثة باستخدام فلاسـك


📝 وصف المشروع

مشروع بسيط لبوت محادثة تم تطويره أولاً للعمل عبر الكونسول، ثم تحويله إلى واجهة ويب تفاعلية باستخدام إطار العمل Flask، بالإضافة إلى استخدام HTML، CSS، و JavaScript. البوت يستطيع توليد كلمات مرور قوية، توفير التاريخ الحالي، الرد على التحيات، وتقديم تعليمات المساعدة.


📂 مكونات المشروع

  • main.py : ملف السيرفر الرئيسي بلغة بايثون.
  • templates/ : مجلد يحتوي على قوالب HTML.
  • static/ : مجلد ملفات CSS و JavaScript.
  • greetings.txt, about.txt : ردود البوت المعرفة مسبقًا.
  • bot_messages.log, not_recognized.log : ملفات تسجيل الرسائل المدخلة والأوامر غير المعروفة.

🛠️ التقنيات المستخدمة

  • بايثون 3
  • فلاسـك
  • HTML5
  • CSS3
  • JavaScript (Vanilla)

🚀 طريقة التشغيل

  1. تأكد من تثبيت Python 3 لديك.
  2. إذا لم تكن مكتبة Flask مثبتة:
    pip install flask
  3. شغّل الخادم:
    python main.py
  4. افتح المتصفح وزر الرابط:
    http://localhost:9000/
    

🎯 مميزات المشروع

  • إرسال واستقبال الرسائل في صندوق محادثة ديناميكي.
  • توليد كلمات مرور قوية وعشوائية.
  • تسجيل جميع الرسائل غير المعروفة.
  • واجهة تفاعلية وجذابة.

📜 رخصة الاستخدام

هذا المشروع مفتوح المصدر لأغراض التعلم والتطوير الشخصي.

© 2025 [mmmmmtttttt] - All rights reserved

About

A simple web-based chatbot application built with Flask, HTML, CSS, and JavaScript. It can generate secure passwords, respond to greetings, provide dates, and log unknown messages.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published