Skip to content

This project is a Flask-based chatbot app with a user-friendly interface. Users interact via text input or voice, receiving screen-displayed and spoken responses. It supports user authentication with login and registration. The design is modern and responsive, ensuring a seamless user experience.

License

Notifications You must be signed in to change notification settings

RelangiTarunKumar333/Chatbot_WebSite

Repository files navigation

Chat with BotFriend

A web application where users can chat with a bot that can fetch images and videos based on user queries.

Features

  • User registration and login
  • Chat interface with the bot
  • Fetch images from Unsplash based on chat messages
  • Fetch videos from YouTube based on chat messages
  • Text-to-speech for bot responses
  • Voice input for user messages

Setup

Prerequisites

  • Python 3.8+
  • Virtual environment (recommended)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/chat-with-botfriend.git
    cd chat-with-botfriend
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  3. Install the required packages:

    pip install -r requirements.txt
  4. Set up your environment variables:

    Create a .env1 file in the project root with the following content:

    GROQ_API_KEY=your_groq_api_key
    UNSPLASH_ACCESS_KEY=your_unsplash_access_key
    YOUTUBE_API_KEY=your_youtube_api_key
    SECRET_KEY=your_secret_key
    
  5. Initialize the database:

    flask db init
    flask db migrate -m "Initial migration."
    flask db upgrade
  6. Run the application:

    flask run

    The application will be available at http://127.0.0.1:5000.

Usage

  • Register a new user or login with an existing account.
  • Start chatting with the bot.
  • The bot will respond with text, and can also provide images and videos based on your queries.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This project is a Flask-based chatbot app with a user-friendly interface. Users interact via text input or voice, receiving screen-displayed and spoken responses. It supports user authentication with login and registration. The design is modern and responsive, ensuring a seamless user experience.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published