gnh1201 / welsonjs

WelsonJS - Build a Windows app on the Windows built-in JavaScript engine
https://catswords.social/@catswords_oss
GNU General Public License v3.0
142 stars 12 forks source link

[Roadmap] WelsonJS.Android (For mobile devices) #97

Open gnh1201 opened 8 months ago

gnh1201 commented 8 months ago

Summary

Since the inception of the WelsonJS project, there have been inquiries about whether a similar concept could be extended to systems beyond Windows, specifically targeting Android and iOS.

The demands from these users align with the coding conventions pursued by WelsonJS, aiming to minimize the software build process and predominantly perform tasks through scripting.

While there is currently no suitable candidate for the iOS environment, the most promising option for the Android environment is Mozilla Rhino (a Java-based JavaScript engine).

Here are some projects worth considering:

Related links

gnh1201 commented 8 months ago

(Added on January 5, 2024) Wine for Android: There is another option that differs from what was mentioned above. It is Wine for Android. While it seems possible to enable WSH by referencing the winetricks script on x86 machines, since Android primarily uses ARM architecture, you will need to refer to the Windows or ReactOS ARM build.

gnh1201 commented 8 months ago

(Added on January 5, 2024) JavascriptCore (iOS): Read the article "Javascript and Swift"

gnh1201 commented 4 months ago

(Added on April 22, 2024) We need to consider how to allow Android devices to act as HTTP servers to remotely execute JavaScript. In the past, there was a package called NanoHTTPD, but it has been discontinued. Recently, there are other packages available that allow the use of HTTP servlets. Check out: github.com/piotrpolak/android-http-server