Build from source
The app is written in TypeScript with Electron, React, Vite and Fabric.js. You need Node.js 22 or later and Git.
Get the code and start the app
git clone https://github.com/JakeSmithQUT/OwnYourNiimbot.git
cd OwnYourNiimbot
npm install
npm run dev
npm run dev starts the app with live reload.
Commands
| Command | Result |
|---|---|
npm run dev | Starts the app with live reload |
npm test | Runs the tests, including full print jobs against a simulated printer |
npm run typecheck | Checks the TypeScript types |
npm run build | Builds the app into dist/ |
npm start | Opens the built app |
npm run dist:win, dist:mac, dist:linux | Builds the installers into release/ |
Project layout
| Folder | Contents |
|---|---|
src/main/ | Electron main process: device pickers, permissions, file storage and updates |
src/printer/ | Printer protocol, Bluetooth and serial connections, image encoding and the model table |
src/renderer/ | React interface, label editor and template library |
src/main/mcp/ | Local MCP server for AI assistants |
tests/ | Vitest unit tests |
More information
- docs/development.md: project layout, translations, templates, tests and the release procedure.
- docs/protocol.md: the NIIMBOT printer protocol.
- docs/supported-printers.md: the model table.
Contribute
Report bugs and ask for features in GitHub issues. Print results from printer models that are not tested yet help the most.