跳到主要内容
LitheView Runtime

原生应用集成现代 Web UI

一个轻量 DLL,把 React、Vue、3D 和完整 DevTools 带入原生应用。

80+ MB1 DLLGPU 合成
ANT DESIGNLIVE
LitheView 运行 Ant Design 组件页面
THREE.JS / WEBGLLIVE
LitheView 运行 Three.js 3D 光照场景
WEB GAMELIVE
LitheView 运行浏览器 3D 坦克游戏
Rendered by LitheView60 FPS
01

原生窗口集成

覆盖窗口绑定、DPI 适配、键鼠输入、IME 与文件拖拽。

02

现代 Web 技术

支持 React、Vue、现代 CSS、WebGL 和 3D。

03

可控调试

支持 DOM、Console、Network 和实时元素检查。

最小接入

几行代码,接入你的 Web 应用

初始化运行时、绑定 HWND,然后加载本地或远程页面。公开接口保持为稳定的 C ABI。

查看完整示例
main.ccC++
struct App { HWND hwnd; ltv_view_t view; };

void LTV_CALLBACK OnReady(void* data) {
auto& app = *static_cast<App*>(data);
app.view = ltv_view_create();
ltv_win_view_attach(app.view,
reinterpret_cast<uintptr_t>(app.hwnd));
ltv_view_navigate(app.view, "https://app.example.com");
}

int RunApp(int argc, const char* const* argv) {
ltv_settings_t settings = { .struct_size = sizeof(settings) };
ltv_initialize(&settings);
App app = { .hwnd = CreateMainWindow() };
return ltv_run(argc, argv, &OnReady, &app);
}
View attachedapp.example.com loaded