WebGUI

Embed any web page as a full-screen GUI or transparent HUD overlay inside Minecraft.
WebGUI is a Fabric & NeoForge mod that embeds a real Chromium browser directly in the game client. Server operators can display any React, Vue, or plain HTML app to their players — as a HUD overlay that auto-opens on join, or as a custom main menu accessible with a keybind.

Try it in game
Join play.webgui.space with WebGUI 2.8.0 or newer: a journey through three worlds and four multiplayer games, where every window, screen and HUD is a web page. A licensed Java Edition account is needed. More on the demo server page; its source is mc-webgui/demo-server.
Screenshots
Every screenshot is a web page rendered by WebGUI in Minecraft, captured in game. More, with how each one is wired: webgui.space/guide/showcase.

Pages do not have to look like Minecraft: a tactical shooter and a city roleplay, driven by game-mode events from a mod or plugin.

City scenes: Los Perrito City by Uospag (CC BY 4.0). Shooter scenes: Hanger by ItsMiiOlly, Frac and Zan, OvercastCommunity Public Maps (CC BY-SA 4.0). Shaders: Complementary Reimagined.
Features
- Full-screen GUI — open any URL as a screen that closes with Esc
- HUD overlay — transparent overlay on top of the game; toggle interactive mode with
`
- Screens in the world — hang a page on a wall or over a spawn; every player sees it and clicks it with the crosshair, or, for a banner or a sign, lets clicks through to the world
- Auto HUD on join — automatically shows a HUD overlay when a player connects
- Custom main menu — players press
F6 to open your web page
- Live client data — the mod pushes
window.webgui.client (position, look direction, health, food, XP level, gamemode, dimension, server info) to the page at 20 TPS
- Signed tokens — every URL the mod opens carries an HMAC-signed token so your backend can verify the player’s identity
- Mod API — other mods (Fabric or NeoForge) can open WebGUI overlays programmatically via
WebviewApi
Compatibility
| Minecraft |
Loader |
Status |
| 26.3 |
Fabric · NeoForge |
✅ Active |
| 26.2 |
Fabric · NeoForge |
✅ Active |
| 26.1 – 26.1.2 |
Fabric |
✅ Active |
| 26.1.2 |
NeoForge |
✅ Active |
| 1.21.11 |
Fabric · NeoForge |
✅ Active |
| 1.21 – 1.21.1 |
Fabric · NeoForge |
✅ Supported |
| 1.20.1 |
Fabric |
✅ Supported |
| 1.20.1 – 26.3 |
Paper plugin (server only) |
✅ Active |
Chromium (~150 MB) is downloaded on first launch, once per machine, outside the game folder.
A Paper server can use the WebGUI plugin instead of the mod; players still need the client mod. See WebGUI for Paper.
Installation
- Download the latest JAR from Modrinth (pick the right MC version).
- Place it in
.minecraft/mods/.
- Fabric: also add Fabric API.
- NeoForge: nothing else. The browser engine ships inside the WebGUI jar on both loaders.
- Start the game.
Quick setup (server)
Create or edit config/webgui/server.json:
{
"autoHudOnJoin": true,
"autoHudUrl": "https://your-hud.example.com",
"mainMenuUrl": "https://your-menu.example.com"
}
Restart the server and join to test.
Server commands
/webgui gui <targets> <url> — open a full-screen GUI for players
/webgui hud <targets> <url> — open a HUD overlay for players
/webgui screen here <id> <width> <height> <url> — hang a page on the block you look at
/webgui screen interactive <id> false — let clicks pass through a screen to the world
Requires operator level 2. Supports fabric-permissions-api (LuckPerms, etc.).
React library
Build your SPA with type-safe hooks:
npm install @webgui/react
import { useWebGUIClient, isInMod, isReady } from '@webgui/react';
export function PlayerInfo() {
const client = useWebGUIClient();
if (!isInMod()) return <p>Open this inside Minecraft.</p>;
if (!isReady(client)) return <p>Connecting…</p>;
return <p>Hello, {client!.username}</p>;
}
→ npm: @webgui/react · Docs
Building from source
git clone https://github.com/mc-webgui/webgui.git
cd webgui
./gradlew build
Outputs JARs for all supported Minecraft versions to versions/*/build/libs/.
Documentation
Full documentation at webgui.space.
Contributing
See CONTRIBUTING.md. Bug fixes and translations are always welcome.
License
MIT © KoSHeroff
评论