This repository contains a Progressive Web App that allows the user to communicate with a locally connected serial device through an interactive terminal. This provides a demonstration of the Serial API.
This API is currently available behind a flag in Chrome 77 and later. Enable
chrome://flags/#enable-experimental-web-platform-features
to get started. The
API design is still in flux so the latest Chrome dev-channel release is
recommended.
This application is served statically and is cached for offline use. No analytics are collected. All communication with the serial device happens locally.
This project is written in TypeScript and uses npm and Webpack to manage dependencies and automate the build process. To get started clone the repository and install dependencies by running,
npm install
To create a production build in the dist
folder run,
npm run build
To start a local development server run,
npm start