Convert apps/machine from Tauri to Electron #18

Closed
opened 2026-06-13 22:02:47 +00:00 by padreug · 0 comments
Owner

Migrated from aiolabs/lamassu-next#18 — opened by @padreug on 2026-01-27.\n\n## Summary

Replace Tauri with Electron for the ATM kiosk application to enable direct integration with the TypeScript HAL drivers.

Background

See ADR-001 for the full decision rationale. Key points:

  • Electron allows @lamassu/hal to run directly in the main process
  • Single debugging environment (Chrome DevTools)
  • Tauri's benefits (small binary, low RAM) don't apply to dedicated kiosk hardware

Tasks

  • Remove Tauri dependencies (src-tauri/, Cargo.toml references)
  • Add Electron as dependency
  • Create Electron main process entry point
  • Configure Electron to load Vue app
  • Set up IPC for HAL communication (main ↔ renderer)
  • Configure kiosk mode (fullscreen, no frame)
  • Update build scripts

Acceptance Criteria

  • pnpm dev launches Electron app with Vue UI
  • pnpm build produces distributable for Linux x86_64
  • App runs fullscreen in kiosk mode

References

  • apps/machine/ - Current Tauri app
  • packages/hal/ - TypeScript HAL drivers
> _Migrated from [aiolabs/lamassu-next#18](https://git.atitlan.io/aiolabs/lamassu-next/issues/18) — opened by @padreug on 2026-01-27._\n\n## Summary Replace Tauri with Electron for the ATM kiosk application to enable direct integration with the TypeScript HAL drivers. ## Background See [ADR-001](../docs/adr/001-hal-architecture.md) for the full decision rationale. Key points: - Electron allows `@lamassu/hal` to run directly in the main process - Single debugging environment (Chrome DevTools) - Tauri's benefits (small binary, low RAM) don't apply to dedicated kiosk hardware ## Tasks - [ ] Remove Tauri dependencies (`src-tauri/`, Cargo.toml references) - [ ] Add Electron as dependency - [ ] Create Electron main process entry point - [ ] Configure Electron to load Vue app - [ ] Set up IPC for HAL communication (main ↔ renderer) - [ ] Configure kiosk mode (fullscreen, no frame) - [ ] Update build scripts ## Acceptance Criteria - `pnpm dev` launches Electron app with Vue UI - `pnpm build` produces distributable for Linux x86_64 - App runs fullscreen in kiosk mode ## References - `apps/machine/` - Current Tauri app - `packages/hal/` - TypeScript HAL drivers
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aiolabs/bitspire#18
No description provided.