Elektrine lite

← Feed

@dtl@8bitorbust.info

2026-02-23 14:51 UTC

@becomethewaifu@tech.lgbt a shim, or something needing to be explicitly enabled would be great. I'm fed up with running chrome in a VM just to flash a device, or talk to some sensors.

Replies (2)

  • @becomethewaifu@tech.lgbt 2026-02-23 14:57

    @dtl@8bitorbust.info I just keep a copy of debian-chromium around and launch it with --temp-profile (which IIRC is a debian wrapper feature, it creates a new profile directory in /tmp before launching) for that stuff. But I'm also annoyed by it, hence the temptation to do the native-shim thing. The idea is to utilize the native-RPC mechanism there to allow extensions to talk to native apps, but have an "app" whose sole purpose is to expose the WebUSB API over that RPC channel. The extension handles all the permission prompts, and the 'app' handles all the device restrictions (no "sensitive" device classes, mainly). The native side could also in theory be implemented in a way that allows its use as a portal by flatpak and friends for accessing specific USB device types via manifest permission, too (as an explicit dbus portal and/or a "libUSB compatible" drop-in shim, like pipewire-pulse)

    Open ##3122873

  • @ravelights@leds.social 2026-03-21 04:06

    @dtl@8bitorbust.info @becomethewaifu@tech.lgbt My goodness, just the sheer convenience WebBluetooth or WebSerial for updating is... you don't have to produce 5 apps for the various operating systems to push a file to your device. It's absolutely brilliant. I really, really wish Firefox supported it. 😭

    Open ##3122877