Skip to content

tnxa/mosa

Repository files navigation

mosa

mosa is a tool you can use to send t-code to a compatible device over serial using the web serial API.

In Google Chrome, you should be able to connect a device which accepts t-code and then use web controls to send commands in a visual/intuitive way.

Running / Developing Locally

To get started running locally, you will need nodejs and npm installed.

As you have nodejs and npm installed, open the project directory with your favorite shell.

Run npm install (in the same directory as package.json).

Once installation completes:

  • to run the app in development mode, run npm start and open http://localhost:8000 to view it in the browser. The page will reload if you make edits. You will also see any lint errors in the console.

  • to build the app for production, run npm build. This will build the app for production to the build folder, making some optimizations for the best performance. You can then run npm run serve to serve the production build locally.

Context

This started out as an experiment in React/Gatsby using web serial to interface with OSR firmware and hardware.

This is accomplished by producing t-code to be used by the OSR3, OSR2, and now SR6 as developed by Tempest, as well as any other devices which accept t-code.

Made possible by the Web Serial API. Bootstrapped with Gatsby & the material-ui-starter.