sciter-js-sdk
quickjspp
Our great sponsors
sciter-js-sdk | quickjspp | |
---|---|---|
43 | 6 | |
1,632 | 269 | |
- | - | |
9.3 | 0.0 | |
about 2 years ago | about 2 years ago | |
Pawn | C | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sciter-js-sdk
-
GameScripter.JS — write games in JS, compile to tiny executable
How tiny is the output? What is the API? (I couldn't find any documentation. I thought maybe it's in the Help menu in the app itself but all I found was this https://i.imgur.com/6puOMIe.png - On that note, what level of JS is supported? As far as I can tell it uses this https://github.com/c-smile/sciter-js-sdk which is based on Fabrice Bellard's QuickJS ) Is there sound?
-
What technologies to use for a desktop app
JavaScript & Electron Sciter!
-
Ultralight VS sciter-js-sdk - a user suggested alternative
2 projects | 4 Apr 2022
- Ask HN: Why aren't there any real alternatives to Electron?
-
Zig Build System Internals
Having normal procedural language for build automation is of course useful. That's for those 10% of cases when "standard" build DSL (make,CMake,etc.) simply do not have facilities.
But the rest of 90% tasks should have compact (easily readable) definitions.
I personally found that Premake5 has quite good balance for these tasks.
Premake files are plain .lua files and due to Lua syntax they are easily readable. And if needed you can call from them procedures defined in again Lua.
So typical project (multiplatform) definition looks pretty readable, for example one project from Sciter SDK:
https://github.com/c-smile/sciter-js-sdk/blob/main/premake5....
-
Alternatives for realtime offline-first JavaScript applications
More details.
-
App Localization in Flutter
That's why in Sciter I've extended JSX with translation meta instruction @:
-
Tauri – Electron alternative written in Rust
Note Tauri is full fledged Client/Server with WebView (client) is running in separate process with RPC between UI process and Rust code (Server).
For the comparison:
Standalone Sciter (scapp.exe, https://github.com/c-smile/sciter-js-sdk/tree/main/bin) takes ~8 MB of RAM (with minimal Cairo and GDI backends).
That's 20 times less than even Tauri.
WebView based solutions are not suitable for applets - small portable desktop applications.
-
Dioxus v0.1 - a new Rust GUI toolkit for Web, Desktop, Mobile, SSR, TUI that emphasizes developer experience [WebView-based rendering]
scapp.exe ( Standalone sciter engine ) takes 45 Mb showing its default "about" document.
-
Sciter, the 5 MB Electron alternative, has switched to JavaScript
It does support , with limited support but still.
See: https://github.com/c-smile/sciter-js-sdk/tree/main/samples/c...
Sciter also supports immediate mode painting on any element (like in DearIMGUI):
element.paintBackground = function(gfx) {
quickjspp
-
Alternatives for realtime offline-first JavaScript applications
I think that my Storage implementation that is built-in into JavaScript in QuickJS and Sciter is still unbeatable as an integrated JS Storage solution:
-
Sciter, the 5 MB Electron alternative, has switched to JavaScript
"custom version of React he publishes..."
It is not a a custom version of React but rather extension of DOM model by just these:
1. Native JSX support. In Sciter QuickJS was extended to support JSX literals out of the box: https://github.com/c-smile/quickjspp/blob/master/quickjs-jsx...
2. Native methods:
- Element.patch(...JSX expression...) - native VDOM reconciliation implementation.
-
Txiki.js: Tiny JavaScript runtime built with QuickJS and libuv
In fact 1.8 Mb is quite a lot for QuickJS.
Whole Sciter engine that includes as QuickJS as HTML/CSS engines is about 6 Mb.
My port of QuickJS [1] that also includes persistent storage (think of MongoDB built into JS) is 736 Kb on Windows.
-
Mongita is to MongoDB as SQLite is to SQL
I've added built-in persistence to QuickJS: https://github.com/c-smile/quickjspp/blob/master/storage/doc/introduction.md
-
Show HN: Svelte NodeGUI, a lightweight Electron alternative with native UI
I might go a little offtopic here. Any plans to integrate https://github.com/c-smile/quickjspp. That way you can target mobile platforms too. QT supports mobiles well
As for desktop only this is great. Great work. Many people are commenting on NodeGUI only. They have forgotten to mention how Svelte also contribytes to saving memory footprint and cpu cycles over other frameworks with a much easier way to write apps. Add a small learning curve to that.
-
What's new in ECMAScript 2021
I've added JSX to JS used in Sciter that allowed to have JSX available for Mithril and PReact
What are some alternatives?
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
hermes - A JavaScript engine optimized for running React Native.
chromium - The official GitHub mirror of the Chromium source
jerryscript - Ultra-lightweight JavaScript engine for the Internet of Things.
vue-native-core - Vue Native is a framework to build cross platform native mobile apps using JavaScript
svelte-nodegui - Build performant, native and cross-platform desktop applications with native Svelte + powerful CSS-like styling.🚀
react-native-web - Cross-platform React UI packages
v8-jsi - React Native V8 JSI adapter
just - the only javascript runtime to hit no.1 on techempower :fire:
sciter - Sciter: the Embeddable HTML/CSS/JS engine for modern UI development
mongita - "Mongita is to MongoDB as SQLite is to SQL"