Skip to content

Foo UI Webview2

A WebView2 UI framework for foobar2000 - build the entire player in web tech (Vue/React) with native Windows 11 Mica/Acrylic effects. Ships a TypeScript SDK and an MCP server…

Install: git clone https://github.com/NereaFantasia/foo_ui_webview2

Install

$git clone https://github.com/NereaFantasia/foo_ui_webview2

Install command taken from the project's README or registry entry. Always review code before running it.

English | 中文

foo_ui_webview2

Documentation: https://nereafantasia.github.io/foo_ui_webview2/ (English and Chinese)

A modern UI component for foobar2000 built on WebView2 (C++ DLL). It turns the entire foobar2000 window into a WebView2 canvas, letting you build the interface with modern web technologies while keeping native Windows 11 visual effects (Mica/Acrylic).

  • License: GPL-3.0-or-later (main component) / MIT (sdk/, mcp/)

Features

  • Full WebView2 UI — the entire client area is rendered by WebView2; build it with plain HTML/CSS/JS or any framework (Vue, React, …)
  • Runs three ways — standalone full-UI replacement, DUI panel, or CUI panel
  • Native Windows 11 effects — Mica / Acrylic / Tabbed backgrounds
  • Extended title bar into the client area — custom title bar content, Snap Layout support
  • Bidirectional C++ / JS bridge (BridgeCore) — player state and events pushed to your UI in real time
  • 400+ methods in 40+ namespaces, and 100+ events
  • Multi-window system — popup windows, cross-window messaging, async close handling
  • Web Components library (fb-* elements) and a typed TypeScript SDK on npm
  • SMP compatibility layer — Spider Monkey Panel knowledge and much existing code carry over
  • MCP Server — AI agent integration via CDP
  • Plugin extension system (PluginRegistry) — other components can expose APIs to your UI

Why foo_ui_webview2?

foobar2000 already has excellent customization stacks; this component occupies a different spot in the trade-off space:

foo_ui_webview2 JS panel hosts (JSplitter / SMP) WebView panel components (foo_uie_webview / foo_webview2)
UI technology Web platform — HTML/CSS/JS, any framework, Chromium DevTools JavaScript over GDI/GDI+ drawing callbacks Web platform
Runs as Standalone full UI, DUI/CUI panel, popup windows Panel / splitter inside DUI or CUI Panel inside DUI or CUI
Player integration Built-in bridge — playback, playlists, media library, metadata, artwork, queue, config, and more in one component Mature, battle-tested script API with a large existing theme ecosystem Host-object API centered on the panel and rendering
Native windowing Fullscreen, Mica/Acrylic, custom caption, multi-window (standalone mode) Managed by the host UI Managed by the host UI
Skill / code reuse Web skills; SMP knowledge via the compatibility layer Existing SMP / JScript scripts and skills Web skills
AI tooling MCP server included — —

These stacks compose rather than exclude each other: this component itself runs as a CUI/DUI panel next to your existing layout, and other foobar2000 components can register APIs into its bridge through PluginRegistry.


Quick start (30 seconds)

  1. Install the .fb2k-component package, then pick Webview2 UI under File → Preferences → Display → Default User Interface (installation guide).
  2. Save this as \webview-ui\default\index.html (create the folders if needed):
<!DOCTYPE html>
<html>
<head><meta charset="UTF-8"><title>My foobar2000 UI</title></head>
<body>
    Waiting for playback...
    <button id="play">Play / Pause</button>

Similar plugs

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

MCP serverDatabases+105 this week

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection, all without a single pixel of video.

Explore related