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. 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.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
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: Use any web browser as GUI, with Zig in the back end and HTML5 in the front end | news.ycombinator.com | 2024-01-01It's not confidence-inspiring that https://webui.me throws security warnings. I'd want folks to make applications "that make applications" to take security a little more seriously.
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
- 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?
- What is the Demoscene? An obscure but influential art form
-
A note from our sponsor - InfluxDB
www.influxdata.com | 26 Apr 2024
Index
What are some of the best open-source JavaScript projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | webview | 12,005 |
2 | Cockpit | 10,300 |
3 | jerryscript | 6,824 |
4 | GameNetworkingResources | 6,758 |
5 | GmSSL | 4,739 |
6 | guacamole-server | 2,889 |
7 | Weechat | 2,827 |
8 | txiki.js | 2,331 |
9 | webui | 2,028 |
10 | mjs | 1,815 |
11 | Themis | 1,808 |
12 | elk | 1,586 |
13 | core | 1,492 |
14 | ts2c | 1,220 |
15 | soundsync | 773 |
16 | DOjS | 664 |
17 | halfix | 623 |
18 | kaluma | 598 |
19 | wasm-git | 584 |
20 | thirdroom | 566 |
21 | quickjs-rs | 544 |
22 | scale | 460 |
23 | wac | 465 |
Sponsored