Next-Gen desktop apps with web-frontend in C++
Get StartedEasy to Use
Don't bother with platform specific code anymore! Focus on building the frontend and leave the rest to saucer
Simple Deployment
Embed all your frontend code into saucer with ease and ship a contained binary
Customizability
Modules allow extensive customization and access to underlying platform specific implementations
Small
By using the OS' native web renderer* it's possible to produce binaries that are just ~700KB
* or a commonly used one
* or a commonly used one
FOSS
Saucer is, and will always be, Free and Open Source
Licensed under MIT where applicable
Licensed under MIT where applicable
A basic saucer application which exposes a native function
#include <saucer/smartview.hpp>
int main()
{
saucer::smartview webview;
webview.set_size(500, 600);
webview.set_title("Hello World!");
webview.expose(
"add_random",
[&](float number) {
auto random = webview.evaluate<float>("Math.random()").get();
return number + random;
},
true);
webview.serve("index.html");
webview.show();
webview.run();
return 0;
}