Skip to content

Link Safety and Credibility analyzer is a web app, where users can check a link whether it's trusted or not.

License

Notifications You must be signed in to change notification settings

pkprajapati7402/Link-Credibility-Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Link Safety and Credibility Analyzer

Overview

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.

Features

  • 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.

Technologies Used

  • 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

Installation

Prerequisites

  • Node.js and npm (for the frontend)
  • Python and pip (for the backend)
  • PostgreSQL/MySQL (for the database)

Clone the Repository

git clone https://github.com/yourusername/link-safety-analyzer.git
cd link-safety-analyzer

Frontend Setup

  1. Navigate to the frontend directory:
    cd frontend
  2. Install dependencies:
    npm install
  3. Start the development server:
    npm start

Backend Setup

  1. Navigate to the backend directory:
    cd ../backend
  2. Create and activate a virtual environment:
    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install dependencies:
    pip install -r requirements.txt
  4. Create a .env file in the backend directory and add your Google Safe Browsing API key:
    GOOGLE_SAFE_BROWSING_API_KEY=your_google_safe_browsing_api_key
    
  5. Run the Flask server:
    flask run

Usage

  1. Start both the frontend and backend servers.
  2. Open the frontend application in your browser (typically at http://localhost:3000).
  3. Enter a URL in the text field and submit.
  4. View the analysis results with a percentage score and color-coded safety status.

Project Structure

link-safety-analyzer/
|-- frontend/
|   |-- public/
|   |   |-- index.html
|   |-- src/
|   |   |-- App.js
|   |   |-- index.js
|   |-- package.json
|-- backend/
|   |-- app.py
|   |-- requirements.txt
|-- .env

License

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

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your changes.

Acknowledgements

Contact

For questions or suggestions, please open an issue or contact the project maintainer at krypto.etox@gmail.com

About

Link Safety and Credibility analyzer is a web app, where users can check a link whether it's trusted or not.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published