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

    • Download The Inclusion Equation: Leveraging Data & AI (worth $21) for free by Steven Parker Claim your complimentary eBook worth $21 for free, before the offer ends on June 24. The Inclusion Equation is a comprehensive, one-of-a-kind guide to merging DEI and employee wellbeing concepts with data analytics and AI. In this book, renowned thought leader and professional keynote speaker Dr. Serena Huang explains exactly how to quantify the effectiveness of new talent strategies by connecting them to a firm ROI estimate, enabling readers to approach and win the favor of higher-ups in any organization with the same effectiveness that marketing and financial departments do. This book is written in a style that is appealing and accessible to all readers regardless of technical background, but with enough depth to provide real insight and strategies. Dr. Serena H. Huang distills her 10 years of Fortune 500 people analytics leadership experience into tools and framework you can leverage to measure and improve DEI and wellbeing in your workplace. Some of the topics explored in this book include: Attract and retain top talent, including Gen Z and Millennials, with tailored DEI and wellbeing strategies Quantifying not only a talent strategy's perceived initial effect on an organization, but also its improvement and expansion over time Turning DEI and wellbeing from illusive corporate concepts to quantifiable metrics Harness the power of AI to create synchronized DEI and wellbeing strategies that maximize ROI Getting serious attention from your CEO and CFO by quantifying HR initiatives Using data storytelling to demonstrate the business impact of DEI and wellbeing Preparing for the future by understanding the role of AI in creating an inclusive and healthy workplace The Inclusion Equation is a complete guide for DEI and wellbeing, covering getting started in measurement to using storytelling to influence leadership. This is the contemporary playbook for any organization intending to substantially improve their diversity, equity, inclusion, and employee wellbeing by leveraging data & AI. This book is also perfect for any data analytics professionals who want to understand how to apply analytics to issues that keep their CEOs up at night. Whether you are a data expert or data novice, as long as you are serious about improving DEI and wellbeing, this book is for you. This free to download offer expires June 24. How to get it Please ensure you read the terms and conditions to claim this offer. Complete and verifiable information is required in order to receive this free offer. If you have previously made use of these free offers, you will not need to re-register. While supplies last! Download The Inclusion Equation: Leveraging Data & AI (worth $21) for free Offered by Wiley, view other free resources The below offers are also available for free in exchange for your (work) email: AI and Innovation ($21 Value) FREE – Expires 6/11 Unruly: Fighting Back when Politics, AI, and Law Upend [...] ($18 Value) FREE - Expires 6/17 SQL Essentials For Dummies ($10 Value) FREE – Expires 6/17 Continuous Testing, Quality, Security, and Feedback ($27.99 Value) FREE – Expires 6/18 VideoProc Converter AI v7.5 for FREE (worth $78.90) – Expires 6/18 Macxvideo AI ($39.95 Value) Free for a Limited Time – Expires 6/22 Excel Quick and Easy ($12 Value) FREE – Expires 6/24 The Inclusion Equation: Leveraging Data & AI ($21 Value) FREE – Expires 6/24 Microsoft 365 Copilot At Work ($60 Value) FREE – Expires 6/25 Natural Language Processing with Python ($39.99 Value) FREE – Expires 6/25 How to Engage Buyers and Drive Growth in the Age of AI ($22.95 Value) FREE – Expires 7/1 Using Artificial Intelligence to Save the World ($30.00 Value) FREE – Expires 7/1 Essential: How Distributed Teams, Generative AI, [...] ($18.00 Value) FREE – Expires 7/2 The Chief AI Officer's Handbook: Master AI leadership with strategies to innovate, overcome challenges, and drive business growth ($9.99 Value) FREE for a Limited Time – Expires 7/2 The Ultimate Linux Newbie Guide – Featured Free content Python Notes for Professionals – Featured Free content Learn Linux in 5 Days – Featured Free content Quick Reference Guide for Cybersecurity – Featured Free content We post these because we earn commission on each lead so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. Other ways to support Neowin The above deal not doing it for you, but still want to help? Check out the links below. Check out our partner software in the Neowin Store Buy a T-shirt at Neowin's Threadsquad Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: An account at Neowin Deals is required to participate in any deals powered by our affiliate, StackCommerce. For a full description of StackCommerce's privacy guidelines, go here. Neowin benefits from shared revenue of each sale made through the branded deals site.
    • It's basically been a rite of passage to blow up your first WSUS server by trying to sync the drivers database. Anyone who has done this has certainly seen the tens of thousands of driver packages and asked "what is all of this literal garbage?". Seems Microsoft is asking the same question. I do hope they won't take it too far and start removing drivers needed to run legacy systems, but there's definitely a happy medium to be found between "only the latest versions for actively supported hardware" and "every version of every driver ever for all time".
    • Stable..... No, he isn't..
    • Of course the sales are bad. Who even asked for a thinner phone with way less battery? Lightness? It's still a giant brick, it's just a thinner giant brick. It makes no sense at all. Making folding phones thinner, now that does make sense. Because when folded, the thinner it is unfolded, the more usable and pocketable it is when folded. You already expect worse battery at expense of actually being more pocketable. Galaxy Flip, when folded is half the size of S Ultra models and about as thick. That does make a big difference when fitting it in a pocket. But the phone that's as big as Ultra, making it thinner, you don't really solve anything, it's still a giant slab that barely fits into a pocket. All the "Mini" phones made way more sense than this thin crap. Especially now that it's literally impossible to find a phone smaller than 6.5". My dad only needs phone for calls and SMS and he doesn't want to go with smartphone because they are all so massive. Especially cheaper ones. Like, he'd be fine with Galaxy A06 for all he cares in terms of hardware, but it only comes in giant 6.7" format. It's useless. Or is he suppose to find a 800€ old gen iPhone Mini or Zenfone? He doesn't even need those stupid specs and such stupid price. And then you see old people fumbling around with giant smartphones and they don't even need 3/4 of features on them.
  • Recent Achievements

    • First Post
      emptyother earned a badge
      First Post
    • Week One Done
      Crunchy6 earned a badge
      Week One Done
    • One Month Later
      KynanSEIT earned a badge
      One Month Later
    • One Month Later
      gowtham07 earned a badge
      One Month Later
    • Collaborator
      lethalman went up a rank
      Collaborator
  • Popular Contributors

    1. 1
      +primortal
      664
    2. 2
      ATLien_0
      270
    3. 3
      Michael Scrip
      218
    4. 4
      Steven P.
      161
    5. 5
      +FloatingFatMan
      157
  • Tell a friend

    Love Neowin? Tell a friend!