Dick Montage Posted July 4, 2023 Share Posted July 4, 2023 Hi I've written a "vague clock" (it's nearly quarter to ten in the evening) in JavaScript, and was wondering if there were some way to present this as a desktop widget? Open to ideas. Thanks coffee-turtle 1 Share Link to comment https://www.neowin.net/forum/topic/1430982-javascript-on-desktop/ Share on other sites More sharing options...
xfx Posted July 5, 2023 Share Posted July 5, 2023 There are hundreds of GUI libraries and frameworks for JS apps. This is one of them: https://docs.nodegui.org/ Link to comment https://www.neowin.net/forum/topic/1430982-javascript-on-desktop/#findComment-598833575 Share on other sites More sharing options...
Dick Montage Posted July 5, 2023 Author Share Posted July 5, 2023 On 05/07/2023 at 02:17, xfx said: There are hundreds of GUI libraries and frameworks for JS apps. This is one of them: https://docs.nodegui.org/ I am coming at it from a different angle: that being a desktop widget framework that will allow me to use JS as a language for scripting. I believe I’ve found a solution; xWidgets edwardkgill 1 Share Link to comment https://www.neowin.net/forum/topic/1430982-javascript-on-desktop/#findComment-598833614 Share on other sites More sharing options...
+Matthew S. Subscriber² Posted July 5, 2023 Subscriber² Share Posted July 5, 2023 could also use electron (🤮). Link to comment https://www.neowin.net/forum/topic/1430982-javascript-on-desktop/#findComment-598833615 Share on other sites More sharing options...
Nick H. Supervisor Posted July 5, 2023 Supervisor Share Posted July 5, 2023 On 04/07/2023 at 22:01, Dick Montage said: I've written a "vague clock" (it's nearly quarter to ten in the evening) I know this isn't the point of the discussion, but can I ask... I love applying Marvin the Android personalities to things ("Not that anyone cares, but it's nearly quarter to ten in the evening" and so on) but surely you either want to know the time or you don't? Or is it like I'm guessing, and just a novelty or part of an exercise? I might take a look at XWidget...there have been a couple of topics about widgets recently that have made me think that while I like a desktop with no icons, I could maybe add some more functionality to it. Thanks for the tip! Link to comment https://www.neowin.net/forum/topic/1430982-javascript-on-desktop/#findComment-598833619 Share on other sites More sharing options...
Dick Montage Posted July 5, 2023 Author Share Posted July 5, 2023 On 05/07/2023 at 08:56, Nick H. said: I know this isn't the point of the discussion, but can I ask... I love applying Marvin the Android personalities to things ("Not that anyone cares, but it's nearly quarter to ten in the evening" and so on) but surely you either want to know the time or you don't? Or is it like I'm guessing, and just a novelty or part of an exercise? I might take a look at XWidget...there have been a couple of topics about widgets recently that have made me think that while I like a desktop with no icons, I could maybe add some more functionality to it. Thanks for the tip! You know... it was one of those "This is an interesting little project" things. I don't care for the exact time (when using this PC) more just "Oh, wow, it's bedtime" sorta thing. Also, I adore "natural speaking" things - conversant interfaces. And then it evolved, and I'm giving it a nice little tickle every now and then to improve the code. Link to comment https://www.neowin.net/forum/topic/1430982-javascript-on-desktop/#findComment-598833784 Share on other sites More sharing options...
xfx Posted July 5, 2023 Share Posted July 5, 2023 Maybe you could share the repo if you decide to make it open-source? coffee-turtle, goretsky and Dick Montage 3 Share Link to comment https://www.neowin.net/forum/topic/1430982-javascript-on-desktop/#findComment-598833790 Share on other sites More sharing options...
Dick Montage Posted July 5, 2023 Author Share Posted July 5, 2023 On 06/07/2023 at 00:21, xfx said: Maybe you could share the repo if you decide to make it open-source? I'd gladly share it, but JavaScript is a language I only use for stupid fun stuff - not used it in a commercial environment in years - am sure there are better examples out there. But like I say, sure - will upload at some point coffee-turtle 1 Share Link to comment https://www.neowin.net/forum/topic/1430982-javascript-on-desktop/#findComment-598833796 Share on other sites More sharing options...
adrynalyne Posted July 6, 2023 Share Posted July 6, 2023 On 05/07/2023 at 00:38, Matthew S. said: could also use electron (🤮). You are evil. Pure evil. +Matthew S. 1 Share Link to comment https://www.neowin.net/forum/topic/1430982-javascript-on-desktop/#findComment-598833944 Share on other sites More sharing options...
allannyholm Posted July 17, 2023 Share Posted July 17, 2023 I would have thought that the Rainmeter software was ideal for this sort of thing; clocks / cpu meters / visualisers ? Xwidget looks super too. Link to comment https://www.neowin.net/forum/topic/1430982-javascript-on-desktop/#findComment-598836342 Share on other sites More sharing options...
Dick Montage Posted December 20, 2023 Author Share Posted December 20, 2023 I really got on with xwidget - it's gui based and a bit fiddly, but it did what I wanted. Link to comment https://www.neowin.net/forum/topic/1430982-javascript-on-desktop/#findComment-598870766 Share on other sites More sharing options...
pmrd Posted December 21, 2023 Share Posted December 21, 2023 (edited) On 06/07/2023 at 10:59, adrynalyne said: You are evil. Pure evil. Electron is great if you know what you're doing and don't need to rely on the node.js/modules part of it. I use it as a very basic shell for my hosted web apps so I can have a clean ui and seamless printing and other simple os integrations that are all built in electron function. It's still always over 100mb though lol, I should probably take a look at WebView2, however I need it to work on Mac and Linux. Link to comment https://www.neowin.net/forum/topic/1430982-javascript-on-desktop/#findComment-598870794 Share on other sites More sharing options...
+Matthew S. Subscriber² Posted December 21, 2023 Subscriber² Share Posted December 21, 2023 On 06/07/2023 at 10:59, adrynalyne said: You are evil. Pure evil. When have I claimed otherwise? adrynalyne 1 Share Link to comment https://www.neowin.net/forum/topic/1430982-javascript-on-desktop/#findComment-598870806 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now