React + TypeScript + Vite app for configuring and playing the SquidBox hardware over the Arduino Cloud Agent.
# install
npm install
# start dev server (default http://localhost:5173/)
npm run dev
# lint (optional)
npm run lint
# build + preview (optional)
npm run build && npm run preview-
Install the Arduino Cloud Agent: https://cloud.arduino.cc/download-agent/
-
Add localhost origins to the agent config:
- macOS:
$HOME/Library/Application Support/ArduinoCreateAgent/config.ini - Linux:
$XDG_CONFIG_HOME/ArduinoCreateAgent/config.inior$HOME/.config/ArduinoCreateAgent/config.ini - Windows:
%AppData%\ArduinoCreateAgent\config.ini
Replace contents with:
gc = std hostname = unknown-hostname regex = usb|acm|com v = true appName = CreateAgent/Stable updateUrl = https://downloads.arduino.cc/ origins = http://localhost:8000, https://localhost:8000, http://localhost:5173, https://localhost:5173, http://localhost:4173, https://localhost:4173, https://eamirorg.github.io crashreport = true autostartMacOS = true - macOS:
-
Restart the Arduino Cloud Agent so the changes apply.
-
Plug in the Squidbox via USB.
-
Open the app (
npm run dev) and reload until the port shows under “Connected Devices.” If prompted by Chrome, allow serial access.
If the agent isn’t trusted yet, visit https://localhost:8991/info once to allow the local certificate, then reload the app.
- Build and depoly:
npm run build && npm run deploy - Rebuild locally to confirm:
npm run build && npm run preview - Redeploy to GH Pages:
npm run deploy(publishesdisttogh-pages)
Navigate to the CONTRIBUTING.md file for guidelines on how to contribute to the project.
Music, audio, and other creative works produced using Squidbox are not considered Contributions and remain the sole property of their creators.