惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

罗磊的独立博客
G
Google Developers Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
腾讯CDC
有赞技术团队
有赞技术团队
Vercel News
Vercel News
MongoDB | Blog
MongoDB | Blog
M
MIT News - Artificial intelligence
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
B
Blog RSS Feed
I
InfoQ
Blog — PlanetScale
Blog — PlanetScale
博客园_首页
The Cloudflare Blog
B
Blog
C
Check Point Blog
Stack Overflow Blog
Stack Overflow Blog
IT之家
IT之家
U
Unit 42
D
Docker
月光博客
月光博客
aimingoo的专栏
aimingoo的专栏
博客园 - Franky
A
About on SuperTechFans

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Why we rebuilt the Web Desktop as a modular Nuxt framework
DXLLIV · 2026-06-22 · via DEV Community

Most "web desktop" or "portfolio OS" projects on GitHub are structured as templates. They look great, but the moment you want to add a custom application, swap out the file system, or customize the window behaviors, you find yourself hacking directly into someone else's monolithic codebase. It's a DX nightmare of spaghetti styling and tightly-coupled state.

We decided to build Open Web Desktop (OWD) to solve this. OWD is a wip modular framework built natively on top of the Nuxt 4 and Vue 3 ecosystem. It provides a clean, programmatic engine API so you don't "fork a template"—you build on top of a chassis. Your apps, your rules, absolute modularity.


The Core Problem: Monoliths vs. Frameworks

When building a web-based desktop environment, you are essentially writing a mini-operating system running in a single-page application. A typical portfolio template couples the window management, state synchronization, visual theme, and desktop apps into one giant block of code.

OWD decouples these responsibilities into three package types:

Apps (apps/):
Self-contained Vue applications loaded dynamically into desktop windows.

Modules (packages/):
Plugins and integrations (e.g., file systems, state persistence, auth clients).

Themes (themes/):
Window chrome styles, taskbar/dock layout, and workspace skins.

Here is what a clean, declarative desktop configuration looks like (desktop.config.ts):

import { defineDesktopConfig } from '@owdproject/core'

export default defineDesktopConfig({
  theme: '@owdproject/theme-win11',
  apps: [
    '@owdproject/app-about',
    '@owdproject/app-todo',
    '@owdproject/app-terminal'
  ],
  modules: [
    '@owdproject/module-fs',
    '@owdproject/module-persistence'
  ]
})

Under the Hood: Agnostic State & Data Isolation

A scalable web desktop shouldn't bind its core application data directly to the active visual components. While windows in OWD rely on efficient v-show toggles for window management (keeping the DOM alive when minimized and unmounting it only upon closure), the state architecture lives entirely at the engine level.

OWD handles application state by giving every application a dedicated, shared Pinia store for metadata. This approach unlocks two advantages:

1. Flexible Multi-Instance Structures

Because the store acts as a metadata hub, applications share a common core context but can easily structure their internal keys to support both singletons or dynamic, multi-window instances depending on the app needs.

2. Pluggable Persistence Modules

Since the application state is completely protocol-agnostic, there is no need to write API or database logic inside the frontend apps. You simply plug in a module: @owdproject/module-persistence will automatically syncs metadata to IndexedDB.

Better yet, because the state is decoupled, it's possible to write or swap a module to sync the Pinia stores to any remote protocol or database (such as a standard REST API, GraphQL, or even the AT Protocol/Bluesky ecosystem) without ever touching the application code.


Environment Control: The Interactive TUI Panel

A framework is only as good as its tooling. To make managing the development workspace fluid, OWD comes equipped with an interactive TUI (Terminal User Interface) Control Panel.

Instead of manually shifting files around or writing boilerplate code, the entire workspace can be handled directly from the terminal. The TUI control panel allows developers and power users to:

  • Scaffold and install new applications or modules.
  • Instantly hot-swap and preview desktop themes.
  • Monitor the overall status of the local environment.

Join the Community: Building an Open Ecosystem

OWD is designed as a completely open, modular canvas. Instead of shipping a pseudo-open product with a locked-down cloud strategy or a rigid roadmap, our immediate goal is to put control back into the developers' hands. It allows frontend developers to easily spin up custom digital gardens, and modular experimenters to build interesting workspace layouts without upstream friction.

There are several ways to get involved:

  • Building new applications and modules.
  • Designing unique desktop themes.
  • Improving documentation and onboarding guides.
  • Hardening the core architecture.