This app was deprecated in 2022, in favor of maintaining the p5.serialserver available at https://github.com/p5-serial/p5.serialserver.
This repository is part of the p5-serial project, created in 2015 at New York University's Interactive Telecommunications Program by Shawn van Every, Jen Kagan, and Tom Igoe. For more info please visit the repository at https://github.com/p5-serial/p5.serial.github.io/ GUI (Electron) application for use with the p5.serialport library.
Runs and controls p5.serialserver (no need to install and run it separately)
Download a release here: releases
Install dependencies
npm install
Rebuild serialport library (more on this here)
rm -rf node_modules/serialport/build/*
node_modules/.bin/electron-rebuild -w serialport -f
npm install electron-packager
# for Mac OSX X64 either:
electron-packager ./ p5.serialcontrol --arch=x64 --platform=darwin --overwrite
# or
npm run package-mac-x64
# for or Mac OSX ARM either:
electron-packager ./ p5.serialcontrol --arch=arm64 --platform=darwin --overwrite
# or
npm run package-mac-arm64
Install dependencies
npm install
Rebuild serialport library
cd p5.serialcontrol/node_modules/p5.serialserver/node_modules/serialport
HOME=~/.electron-gyp node-gyp rebuild --target=1.7.8 --arch=x64 --dist-url=https://atom.io/download/atom-shell
Note: target
is the Electron version and should match version
below
npm install electron-packager
electron-packager ./ p5.serialcontrol --version=1.7.8
ORnpm run package-win