π Onpage SEO Analysis Tool is a powerful web tool built using Streamlit and Python to analyze and report SEO elements of any webpage. It helps you evaluate key SEO metrics, such as title tags, meta descriptions, H1/H2 tags, images without ALT text, and more. Additionally, the tool integrates Lighthouse to provide performance, SEO, and mobile-friendliness scores.
- URL Analysis: Checks if the provided URL is accessible.
- SEO Element Analysis: Retrieves and analyzes important SEO elements like:
- Title Tag
- Meta Description
- H1 Tag
- H2 Tags
- Images without ALT Text
- Robots.txt availability
- Sitemap.xml availability
- Lighthouse Scores: Provides performance, SEO, and mobile-friendliness scores using Lighthouse.
- Download SEO Report: Allows you to download a detailed SEO analysis report in a
.txt
file.
To run this project locally, you'll need:
- Python 3.x
- Streamlit: To run the UI.
- Lighthouse: To generate the performance and SEO scores.
-
Clone this repository:
git clone https://github.com/your-username/seo-analysis-tool.git cd seo-analysis-tool
-
Install the required Python dependencies:
pip install -r requirements.txt
-
Install Lighthouse (if you don't have it installed):
Follow the installation guide here: https://developers.google.com/web/tools/lighthouse
After installing the dependencies, you can run the app locally using the following command:
streamlit run app.py