SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 C JavaScript Projects
-
webview
Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
webui
Use any web browser as GUI, with your preferred language in the backend and HTML5 in the frontend, all in a lightweight portable lib.
-
Themis
Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms.
-
wasm-git
GIT for nodejs and the browser using https://libgit2.org compiled to WebAssembly with https://emscripten.org
-
scale
A framework for building high-performance plugin systems into any application, powered by WebAssembly.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Why Bloat Is Still Software's Biggest Vulnerability | news.ycombinator.com | 2024-02-09You can create the webview using each platforms native GUI toolkit and setup JS communication yourself OR you can use a lightweight library that does it for [1] (search its README for language "bindings").
[1] https://github.com/webview/webview
Project mention: Cockpit: Web-based graphical interface for servers | news.ycombinator.com | 2023-10-15For others curious, https://github.com/cockpit-project/cockpit shows that it's written in several languages, with C at the #1 place.
Project mention: A list of JavaScript engines, runtimes, interpreters | /r/learnjavascript | 2023-12-10JerryScript
Project mention: A Curated List of Game Network Programming Resources | news.ycombinator.com | 2023-05-22
WeeChat[0] with Bitlbee[1] supports a metric assload of services, albeit by pretending they're IRC (which does work - I spent years in weechat/irssi with bitlbee talking to various people on disparate services.)
Or if you're just after Telegram/WhatsApp, nchat[2] is ok (I can vouch for the Telegram half only.)
[0] https://weechat.org
[1] https://wiki.bitlbee.org
[2] https://github.com/d99kris/nchat
Project mention: A list of JavaScript engines, runtimes, interpreters | /r/learnjavascript | 2023-12-10txiki.js
Project mention: Caniwebview.com – Like Caniuse but for Webviews | news.ycombinator.com | 2024-05-07what is the webview here, is it the webview librariers on each platform instead of the browser?
I tried to do some UIs with OS specific webviews and it's kind of lacking, so I ended up with EletronJS in the end which contains a full blown browser, but it's resource hungry.
https://github.com/webui-dev/webui is another light weight option, it is a thin layer to provide you with a cross platform UI, and invokes browser to render everything, it's small yet has all the features of a true browser.
Project mention: A list of JavaScript engines, runtimes, interpreters | /r/learnjavascript | 2023-12-10mjs
Project mention: A list of JavaScript engines, runtimes, interpreters | /r/learnjavascript | 2023-12-10elk
An alternative is metacall. The example in the readme is about calling Python from Javascript, but it also works with other languages, like Ruby, C#, Java, and other languages
https://github.com/metacall/core
List of supported languages here https://github.com/metacall/core/blob/develop/docs/README.md...
In the future, maybe webidl (or extensions of it) will bring interoperability between languages too. At the moment there is https://mozilla.github.io/uniffi-rs/ for interoperability between Rust and a number of languages (basically the ones mozilla needs: Swift, Kotlin, Javascript)
Project mention: Microsoft DeviceScript – TypeScript for Tiny IoT Devices | news.ycombinator.com | 2023-06-08These are far from perfect, but still something:
https://github.com/andrei-markeev/ts2c/
https://github.com/evanw/thinscript
If you aim for 32 bit microcontrollers then you can go with assemblyscript to wasm and then with wasm to C transpiller
I did not know of a Java port, but this reminds me there is some kind of JavaScript-based environment for DOS that I see linked now and then (think it is bundled with FreeDOS?). Probably this one:
https://github.com/SuperIlu/DOjS
"DOjS is a JavaScript programming environment for systems running MS-DOS, FreeDOS or any DOS based Windows (like 95, 98, ME). It features an integrated editor, graphics & sound output, mouse/keyboard/joystick input and more"
Never tried it.
This is exactly one of the use-cases for the Scale Framework[1]. (Disclaimer: I work on this project)
You can absolutely take a library from one language and run it in another. In a sense, you could kind of see this ability as drastically reducing the need for rewriting sdks, middlewares, etc. across languages, as you could just reuse code from one language across many others. We played around with some fun ideas here, like taking a Rust regex library and using it in a Golang program via a scale function plugin (compiled to Wasm), to the effect of the performance being ~4x faster than native code that uses Go's regex library.
[1] https://github.com/loopholelabs/scale
C JavaScript related posts
-
Online Cryptography Course by Dan Boneh
-
Biowasm – Run C/C++ genomics tools in the browser
-
Djgpp
-
Building a Personal Internet from Markdown Files
-
A list of JavaScript engines, runtimes, interpreters
-
New QuickJS Release
-
Ask HN: What are some unpopular technologies you wish people knew more about?
-
A note from our sponsor - SaaSHub
www.saashub.com | 18 May 2024
Index
What are some of the best open-source JavaScript projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | webview | 12,063 |
2 | Cockpit | 10,400 |
3 | jerryscript | 6,835 |
4 | GameNetworkingResources | 6,852 |
5 | GmSSL | 4,797 |
6 | guacamole-server | 2,913 |
7 | Weechat | 2,840 |
8 | txiki.js | 2,354 |
9 | webui | 2,080 |
10 | mjs | 1,820 |
11 | Themis | 1,813 |
12 | elk | 1,598 |
13 | core | 1,497 |
14 | ts2c | 1,220 |
15 | soundsync | 773 |
16 | DOjS | 667 |
17 | halfix | 623 |
18 | kaluma | 606 |
19 | wasm-git | 591 |
20 | thirdroom | 575 |
21 | quickjs-rs | 550 |
22 | wac | 465 |
23 | scale | 464 |
Sponsored