Giter Site home page Giter Site logo

wa-kaktus-edition's Introduction

Website Analyzer

๐ŸŒต Kaktus edition ๐ŸŒต

Give the program a website URL, and it will give you 6 analyzes including Whois, Responsive, GTmetrix, Backlinks, AMP and SSL test.


Working with project is very simple.

But it requires a little configuration to run properly.


โš™ Configure the project

First you should make venv for this project. So in the main root of project you should type this command in your Terminal or Console:

python -m venv venv

Now you should activate your venv. So in the main root of project you should type this command in your Terminal or Console:

In Linux/macOS:

source venv/bin/activate

In Windows:

venv/Scripts/activate.ps1

After activating venv you should install the requirements.txt packages. So type this command in your Terminal or Console:

pip install -r requirements.txt

โš  IMPORTANT โš 

If you are using Microsoft Windows OS and want to Analyze RTL (right-to-left) website you need to install Libraqm Library on your OS.

๐Ÿ”ต Get APIs

To get Whois and Gtmetrix analysis, you need to get the API of these websites and then save it in the .env file.

  • Signup to Whois Website and get API Key from settings in your panel
  • Signup to GTmetrix Website and keep the email and password you registered with on the website

After getting Whois API and GTmetrix Email and Password in the Main root of the project you should create environment variable (.env) file.

Your .env file should be like this:

WHOIS_API=YOUR_WHOIS_API_KEY
EMAIL=YOUR_GTMETRIX_REGISTRED_EMAIL
PASSWORD=YOUR_GTMETRIX_REGISTRED_PASSWORD

Then save .env file.

๐Ÿ”ต Webdriver and Saved path

You should config Webdriver and folder Saved path in main.py file. Webdriver and saved path variable are in __init__ method of Analyze class.

Chrome Webdriver link. You need to download the web driver version according to your Chrome browser version.

โœ… Project configuration completed successfully. ๐ŸŽ‰


๐Ÿ Run and Use Project

After configuring the project correctly, now you need to run the project.

In the Main root of project you should type this command in your Terminal or Console:

python run.py

After running the program, you must enter the URL address of the website you want to analyze and then give the name of the folder (Optional) where you want the analyses to be saved.

โœ… Then wait until the analysis is completed. After all 6 analyzes are completed, it will ask you if you want to optimize the photos or not, if your answer is y, it will start optimizing the photos and then save the photos.


Licensed By Coilaco

wa-kaktus-edition's People

Contributors

aminalih47 avatar sadra-tmh avatar zenmaxe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.