Skip to content

zerefwayne/chromeos-diagnostics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ChromeOS Diagnostics

This Progressive-Web-App along with the Chrome extension allows user to monitor telemetric data about the system.

✔️ Current Progress: All 3 milestones completed.

The code after each milestone can be found in the branch with name milestone-#.

Demo

screencapture-localhost-8080-2021-03-19-12_51_55

Untitled_.Mar.19.2021.1_47.PM.mp4

How to use?

⚠️ To run this app, please follow Build from source instructions as the extension hasn't been published on Chrome Store yet.

Installing the PWA

From Website

The PWA can be accessed on https://diagchrome.netlify.app. To install it on your system, look out for install icon or pop up given by Google Chrome Browser.

Build From Source

  1. Clone/Download this repository on your local system.
  2. Make sure you have NodeJS 12+ on your system.
  3. Install yarn via npm install -g yarn.
  4. cd into diagnostics-app directory and run the command yarn. This will install all necessary dependencies for your project.
  5. To run the app, type yarn serve and it will be served on http://localhost:8080/

Installing the Chrome Extension

Download from Chrome Store

The extension is yet to be published.

Build from Source

Prerequisite: Build the website from source instead of netlify link.

  1. Clone this repository/download as a ZIP on your local system.
  2. Head over to chrome://extensions and enable Developer Mode on the top right menu.
  3. Now click on Load Unpacked and select the diagnostics-extension directory. This will load and start the extension on the device.
  4. ADDITIONAL STEP: Installing an extension locally changes the extension ID by which the PWA identifies it. In the chrome://extensions dashboard, locate the ID of ChromeOS Diagnostics extension that was just installed. Headover to diagnostics-app directory and locate diagnostics-app/.env. Replace the extensionID with the new ID to make it work. Make sure to restart the frontend server after changing this.

Tech Stack

  1. VueJS framework for building the PWA.
  2. Chrome Extension for monitoring telemetry data.