The Link Safety and Credibility Analyzer is a web application that allows users to paste URLs sourced from social media or other platforms to automatically check and analyze their safety and credibility. The application evaluates the URL's reputation, checks for potential malware or phishing attempts, and analyzes the content to determine if it is misleading or safe to browse. The results are presented with a percentage score and color-coded clearance (red, yellow, green) indicating the safety level.
- User Input: Paste a URL into a text field.
- Link Analysis: Analyze the URL for:
- Domain reputation
- Presence of malware or phishing attempts
- Content analysis for misleading information
- Data privacy practices
- Results Display: Provides a percentage score and color-coded safety status (red, yellow, green).
- Database: Stores analyzed URLs and their scores for faster future analysis.
- Frontend: React.js, HTML, CSS, JavaScript
- Backend: Flask (Python)
- Database: PostgreSQL/MySQL
- APIs: Google Safe Browsing API, VirusTotal API
- Natural Language Processing (NLP): TextBlob, BeautifulSoup
- Node.js and npm (for the frontend)
- Python and pip (for the backend)
- PostgreSQL/MySQL (for the database)
git clone https://github.com/yourusername/link-safety-analyzer.git
cd link-safety-analyzer
- Navigate to the
frontend
directory:cd frontend
- Install dependencies:
npm install
- Start the development server:
npm start
- Navigate to the
backend
directory:cd ../backend
- Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Create a
.env
file in thebackend
directory and add your Google Safe Browsing API key:GOOGLE_SAFE_BROWSING_API_KEY=your_google_safe_browsing_api_key
- Run the Flask server:
flask run
- Start both the frontend and backend servers.
- Open the frontend application in your browser (typically at
http://localhost:3000
). - Enter a URL in the text field and submit.
- View the analysis results with a percentage score and color-coded safety status.
link-safety-analyzer/
|-- frontend/
| |-- public/
| | |-- index.html
| |-- src/
| | |-- App.js
| | |-- index.js
| |-- package.json
|-- backend/
| |-- app.py
| |-- requirements.txt
|-- .env
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
For questions or suggestions, please open an issue or contact the project maintainer at [email protected]