pngsource
v8-jsi
pngsource | v8-jsi | |
---|---|---|
7 | 1 | |
105 | 149 | |
- | 0.7% | |
0.0 | 6.1 | |
almost 2 years ago | 7 days ago | |
HTML | C++ | |
GNU General Public License v3.0 or later | 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.
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
v8-jsi
-
Sciter, the 5 MB Electron alternative, has switched to JavaScript
It's possible though not straight-forward. React Native Windows seems to have a version of V8 wrapped with JSI (for use in React Native) though by the looks of the project, it appears to be only used internally and not really meant for stand-along consumption: https://github.com/microsoft/v8-jsi
What are some alternatives?
quickjspp - Port of QuickJS Javascript Engine.
kroki - Creates diagrams from textual descriptions!
quickjs - Public repository of the QuickJS Javascript Engine.
xgo - Go CGO cross compiler
Tailwind CSS - A utility-first CSS framework for rapid UI development.