Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 1.09 KB

README.md

File metadata and controls

31 lines (17 loc) · 1.09 KB

egui tauri template

Description

This is a template for creating an egui app that runs inside a tauri webview window.

This is a reduced version of eframe_template with tauri and hframe added.

Why I would use egui inside a webview instead of a native window?

Although this adds a lot of overhead, it can be useful if you need to show web content alongside your egui app or maybe use some web API.

For example, you can use this to embed multimedia content that the web naturally supports like videos. Or maybe you want to show an iframe.

This template comes with hframe to help you with that.

Screenshot

Screenshot

Usage as desktop app

Install Tauri CLI and run cargo tauri dev.

Usage as web app

Install Trunk and run trunk serve.

Note: When used as a web app, Tauri commands will not work.