webfx icon indicating copy to clipboard operation
webfx copied to clipboard

A JavaFX application transpiler. Write your Web Application in JavaFX and WebFX will transpile it in pure JS.

WebFX

WebFX is a JavaFX application transpiler powered by GWT. It can transpile a JavaFX application into a traditional self-contained pure JavaScript web app (with no plugin or server required for its execution in the browser).

For more explanation, please visit the website and read the documentation.

Fully cross-platform

WebFX doesn't target only the Web. WebFX applications can be compiled to run natively on all major platforms from a single code base:

Platform 32-bit JRE 64-bit JRE 64-bit Native
Desktops (Windows, macOS & Linux)
Tablets & mobiles (Android & iOS)
Embed (Raspberry Pi) ~ not yet documented
Browsers (Chrome, FireFox, Edge, etc...) -- -- --

You can check out the demos to see how a GitHub workflow can generate these executables. For example, here is the GitHub workflow for the FX2048 demo and the executables that it generated.

Ecosystem

In addition to this repository, which is the very heart of WebFX, a whole ecosystem is being built for the development of complex WebFX applications, such as Enterprise level applications. This ecosystem is presented at the WebFX Project level.

More demos

We have a dedicated space for the demos. You will find all the demos presented on the website, and many more live demos, with their source code and GitHub workflow.

Getting started

The guide to getting started is included in the documentation.

Status

Although the project successfully passed the Proof of Concept and the prototype phases, it's still in the incubation phase. We are working to make it a Minimal Viable Product.

WebFX is not yet ready for production. At this stage, we provide only snapshot releases, and breaking changes may occur until the first official release. But you are very welcome to try WebFX and play with it.

Roadmap

You can consult our roadmap. Issues will be open when approaching the General Availability, and the project will have reached a more stable state.

Keep updated

You can follow us by subscribing to our blog where we will post regular news and updates on the progress made.

Get involved!

You can greatly help the project by:

  • Following the guide and start experimenting with WebFX
  • Reporting any issues you may have with the WebFX CLI, which we will try to fix
  • Starring the project if you like it
  • Sharing the website with people who might be interested
  • Giving us feedback in our GitHub discussions
  • Sharing your first WebFX applications (we can add it to our demo list if you wish)

You want to get involved in the development as well? You are very welcome! Please read our contributing guide.

License

WebFX is a free, open-source software licensed under the Apache License 2.0