All Projects → iboB → html5-gui-demo

iboB / html5-gui-demo

Licence: MIT license
Demos for using HTML 5 as a GUI for C++ apps

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
HTML
75241 projects
CMake
9771 projects

HTML 5 GUI Demo

Demos for using HTML 5 as a GUI for C++ apps

Talk

The demos were created for a talk I gave at CppCon.

Demos list

  • ws-simple: A simple echo-server using WebSockets. Uses Boost.Beast
  • cef-async: A simple CEF echo application using asynchronous communication
  • cef-sync: A simple CEF echo application using synchronous communication
  • fs-browser: A simple filesystem browser demo with two implementations: WebSockets and CEF
  • demo-3d: A simple demo with GUI over a custom OpenGL window with two implementations: No GUI and CEF

Building

This repo has submodules. Clone with --recursive or call git submodule update --init after cloning.

There's a master CMakeLists.txt in the root directory, which can be used to build all demos. It downloads and prepares all dependencies, except Boost. You need to configure with -DHTML5_DEMO_BOOST_DIR=path/to/your/boost/installation or have Boost in your global include and library paths.

Currently the only supported configuration is to build all demos. I may provide configuration options to build only selected ones, but it won't be soon. In the meantime I welcome pull requests which do so.

License

All demos under the MIT license. See accompanying file LICENSE or copy here.

Copyright © 2019 Borislav Stanimirov

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].