Code Monkey home page Code Monkey logo

lighthouse-audit's Introduction

Lighthouse-audit Release

Maintainer: Abderrahmane Mouzoune

TABLE OF CONTENTS

Overview

Perform Lighthouse audits on websites using this simple Node.js project.

This project utilizes Lighthouse to perform audits on websites and generate insightful reports. The audit results include metrics related to performance, accessibility, best practices, SEO, and Progressive Web App (PWA) standards.

Preview audit

Prerequisites

Installation

  1. Clone the repository :
git clone https://github.com/AbderrahmaneMouzoune/lighthouse-audit
cd lighthouse-audit
  1. Install dependencies :
npm install

Configuration

To choose all the website and url to audit you need to change the siteToAudit constant on src/config.ts, respect the architecture to have no problem

type WebSite = {
  name: string
  url: string
  pages: Page[]
}

type Page = {
  url: string
  name: string
}

Usage

Run the audit

Execute the following command to run the Lighthouse audit :

npm run start

This command will generate an Excel file with the audit results in the build folder -> To change the build folder you need to change export const folderForGeneratedResults = 'audit_results' on src/config.ts by the folder you want -> To change the excel file name you need to change export const filenameToGenerate = join(folderForGeneratedResults,'lighthouse_results.xlsx') on src/config.ts by the file name you want

Contribute

We welcome contributions for bug reports, issues, feature requests, feature implementations, and pull requests. Feel free to file a new issue ๐Ÿ˜ƒ

For a complete guide on contributing to the plugin, see the Contribution Guidelines.

Versions

  • If you want to see each release you can see that here

Acknowledgments

  • Lighthouse is an open-source, automated tool designed to improve web page quality.
  • ExcelJS is a powerful library used for reading, manipulating, and writing Excel files.
  • Puppeteer is a Node library that offers a high-level API for controlling headless browsers.

Copyright

License MIT.

Thanks to :

lighthouse-audit's People

Contributors

abderrahmanemouzoune avatar teczer avatar

Stargazers

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