TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

WelsonJS: Build a Windows app on the Windows built-in JavaScript engine

48 pointsby hcho39 months ago

6 comments

cdaringe9 months ago
I saw a partial example, but not clear instructions on how to bootstrap a project. Did I miss it in the README? Or should it be obvious to me if I have some XYZ experience?
评论 #41325383 未加载
rvnx9 months ago
Quite amazing solution. From the .hta file you can see it was inspired by VBScript (whose most popular software is ILOVEYOU I guess).<p>It looks like the ultimate hack, but why not ? It&#x27;s very creative and the intention is good as well: TypeScript&#x2F;JavaScript is a very popular language. Though C#.NET is great as well.<p>It could make sense in the very long-term that Microsoft themselves explore this possibility.<p>Ultimately &quot;TypeScript.NET or JavaScript.NET&quot;
评论 #41321183 未加载
评论 #41342218 未加载
评论 #41320875 未加载
withinrafael9 months ago
Before anyone gets the wild idea to use this, beware HTAs, VBScript, etc. are slated for removal from Windows around 2027.
mappu9 months ago
HTAs are tied to MSHTML.dll (the old IE renderer) and WSH&#x2F;CScript is tied to the old, slow IE javascript engine, right?<p>I would expect this to have very limited compatibility, and even with the transpiling, very limited performance. Or is it possible for this to somehow use Chakra, or Edge&#x27;s V8 engine?
评论 #41325704 未加载
h335ian9 months ago
Despite being down on all the extras, I wanna reiterate - I do think this is a cool project and I dig that HTAs are still around.
h335ian9 months ago
Been doing this since 1999. The only thing novel I see here is the transpilers - but you know… you don’t need that. You can build HTAs with native JavaScript, CSS and HTML - and with a little VBScript mixin, directly work with Windows libs. Back in ‘99 and early 00’s I was delivering “thin-client” control panels &amp; management tools for server farms, sensitive accounting data, among a variety of other things. It was (and likely still is) a great way to provide a web interface as a desktop app for scenarios where exposing the management interface to the open web is undesirable.<p>Nifty project, but IMHO the world is better off using native JavaScript without all the BS that comes with TypeScript, etc. JavaScript is so powerful and amazing, it’s a bummer to hamstring your app by using TypeScript and classic OO inheritance models that preclude the beauty and dynamics of JavaScript as a functional, prototypal language.
评论 #41320823 未加载
评论 #41322456 未加载
评论 #41322037 未加载
评论 #41322903 未加载
评论 #41322607 未加载
评论 #41320776 未加载
评论 #41323462 未加载
评论 #41322464 未加载
评论 #41320680 未加载
评论 #41325073 未加载