A Chrome extension to monitor Tenstorrent GitHub runners.
-
Clone the repository
-
Install dependencies:
npm install
-
Replace the GitHub token in
background.js:- Open
background.jsin a text editor - Replace
"ghp_NOTMYREALPAT"with your own GitHub Personal Access Token - Make sure to keep the quotes around your token
- Open
-
Build the extension:
npm run build
This will create bundled files in the
dist/directory. -
Load the extension in Chrome:
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked"
- Select the extension directory
- Open Chrome and go to
npm run build- Build the extension oncenpm run watch- Build and watch for changes (automatically rebuilds when files change)
background.js- Background service workerpopup.js- Popup UI logicpopup.html- Popup UImanifest.json- Extension configurationdist/- Built files (do not edit directly)
- lz-string - For data compression
- esbuild - For bundling JavaScript files
- The
dist/directory is generated during build and should not be committed to version control - Make sure to run
npm run buildafter making changes to JavaScript files