Skip to content

LinkCheckr is a web application for verifying the status of all links on a given webpage.

Notifications You must be signed in to change notification settings

victoriaEssien/linkcheckr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LinkCheckr

LinkCheckr is a web application for verifying the status of all links on a given webpage. It checks for broken or inaccessible links and provides a summary report, making it an essential tool for web developers, SEO specialists, and website administrators.


Screenshot (279)


Why LinkCheckr?

  • Efficient Link Validation: Automatically scans webpages and checks the status of every link.
  • User-Friendly Interface: Clear categorization of working and broken links with easy navigation.
  • Dynamic Content Handling: Uses Selenium to render JavaScript-heavy pages for accurate link extraction.
  • Restricted Domain Awareness: Warns users about domains that block automated link checking.

Features

  • Verifies links dynamically loaded via JavaScript.
  • Provides summaries of total, working, and broken links.
  • Highlights links from restricted domains like LinkedIn or X (formerly Twitter).
  • Offers a clean, responsive interface for URL submission and results display.

Getting Started

Follow these steps to set up and run LinkCheckr on your local machine.


Prerequisites

  1. Frontend:

  2. Backend:


Installation and Setup

  1. Clone the Repository:

    git clone https://github.com/victoriaEssien/linkcheckr.git
    cd linkcheckr
  2. Frontend Setup:

    • Navigate to the frontend directory:
      cd frontend
    • Install dependencies:
      npm install
    • Create an .env file in the frontend directory with your API base URL:
      VITE_API_BASE_URL=http://localhost:5000
    • Start the development server:
      npm run dev
  3. Backend Setup:

    • Navigate to the backend directory:
      cd backend
    • Create a virtual environment:
      python -m venv venv
      source venv/bin/activate  # On Windows: venv\Scripts\activate
    • Install dependencies:
      pip install -r requirements.txt
    • Run the Flask server:
      python app.py

Running the Application

  1. Start the backend server:

    python app.py

    This starts the Flask API server at http://localhost:5000.

  2. Start the frontend:

    npm run dev

    The frontend will be available at http://localhost:5173.

  3. Open the application in your browser and enter a URL to check its links.


Technologies Used

  • Frontend: React, Vite, TailwindCSS, Lucide Icons
  • Backend: Flask, Selenium, BeautifulSoup, Requests
  • Database/State: In-memory processing

Notes

  • Ensure ChromeDriver is compatible with your installed version of Google Chrome.
  • Restricted domains like LinkedIn and Twitter prevent automated link checking.
  • Adjust the wait_time parameter in app.py for sites with slow dynamic content loading.

Contribution

Feel free to fork this repository and make your own modifications. Contributions are welcome! Submit a pull request for review.

About

LinkCheckr is a web application for verifying the status of all links on a given webpage.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published