Thomas
Thomas4mo ago

Demo for Desktop App

Does anyone have experience in developing desktop applications? Webiew and WebUi don't seem to be ready yet. Also, the flag "--no-teriminal" does not work.
7 Replies
Deno AI Helper
Deno AI Helper4mo ago
I wasn't able to find the answer to your question in the official Deno documentation. However, I can provide some general advice based on the information you've given. Firstly, it seems there might be a typo in your message. The flag you're referring to should be --no-terminal rather than --no-teriminal. Correcting the spelling may resolve the issue if you were trying to use that flag with a Deno command. Regarding desktop application development, while Deno itself is primarily a runtime for executing JavaScript and TypeScript outside the browser, there are projects and third-party libraries that aim to enable desktop application development with Deno. However, as you mentioned, some of these projects like WebView or WebUI may still be in development or not fully ready for production use. Please note that this advice is not based on the Deno documentation, and I would advise you to double-check the accuracy of the advice given. If you're looking for more comprehensive support or examples, you might want to explore community resources, GitHub repositories, or discussions where developers share their experiences with desktop application development using Deno.
Birk Skyum
Birk Skyum4mo ago
I hope when Deno 2 lands, and the DENO_FUTURE=1 is baked in, that it'll be easier to assess the preliminary Tauri support that does exist at this point. Haven't tried using it much with deno yet though, but some pieces appear to work - https://github.com/denoland/deno/issues/20738
GitHub
Support Tauri · Issue #20738 · denoland/deno
Tauri - Website - GitHub Platform Darwin 23.0.0 arm64 arm Version deno 1.37.1 Repro deno run -A npm:create-tauri-app Select i.e. Typescript, Solid deno run -A npm:tauri dev Expected I.e. npx tauri ...
MaDsEn
MaDsEn4mo ago
Check out https://www.todesktop.com/. Used by companies like Linear.app
loading...
loading...4mo ago
GitHub
Deno Windowing
Deno Windowing Ecosystem. Deno Windowing has 9 repositories available. Follow their code on GitHub.
GitHub
GitHub - littledivy/deno_sdl2: SDL2 module for Deno
SDL2 module for Deno. Contribute to littledivy/deno_sdl2 development by creating an account on GitHub.
RJ Budzyński
RJ Budzyński4mo ago
I tried running a couple of examples from https://github.com/deno-windowing/dwm/blob/main/examples/, but none of them worked. The error was always undefined symbol: glXGetCurrentContext The imgui.ts example gives instead error: Uncaught (in promise) TypeError: Module not found "https://raw.githubusercontent.com/deno-windowing/dimgui/main/imgui/dist/imgui_linux.js". the window.ts example sort of works (doesn't crash, and shows an empty window)
Thomas
ThomasOP4mo ago
That was just a typo on my part. I meant --no-terminal, of course. --no-terminal does not work as expected and there is already an issue.
Deno AI Helper
Deno AI Helper4mo ago
Understood, and thank you for the clarification. If there's already an issue reported for the --no-terminal flag not working as expected, the best course of action would be to follow that issue for updates. The Deno maintainers and contributors are quite active, and issues are often addressed in a timely manner. In the meantime, if the issue is blocking your development, you might want to look for any workarounds suggested in the issue discussion or consider contributing to the discussion by providing additional information that might help resolve the problem. Since the issue is known and tracked, keeping an eye on the progress through the official issue tracker on the Deno repository will be the best way to stay updated on when a fix might be released. If you have any further questions or need assistance with other Deno-related topics, feel free to ask!