Recommended Posts

  On 05/07/2023 at 01:17, xfx said:

There are hundreds of GUI libraries and frameworks for JS apps.
This is one of them: https://docs.nodegui.org/

Expand  

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

  • Like 2
  On 04/07/2023 at 21:01, Dick Montage said:

I've written a "vague clock" (it's nearly quarter to ten in the evening)

Expand  

I know this isn't the point of the discussion, but can I ask...

Br00TCn.gif

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? :laugh: 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!

  On 05/07/2023 at 07:56, Nick H. said:

I know this isn't the point of the discussion, but can I ask...

Br00TCn.gif

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? :laugh: 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!  

Expand  

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.

  On 05/07/2023 at 23:21, xfx said:

Maybe you could share the repo if you decide to make it open-source?

Expand  

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 :)

 

  • Like 1
  • 2 weeks later...
  • 5 months later...
  On 06/07/2023 at 14:59, adrynalyne said:

You are evil.  Pure evil.

Expand  

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.

  • 1 year later...
  On 04/07/2023 at 21:01, Dick Montage said:

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

Expand  

You have a few options to turn your "vague clock" into a desktop widget:

Electron.js – Package your JavaScript into a cross-platform desktop app.

Rainmeter (Windows) – Convert your script into a Rainmeter skin using Lua.

Plasmoid (Linux KDE) – Create a KDE Plasma widget using QML + JavaScript.

MacOS SwiftBar – Use a simple script in SwiftBar to display it in the menu bar.

HTA (Windows) – Use an HTML Application (.hta) to run it as a lightweight window.

  • 2 months later...

lectron (Windows/Mac/Linux) – Best option. Wraps your HTML/JS as a native app.

Windows Gadgets – Deprecated, only for older Windows.

macOS (WebView/Scriptable) – Use Swift or Scriptable to run JS widgets.

Rainmeter (Windows) – Supports widgets, can use JS with plugins.

PWA (Progressive Web App) – Installable web app, feels like a desktop app.

Browser Extension – Show it in new tabs or as a sidebar widget.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • "Asus points out the security aspect, that you will lose support and thus there will be no security updates leaving your system exposed" Both Microsoft (for 3 years) and 0patch (for 5 years) offer ongoing security patches for a fee. https://learn.microsoft.com/en...w/extended-security-updates https://blog.0patch.com/2024/0...windows-10-with-0patch.html
    • I won't switch to W11 at home until I absolutely have to. This deadline depends on how long third-party software will be supported on W10 (such as browsers and image viewers and so on). I estimate that migration will be necessary around 2028, when the ESU program expires, but we'll see.
    • "not so intelligent after all" may be the best summary of this whole mess. And yeah, those opt-outs are practically hidden like Easter eggs, if you're lucky enough to even find them.
    • Asus joins Microsoft, AMD, Dell, urges you to "prepare for mandatory Windows 11 upgrade" by Sayan Sen Sometime earlier this year, Microsoft quietly updated the minimum CPU requirements guidance for Windows 11 24H2. Neowin noticed the change this past week as the support document now classifies a family of CPUs from each vendor, AMD, Intel, and Qualcomm, such that users find it easier to make out which processors are capable of being Copilot+ PC certified. Major OEM and hardware manufacturer Asus recently published a couple of blog posts regarding the upcoming Windows 10 end of support. The company says that it is now time to "prepare for the mandatory Windows 11 upgrade" by taking "essential steps." It writes: "With a mandatory Windows update on the horizon, there are essential steps you should take to ensure a smooth upgrade experience. Proper preparation will not only safeguard your files and system but will also allow you to take full advantage of the innovative features Windows 11 has to offer..." If you are on Windows 10 and are wondering why should you even bother upgrading, Asus points out the security aspect, that you will lose support and thus there will be no security updates, leaving your system exposed. The firm is certainly right, there are real dangers out there. For example, the Lumma infostealer impacted over 394,000 PCs worldwide (download this Defender definition for new ISO installations). Even official Windows files and folders can be vulnerable as we saw with the inetpub folder. However, Asus wants you to get excited about Copilot, the new AI assistant that Microsoft has been busy pushing everywhere on its apps and services. Echoing the same sentiment as Microsoft, and others like Dell and AMD, Asus says Copilot is what sets Windows 11 apart from 10 as it writes: "What makes Windows 11 different? One word: Copilot. ... If you’ve ever wished your computer could just “do the thing” you’re trying to describe — Copilot is your new best friend." Asus also says that you will be making the "smart move" by switching to Windows 11 now from 10. In the blog post under a subheading titled "It’s Not Just an Upgrade, It’s a Smart Move." The Taiwanese firm writes, "Upgrading to Windows 11 isn’t just about staying current ― it’s also about staying safe, working smarter, and getting more out of your computer every day." As such, the company also published a guide on how to proceed with the upgrade. Do you agree with Asus? When are you upgrading? Let us know below!
  • Recent Achievements

    • Posting Machine
      Fiza Ali earned a badge
      Posting Machine
    • One Year In
      WaynesWorld earned a badge
      One Year In
    • First Post
      chriskinney317 earned a badge
      First Post
    • Week One Done
      Nullun earned a badge
      Week One Done
    • First Post
      sultangris earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      181
    2. 2
      snowy owl
      130
    3. 3
      ATLien_0
      127
    4. 4
      Xenon
      118
    5. 5
      +Edouard
      91
  • Tell a friend

    Love Neowin? Tell a friend!