pngsource
sciter-js-sdk
pngsource | sciter-js-sdk | |
---|---|---|
7 | 43 | |
105 | 1,632 | |
- | - | |
0.0 | 9.3 | |
almost 2 years ago | about 2 years ago | |
HTML | Pawn | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
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.
pngsource
-
From Datalog to SVG
This is really neat. Reminiscent of how drawio.com can embed the source inside exported PNGs (see also https://github.com/Fusion/pngsource)
I would love to see this approach extended to add some animation too.
- Wails: Build beautiful cross-platform applications using Go
-
Sciter, the 5 MB Electron alternative, has switched to JavaScript
I see, in this thread, talks about what Sciter does and does not offer.
It's not the only alternative to Electron, but it might be one that offers predictable and repeatable results.
I released a small open source project on HN last week (https://github.com/Fusion/pngsource) and I wrote its backend logic in Go. I built the frontend using Tailwind (https://tailwindcss.com) and DaisyUI (https://daisyui.com) and, using Go compiler flags, I can release the app using both WebView (github.com/webview/webview) (which, yes, does require the host OS' collaboration) and Wails (wails.app) (which also does.)
On Linux/AMD64, the binary's size is 3.7M when building for WebView, and 6.8M when targeting Wails.
The way the app works is I drag/drop files to the UI, magic happens, and I use github.com/ncruces/zenity to prompt the user for a save location.
I cross-compile the apps using xgo (https://github.com/karalabe/xgo)
It's been working pretty well on Linux, Windows, MacOS. I think WebView's approach of limiting the feature set is working well as it feels more "native" than Wails (better refreshes and resize operations for instance)
However, I already have a few tickets reporting that, for instance, the app is displayed as a blank window in some environments. And it's hard to debug remotely, obviously. So, this is where Sciter may be a better option.
- pngsource: Embed Embed source code in png files
- Embed source code in png files
- Show HN: Embed your source code in PNG files
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) {
What are some alternatives?
quickjspp - Port of QuickJS Javascript Engine.
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
kroki - Creates diagrams from textual descriptions!
chromium - The official GitHub mirror of the Chromium source
vue-native-core - Vue Native is a framework to build cross platform native mobile apps using JavaScript
react-native-web - Cross-platform React UI packages
svelte-nodegui - Build performant, native and cross-platform desktop applications with native Svelte + powerful CSS-like styling.π
sciter - Sciter: the Embeddable HTML/CSS/JS engine for modern UI development
leaflet-geoman - ππΊοΈ The most powerful leaflet plugin for drawing and editing geometry layers
revery - :zap: Native, high-performance, cross-platform desktop apps - built with Reason!
remarkable - Markdown parser, done right. Commonmark support, extensions, syntax plugins, high speed - all in one. Gulp and metalsmith plugins available. Used by Facebook, Docusaurus and many others! Use https://github.com/breakdance/breakdance for HTML-to-markdown conversion. Use https://github.com/jonschlinkert/markdown-toc to generate a table of contents.
sciter-sdk - Sciter is an embeddable HTML/CSS/scripting engine