Skip to content

openppg/openppg-config-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenPPG Config

Configure your OpenPPG controller via WebUSB

Deploy Hugo site to Pages Hyas CI

Notes:

  • Currently only works in Google Chrome and related chromium variants (like Brave browser and latest Microsoft Edge) https://caniuse.com/webusb
  • Also tested and working in Chrome on Android
  • In Windows you may have to enable the new USB backed by navigating to chrome://flags/#new-usb-backend

Requirements

OpenPPG config uses Doks and a number of other npm packages. Installing npm is pretty simple. Download and install Node.js (it includes npm) for your platform. We recommend installing the most recent LTS release.

Local development

1. Install npm packages

npm install

2. Start local development server

To interact with WebUSB devices you must use https. Hugo now provides https server out of the box. You can access the site at https://localhost:1313.

npm run start

3. (Not required) Build files

Github actions now auto-builds and deploys code when merged/commited into the master branch

When ready to publish to a static hosting site

npm run build