Publishing Desktop Apps via Html5 Canvas
Posted2 months agoActive2 months ago
Techstory
calmneutral
Debate
20/100
Html5Desktop ApplicationsCross-Platform Development
Key topics
Html5
Desktop Applications
Cross-Platform Development
what do you think about the strategy of publishing apps via html5. I mean desktop apps trough html5 rendering.
Let me know.
The author asks for opinions on publishing desktop apps using HTML5 canvas, sparking a discussion on the pros and cons of this approach.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
19m
Peak period
3
3-4h
Avg / period
2
Key moments
- 01Story posted
Oct 23, 2025 at 9:18 AM EDT
2 months ago
Step 01 - 02First comment
Oct 23, 2025 at 9:37 AM EDT
19m after posting
Step 02 - 03Peak activity
3 comments in 3-4h
Hottest window of the conversation
Step 03 - 04Latest activity
Oct 23, 2025 at 1:10 PM EDT
2 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45681473Type: storyLast synced: 11/17/2025, 9:12:22 AM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
It all depends on how powerful computers you want to support, if you assume your users will allow WebGPU use and your application needs 2D or 3D graphics (or more niche, GPGPU compute) imho Godot engine is actually pretty good to develop any web app (not just games) since it can compile its shader language down to WebGPU. Again, you'll probably need to write most of the code in C++ and compile to WebAssembly, which is pretty doable with Godot. If you just need graphics and very light CPU processing, GDScript will be enough. Once you do this you still need to wrap the webpage as a desktop app, I think Chrome browser has tools that can help with that.
The other obvious way is to use something like Electron and writing most of the code in Javascript. This will probably get you far if you need something simple but the memory and CPU usage will be much higher than necessary. Since the app ends up being so bloated, I personally don't like things approach, but apps like VSCode exist.
Certainly less bloat this way than Electron, for those with a taste for JS/TS.
Basically all the same faults and troubles of Towards a Modern Web Stack apply. https://news.ycombinator.com/item?id=34612696
It's also notable that your software is grossly immoral if it does not have accessibility. You could write your desktop app that renders into an HTML5 canvas to also expose a second render of the app that is the accessibility tree (or less kindly use some of the new APIs to grammatically create accessibility, but this is far worse an option). But this greatly increases the effort of the work, and it's effort you don't need to spend if you use actual HTML with semantic tags and some ARIA sprinkled in.