moddable
Espruino
Our great sponsors
moddable | Espruino | |
---|---|---|
12 | 9 | |
1,263 | 2,698 | |
1.7% | 0.7% | |
9.8 | 9.6 | |
15 days ago | 1 day ago | |
C | C | |
- | 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.
moddable
-
Is there a safe and robust interpreter/scripting language? Or should I write it myself?
Your project might be a good candidate for the Moddable SDK: https://github.com/Moddable-OpenSource/moddable In particular the "mods" feature that allows sandboxed user scripts.
- Moddable Embedded JavaScript SDK 3.5.0
-
The Story of Mel, a Real Programmer
> meaning that to deploy those apps requires embedding an entire web browser into every app
It doesn't require it, that's just what they choose, and it has little to do with the language. (Besides, if you actually observe them—and ignore what they tell you about liking JS—then it's clear that most of them hate their preferred language.) Languages and the bindings that a particular runtime exposes are orthogonal. You can have GTK apps written in JS, for example, or you can write a program in JS that compiles into a binary that runs on a microcontroller[2].
This is much more of a problem with the culture of Electron and the adjacent NPM ecosystem than it is anything else. Conflating the source of these problems is a great way to tank any would-be activism meant to solve them.
1. <https://en.wikipedia.org/wiki/GNOME_Shell>
2. <https://github.com/Moddable-OpenSource/moddable/blob/public/...>
- Moddable SDK: Embedded ECMAscript engine supports RasPi, littlefs file system
-
Microvium Is Small
I experimented with Moddable some time ago and also contributed a module for Linux. It's written in C and I found the code quite readable, and the entire architecture good too. It's almost ES6 complete too.
-
Pikascript: An ultra-lightweight Python engine that can run in 4Kb of RAM
There's JavaScript/ECMAScript via Moddable's XS engine: https://github.com/Moddable-OpenSource/moddable
"A typical microcontroller used with the Moddable SDK has about 45 KB of free memory, 1 MB of Flash ROM, and runs at 80 MHz. The Moddable SDK uses many different techniques, both at build time and at run time, to work efficiently on these devices."
- Moddable JavaScript SDK for Raspberry Pi Pico
-
Why is MicroPython a thing
You think that’s bad. How about JavaScript for embedded https://github.com/Moddable-OpenSource/moddable
- Running TypeScript on ESP8266/ESP32 Devices
- Why doesn’t V8 fit on my microcontroller?
Espruino
-
A list of JavaScript engines, runtimes, interpreters
Espruino
- STARFIELD:Sooooooo the Founder's watch is just Bangle 1 Open Source?
- Firmware changelog?
-
Gadgetbridge is an Android application for your smart watch and other devices
The Bangle.js 2 is an excellent device. As a former Pebble user, this is the first device that I consider an adequate replacement for my Pebble (which by now has a diminished battery life and corroded charging contacts).
Here is my impression of the Bangle.js 2:
- Battery: Lasts about 3 weeks on a charge, constantly connected to my phone, when the watch is used to display notifications and alarms. This is a major advantage over Apple Watches and Android/Wear OS watches.
- Display and buttons: The 1.3" 8-color transflective display is comparable to the Pebble Time series' 64-color transflective display. The display is always on, and the backlight activation is highly configurable. The Bangle.js 2 has a touchscreen and 1 button, while Pebble watches have no touchscreen and 3 buttons.
- Software: Runs on the completely free and open source Espruino JavaScript interpreter,[1] which was my main motivation for purchasing this device. There are currently 336 apps in the web-based Bangle.js app loader (app store), including utilites and clocks (watch faces), all of which are FOSS. The bootloader and firmware can be updated directly from the app loader. On Android, there is a distribution of Gadgetbridge (built from the same code base as Gadgetbridge) with internet access enabled that integrates the Bangle.js app loader into Gadgetbridge, which makes it very easy to use the watch.[2]
- Build: Built on the same device body as the SMA Q3.[3] The casing is plastic, and the watch is compatible with standard 20 mm watch straps. The IP67 water/dust resistance makes the watch usable for sports.
Overall, I highly recommend the Pebble.js 2 watch, which is the best FOSS-focused watch I have found to date.
[1] Espruino JavaScript interpreter: https://github.com/espruino/Espruino
[2] Bangle.js Gadgetbridge (distribution): https://www.espruino.com/Gadgetbridge
[3] SMA Q3: https://www.smawatch.com/details?product_id=130
-
Does anyone have PineTime and Bangle.js 2? What are all their differences?
This is the firmware repo for the BangleJS : https://github.com/espruino/Espruino
-
Running TypeScript on ESP8266/ESP32 Devices
This makes use of a JS interpreter made for embedded devices: Espruino
More details in the Espruino repo: https://github.com/espruino/Espruino
-
Can the PineTime Watch stream music without a phone? (Onboard music storage)
There are subsets of JS for embedded device e.g. Espruino https://github.com/espruino/Espruino for BangleJS https://shop.espruino.com/banglejs also with 4MB or JerryScript https://jerryscript.net
-
[AskJS] Do you use JavaScript on Microcontrollers? Which engine / interpreter?
- Espruino (2.2k stars)
What are some alternatives?
quickjs-esp32 - QuickJS port for ESP32
MicroPython - MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
circuitpython - CircuitPython - a Python implementation for teaching coding with microcontrollers
jerryscript - Ultra-lightweight JavaScript engine for the Internet of Things.
phpdesktop - Develop desktop GUI applications using PHP, HTML5, JavaScript and SQLite
lowjs - A port of Node.JS with far lower system requirements. Community version for POSIX systems such as Linux, uClinux or Mac OS X.
PikaPython - An ultra-lightweight Python interpreter that runs with only 4KB of RAM, zero dependencies. It is ready to use out of the box without any configuration required and easy to extend with C. Similar project: MicroPython, JerryScript.
microvium - A compact, embeddable scripting engine for applications and microcontrollers for executing programs written in a subset of the JavaScript language.
Duktape - Duktape - embeddable Javascript engine with a focus on portability and compact footprint
embedded-hal - A Hardware Abstraction Layer (HAL) for embedded systems
ESP-TypeScript - Transpile TypeScript to Espruino flavor of JavaScript for ESP8266/ESP32 microcontrollers template project. Writing safe, maintainable, and testable code is the projects goal.