EcoTrust is a website security checker that analyzes URLs for potential threats using pattern recognition, SSL certificate validation, and AI-powered feedback. Built with React, Flask, and Google Generative AI, it provides actionable insights and recommendations to help users stay safe online.
- Real-time SSL certificate inspection using Flask backend
- AI-generated security feedback powered by Google's Gemini
- Heuristic detection of phishing patterns and risky domains
- Risk score classification: Low, Medium, High
- Detailed threat report and security recommendations
- Modern UI built with Tailwind CSS, React, and Vite
- Frontend: React, Vite, Tailwind CSS, Lucide Icons
- Backend: Flask, Flask-CORS, Gunicorn
- AI: Google Generative AI (Gemini)
- Hosting: Render (Backend), GitHub Pages or Vercel (Frontend)
git clone https://github.com/your-username/ecotrust.git
cd ecotrustEcoTrust - Website Security Checker
EcoTrust is a URL threat analysis tool that checks website links for potential phishing, malicious patterns, SSL issues, and other security threats. It uses a React-based frontend and a Flask + AI-powered backend.
-
Navigate to the frontend directory: cd frontend
-
Install frontend dependencies: npm install
-
Run the development server: npm run dev
The app will start on: http://localhost:5173/
-
Navigate to the backend directory: cd backend
-
Install required Python packages: pip install -r requirements.txt
-
Run the Flask backend: python Democode.py
OR use Gunicorn for production: gunicorn Democode:app
The API will be available at: http://localhost:5000/api/check-ssl
Backend can be deployed on Render:
- Use "gunicorn Democode:app" as the start command
Frontend can be deployed on:
- Vercel, Netlify, or GitHub Pages
/frontend - React app (Vite) /backend - Flask API server (Democode.py) /requirements.txt - Python dependencies for backend