Matthias
Explore posts from serversRust GUI app: embedded deno runtime and custom JSX/TSX compiler
Hi! I am building a Rust GUI and I want to use embedded Deno to build a plugin system. I want to use something like either:
- https://www.npmjs.com/package/react-reconciler
- https://github.com/solidjs/solid/blob/main/packages/solid/universal/README.md
But maybe there is a more Deno native way of achieving this? As I understand Deno has builtin JSX/TSX support, so maybe I can use it directly?
PS: I am not planning on using the Deno rust crates directly and instead go through https://github.com/rscarson/rustyscript as it takes care of a lot of boilerplate.
2 replies
UBUniversal Blue
•Created by Matthias on 12/1/2023 in #🛟bazzite-help
Correct way of adding boot/shutdown & suspend/resume hooks?
I am about to install Bazzite on my HTPC. Before I dive in, I want to figure out how to add boot/shutdown & suspend/resume hooks. On my current arch installation I just put some custom .service files into
/etc/systemd/system
, but since this is my first immutable filesystem, I am not sure what the correct way to achieve this would be. I just need to execute a script (changing the input on my AVR) when the system starts/stops.
Cheers!7 replies