This application empowers users to gain insightful analysis of any website using an AI model (Mistral). It extracts key information about the product or service offered, including the problem it solves, the solution provided, target audience, and potential use cases. Users can then interact with an AI chatbot to delve deeper into the analysis or ask further questions about the website's content.
Demo Screen Recording: Watchdog-AI Powered Website Analyzer
- Website Analysis: Extracts relevant text from a specified website URL.
- AI-Powered Insights: Leverages the Mistral AI model to analyze the website text and generate a comprehensive summary focusing on key product/service aspects.
- Interactive Chatbot: Enables users to engage in a conversation with an AI chatbot to explore the analysis results in more detail or ask questions.
- User Authentication (Firebase): Ensures secure access and user management through Firebase authentication, supporting both email/password and Google sign-in.
- Frontend: React
- Backend: Node.js, Express.js, Puppeteer, Axios, Cheerio
- AI Model: Mistral
- Authentication: Firebase
Prerequisites:
- Node.js and npm (or yarn)
- Firebase project with authentication enabled
- Mistral API key
Backend Setup:
- Clone this repository.
- Navigate to the
backend
directory:cd backend
- Install dependencies:
npm install
- Create a
.env
file in thebackend
directory and add your Mistral API key:
MISTRAL_API_KEY=your_mistral_api_key
- Run the server:
npm start
Frontend Setup:
- Navigate to the
frontend
directory:cd frontend
- Install dependencies:
npm install
- Update
firebase.js
with your Firebase configuration details:
REACT_APP_FIREBASE_API_KEY=
REACT_APP_FIREBASE_AUTH_DOMAIN=
REACT_APP_FIREBASE_PROJECT_ID=
REACT_APP_FIREBASE_STORAGE_BUCKET=
REACT_APP_FIREBASE_MESSAGING_SENDER_ID=
REACT_APP_FIREBASE_APP_ID=
- Start the development server:
npm start
- Open the application in your browser.
- If required, log in or sign up using your email/password or Google account.
- Enter the website URL you want to analyze.
- Click "Analyze."
- Once the website text is fetched, a chatbot window will appear.
- Interact with the chatbot to ask questions about the website or the analysis results.
Contributions are encouraged! Feel free to fork the repository, make improvements, and submit pull requests.
This project is licensed under the MIT License.