Giter Site home page Giter Site logo

seo-tool's Introduction

What is The SEO Tool

The SEO Tool is a command line utility to perform SEO checks on a given webpage. Features include:

  • Generating a Sitemap, ready to upload to Google Search Console
  • Finding Broken Links
  • Validating the Structure of Heading Tags
  • Checking Images have alt tags
  • Ensuring Good Internal Linking
  • Performing Keyword Densitity and Readability Checks
  • Validating the Meta Title and Description
  • Checking Redirects
  • Ensure Links are Secure
  • Testing the Speed of the Webpage
  • Reporting Mobile Friendliness
  • And much more!

seotool

How to Run

To run this app, you need java 17 installed, and Gradle 7.2. You will also need to create a .env file according to the .env.example in this repository. The Google API key is optional, however, you must specify a selenium web driver url.

Docker (Manual Method)

Docker can be used to achieve this: docker run -it --rm -v .:/home/gradle/ -w /home/gradle gradle:7.2-jdk17 gradle run --console=plain

Before running the command above, you will need to start the selenium remote web driver: docker run --rm -d -p 4444:4444 -p 7900:7900 --shm-size="2g" selenium/standalone-firefox:latest

Docker (Compose Method)

To start the app, run docker compose up -d then connect to the java/gradle container with docker exec -it container_name bash.

You can then run the app with gradle run --console=plain or you can build it first with gradle jar and run the file directly with java -jar my_jar_file. Depending on your terminal, the jar file may run better.

Running from the jar file is recommended for production, whereas running through gradle is easiest for development purposes.

How to Build

Create a jar file: docker run --rm -v .:/home/gradle/ -w /home/gradle gradle:7.2-jdk17 gradle jar The file will be stored in app/build/libs/app.jar

Run the jar file with: docker run -it --rm -v .:/home/gradle/ -w /home/gradle gradle:7.2-jdk17 java -jar app/build/libs/app.jar

How Does it Work?

This tool uses Selenium to peform checks on given webpages. Functionalities such as the SSL Certificate check or Sitemap Generation use faster methods where applicable.

seo-tool's People

Contributors

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