moddable
phpdesktop
moddable | phpdesktop | |
---|---|---|
12 | 12 | |
1,273 | 2,640 | |
1.2% | - | |
9.8 | 4.0 | |
4 days ago | 3 months ago | |
C | C++ | |
- | - |
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.
https://github.com/Moddable-OpenSource/moddable
https://www.moddable.com/
-
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?
phpdesktop
-
NativePHP: A framework for building desktop apps with PHP
I am a bit surprised by the critical tone in the comments here. Phpdesktop [1] is, for example, a very nice application, and the ability of php to just make some simple scripts on the go and have something that works, is wonderful (compared to js where you often have to build etc, the threshold of getting started on a new computer is high). I have several times needed to make simple applications with a database, and php is perfect for that usecase. Making it simpler to share these applications to non-technical users for offline use is nice
[1] https://github.com/cztomczak/phpdesktop
-
NativePHP is Coming...
I’ve been using PHP Desktop for a while for internal tools. https://github.com/cztomczak/phpdesktop
-
Introducing Lute ("Learning Using Texts") - free language-learning software I'm using for Spanish
There's a project to make php apps -- https://github.com/cztomczak/phpdesktop -- but it doesn't have Mac support yet. Alas.
-
Any good resources for developing on windows xp?
Since we're in the webdev subreddit, I suppose you will use a webstack. Here is what I have been using in an institution with a hellish ton of xp computers: PHPDesktop ChromeV47 . PHP is not mandatory, since it basically searches for and index.* file, which can be a html file with a lot of js. Use jquery with ajax calls to make your life easier for API requests and other stuff of old era JS (I dont remember if it supports fetch api and newish QOL changes). You basically develop a web app in a chrome wrapper. Works just fine on oldies.
- Funding for a Mac release is completed
-
How can I save my DB php SQL locally as desktop app
re-write it as a desktop app, you could use php desktop to save time.
-
convert wordpress to windows app with php desktop
PHP Desktop seems to use 7.2.12, which reached end of life on late 2020. I wouldn't put my eggs in that basket.
-
Ask HN: Anybody Using PHPDesktop?
Ever since I found PHP desktop (https://github.com/cztomczak/phpdesktop), I've been having a blast playing around with it. I've created my own "desktop applications" that I use daily. It's quick to build something I need to run locally (on Windows) vs learning/building an actual Windows application. Also I find PHP easier to build MVPs over Javascript (i.e. Electron). I'm curious if anybody else is building anything using PHP desktop? What kind of applications/services did you build or using with it?
-
From a HTML JS PHP Website to an Installable Desktop Application
Go to this repo https://github.com/cztomczak/phpdesktop by Czarek Tomczak, then search for downloads. As I’m working with Windows, I used PHP Desktop v57.0 for Windows release (https://github.com/cztomczak/phpdesktop/releases/tag/chrome-v57.0-rc). Download the zip file and extract the content wherever you want. Rename the folder as you prefer, you could use the name of your website. Let’s call it Myapp. This is a sort of container with a self-contained web server (Mongoose) and PHP 7.1.3. For example, launching the exe file called phpdesktop-chrome.exe will “read” what’s inside the Myapp/www folder. That’s where you will have to move your entire website to.
-
Why is MicroPython a thing
There's also phpdesktop which is akin to Electron and other such things.
What are some alternatives?
quickjs-esp32 - QuickJS port for ESP32
electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS [Moved to: https://github.com/electron/electron]
Espruino - The Espruino JavaScript interpreter - Official Repo
Thorium-Win - Chromium fork for Windows named after radioactive element No. 90; Windows builds of https://github.com/Alex313031/Thorium
circuitpython - CircuitPython - a Python implementation for teaching coding with microcontrollers
HHVM - A virtual machine for executing programs written in Hack.
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.
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
microvium - A compact, embeddable scripting engine for applications and microcontrollers for executing programs written in a subset of the JavaScript language.
miniblink49 - a lighter, faster browser kernel of blink to integrate HTML UI in your app. 一个小巧、轻量的浏览器内核,用来取代wke和libcef
embedded-hal - A Hardware Abstraction Layer (HAL) for embedded systems
msgraph-sdk-php - Microsoft Graph Library for PHP.