Live HTML goes OpenSource

Live HTML

Live HTML was developed in hopes of providing true live editing of an HTML file starting from nothing and then properly handling CSS and JS insertion, and other quirky changes, but while it was development a lot has changed in a way I approach code and the ecosystem that is available.

At the current stage Live HTML sort of works, but not nearly well enough for a commercial product. Given that fact and the changes in thw way we write web application the only logical choice for me is publish Live HTML in it's current state as an open-source project. So if you are curious to see what's inside or brave enough to try to compile it yourself please feel free to checkout the source code that is now available on GitHub.

So what should I use instead?

If you want to have live updates for a simple static HTML files I would recommend using Brackets (Free) or WebStorm (Paid).

With more complex and dynamic UI my favorite combination right now is React with Webpack Hot Module Loader. It provides on-save updates to your dynamic app without loosing the state of the application, which is very useful for tweaking the behavior withing some corner case of your business logic. To get you started faster I made a seed project that has it all put together and configured.

Why publish a failed project?

While there is no immediate usefulness for Live HTML and I'm outright ashamed of almost all of the source code (even though it was written as a prototype), the project still contains a lot of interesting pieces that took hours of research to figure out, for example:

  • How to disable FullScreen button in Qt on Mac?
  • Why does XMLHttpRequest not work properly in QML for cross-domain requests?
  • How to write a simple update checker?
  • What is server-sent events and how to use it to push changes to client without web sockets?
  • How to get access to clipboard from QML?

If I have some time in the coming months I will try to do posts on some of these topics.

Social comments Cackle