Live data from Hacker News

ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

github.com

141–150 of 201 posts

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#141

Sciter's author here. What would be strategies in case of Kickstarter campaign will fail? In principle I can publish it for free as it is now but I definitely don't want it to be one more of abandon-ware projects that are open sourcing as the end of life. In general OS development is significantly more costly (for the author) as closed source one - for many reasons. So OS development needs steady stream of funding. S…

Would a Unity/Unreal engine style model work?

What is so special in Unity/Unreal engine style model in this regard?

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#143

Earlier quoted context omitted.

Data taken from : https://www.emergeinteractive.com/insights/detail/does-irres... > And according to the Department of Energy the average US power plant expends 600 grams of carbon dioxide for every kWh generated. That means that transferring 1GB of data produces 3kg of CO2.

Are we to believe that it takes 5kWh to transfer 1GB of data? My media server runs under 500W, so could operate for over 10 hours before hitting this and download terabytes of data. Even other machines needed to facilitate the connection can't explain a 1000x discrepancy. My guess is that the author confused kWh with Wh at some point.

[deleted]

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#144

Earlier quoted context omitted.

My first thought would be patreon or another of those services where people can sponsor monthly.

How realistic is the patreon schema? Say you would need to support 2-3 members team of highly professional software developers... Is patreon realistic for that?

I'm not sure about a team that size, but Patreon seems to be working ok for some solo developers.

See Evan You (Vue.js) for example: https://www.patreon.com/evanyou

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#145

It's not entirely clear, does this support node integration? Like utilizing the file system, node-gyp modules, etc. It looks like this just vanilla javascript and displays html/web pages. Perhaps we can bundle a nodejs program alongside sciter?

>Node.JS runtime (more or less full) is coming;

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#146

Does it use the DOM, or can it use things like D3.js that manipulate the DOM.

It uses DOM, yes. And you should be able to run D3.js in it.

Some browser compatibility layer will be required though.

The plan for Sciter.JS is to provide minimal DOM implementation to keep it lightweight.

For example there is no document.getElementsByTagName method but there is document.querySelectorAll.

So if that exact method is needed anyone can add:

    Document.prototype.getElementsByTagName = function(tag) {
      return  this.querySelectorAll(tag);
    }
That's the idea of Sciter.JS: engine with core functionality that can be configured to run browser and electron applications, just a matter of adequate compatibility layer.

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#147
post #24

What prevents me from even looking at this link is the 4.5MB executable. Come on. Have you tried to download that amount of data using a spotty mobile connection?

Why are you using a spotty mobile connection for?

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#148

It's not entirely clear, does this support node integration? Like utilizing the file system, node-gyp modules, etc. It looks like this just vanilla javascript and displays html/web pages. Perhaps we can bundle a nodejs program alongside sciter?

QuickJS does have file system support, and can embed C. The APIs are different, but a compatibility layer is surely feasible.

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#149
post #89

Earlier quoted context omitted.

Internet Explorer ran on macOS back when it was relevant. It got discontinued after Safari was released. Also, Internet Explorer was ported to various Unices. It just never got ported to a Linux-kernel based OS. If software like this is FOSS, relies on open standards, and is designed architect independent it can be run on virtually anything. Including something which is rising in popularity.

Not only was there IE for Mac -- at the time, it was actually a pretty decent browser . Bit rotted over time, but there was a stretch when your choices were a really janky Netscape and IE for Mac, and the choice as I recall it was pretty easy.

Not only was it pretty decent, it was far more standards compliant than the Windows IE. I don't think they actually shared much code wise. At least developing for IE on Mac felt like adding another browser to test.

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#150

Sciter's author here. What would be strategies in case of Kickstarter campaign will fail? In principle I can publish it for free as it is now but I definitely don't want it to be one more of abandon-ware projects that are open sourcing as the end of life. In general OS development is significantly more costly (for the author) as closed source one - for many reasons. So OS development needs steady stream of funding. S…

My suggestion is that the project should be open source, like Electorn or RN, otherwise will be hard to get adoption.

Revenue streams ideas: 1. Build a deployment tool, where you take care of building the apps for the different OS, basically bridge the gap from code to final binary 2. Offer support / consulting hours "from the experts" 3. Force some kind of ad/watermark/screen on the app where you can see the name of the project and website. In order to remove this you will need a key or build the project using the service I described in point 1.

Happy to chat and discuss in more details. Good luck!

Post reply on HN