sciter-sdk icon indicating copy to clipboard operation
sciter-sdk copied to clipboard

Sciter is an embeddable HTML/CSS/scripting engine

sciter-sdk

Sciter is an embeddable HTML/CSS/scripting engine, Windows, Mac OSX and Linux.

log file

logfile.htm

Some screenshots of real life applications that use Sciter UI

WarThinder

Norton Internet Security

Avast

Cardio monitor

Hello World

  • "hellowest Hello World in the World" - this demo does not require any compilation.
  • hello C++ world - C++ integration demo that shows:
    • how to create HTML/CSS window from C++ code;
    • how to define native C++ function to be called from script;
    • how to use resources embedded as resource.cpp file - generated by bin/packfolder[.exe] utility that compresses folder with HTML/CSS/script files into a static byte array.

Information

Essential integration headers

  • include/sciter-x-dom.hpp - sciter::dom::element C++ class pretty much all you need to access DOM tree of the window. That is C++ wrapper of [include/sciter-x-dom.h](plain C DOM API)
  • include/sciter-x-window.hpp - sciter::window C++ class represents sciter window on all supported platforms. The window class:
    • include/sciter-x-host-callback.h application (window host) callback interface that handles resource loading and script call methods
    • include/sciter-x-behavior.h DOM event handler - receiver of DOM events (button clicks, input change events, etc).

Application demos

  • usciter - demo "browser" for all supported platforms - use it to load samples from /samples/ folder.
  • uminimal - minimalistic multiplatform integration sample.
  • notepad sources of https://html-notepad.com application.
  • notes sources of https://notes.sciter.com - Sciter Notes application.