justjavacjustjavacCommunity·3 Agent Skills Included

moonbit-webview

Build cross-platform desktop apps with web technologies in MoonBit

Builds lightweight desktop applications for Windows, macOS, and Linux using HTML, CSS, and JavaScript inside native windows. Connects MoonBit code and web pages through a two-way command bridge and plugin system for file system access and custom native APIs. Removes the need for heavy frameworks like Electron while keeping full type safety and native performance.
npx skills add justjavac/moonbit-webview --all -g -y
Available:

Gives your AI agent the exact build, test, and formatting commands plus coding conventions and plugin patterns needed to write and verify MoonBit webview code correctly.

All Skills in This Repository (3)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install moonbit-webview?

Run `npx skills add justjavac/moonbit-webview --all -g -y` in your terminal to install all skills in this repository globally.

How to build desktop apps with MoonBit?

This library lets you create native desktop windows that render HTML, CSS, and JavaScript, all controlled from type-safe MoonBit code. It works on Windows, macOS, and Linux with minimal overhead.

How does JavaScript communicate with MoonBit code?

The built-in CommandBridge lets JavaScript call MoonBit functions with request/reply promises, and lets MoonBit push events back into the page. Plugins extend this with reusable APIs exposed under window.MoonBitPlugins.

Is moonbit-webview an Electron alternative?

Yes. It uses the tiny native webview library instead of bundling a full browser, so your apps stay lightweight with native performance on every platform.

Does it work with AI coding agents?

Yes. The included AGENTS.md guide teaches AI agents the correct build commands, code style, and plugin patterns so they can write and test webview code reliably.

Related Repositories in Software Engineering

View All in Software Engineering