Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md
DeskBox

DeskBox

An open-source, local-first Windows 10/11 desktop organizer with native-feeling WinUI 3 widgets and a declarative custom widget ecosystem.

English | 简体中文

Download · Features · Visual Experience · Technical Overview · Build from Source · Licensing

CI Release Windows 10/11 x64 and ARM64 License: GPL v3 | Commercial GitHub stars Downloads Featured|HelloGitHub

Contribution status: External pull requests are temporarily paused while core architecture and extensibility boundaries settle. Bug reports, feature ideas, and technical discussions are warmly welcomed via GitHub Issues and Discussions — see CONTRIBUTING.md.

DeskBox Windows desktop organizer with file, todo, clipboard, weather, music, and custom widgets

Built on C#, WinUI 3, .NET 10 Native AOT, and a Rust native Shell layer, DeskBox adds a lightweight widget layer over the Windows desktop without replacing Explorer or moving your files into a proprietary database. Real-folder-backed file widgets make it a modern open-source alternative to tools such as Stardock Fences, complemented by clipboard history, a global search popup, todos, quick notes, Glance, weather, media controls, and programmable custom desktop widgets.


Download

ChannelPackage & HighlightsLink
GitHub Releases (Direct)Offline x64 & ARM64 Full Native AOT installers bundling a private Windows App Runtime 2.7, silent in-app updates, and companion-process UI isolationLatest GitHub Releases
Official WebsiteProduct overview, direct installer downloads, and documentationdeskbox.fun
Microsoft StoreStore-signed MSIX package with Store updates — ideal for supporting ongoing maintenanceGet it from Microsoft Store
  • Integrity verification: Every GitHub Release installer ships alongside a matching .sha256 sidecar file so you can verify package integrity before running Setup; see the code signing and verification policy.
  • System requirements: Windows 10 version 2004 (build 19041) or later and Windows 11 (22H2+ recommended) on x64 or native ARM64 PCs. Supports standard Program Files or unelevated per-user installation and works fully offline.
  • Release history: See CHANGELOG.md for the complete version-by-version history.

Features

1. File Widgets & Desktop Organization

  • Real-folder storage & mapping: Create managed storage widgets backed by ordinary folders, or map existing desktop and disk folders in place without moving them. Migrating files into managed storage uses a copy-first, verify-before-commit workflow that never auto-deletes source files.
  • Windows 11-native file interactions: Single-column right-click menus with inline icons, Explorer-ordered items, real "Open with" app associations (including UWP), blank-area "New / View / Sort by" submenus, native ZIP compress/extract, and Spacebar QuickLook preview.
  • Multi-source drag-and-drop & stacks: Drag files and links seamlessly to and from Explorer, WeChat, and browsers (including downloading remote URLs), reorder tiles manually, expand nested folder stacks inside widgets or Adaptive / 3×3 / 5×5 popovers, and drag files out safely even from elevated sessions.
  • Widget groups & Desktop Organization workbench: Combine any desktop widgets into tabbed groups (connected tabs or equal-width tabs with Ctrl+Tab, wheel switching, and acrylic merge/detach previews); preview rule-based routing before moving desktop files, enable automatic background filing for newly settled items, and review or undo organization history.

2. Everyday Productivity & Desktop Widgets

  • Unified Global Search popup (Alt+D): Connects over local IPC to an existing Everything installation (not bundled) and merges file results with DeskBox notes, todos, clipboard history, apps, and settings in one window — featuring an instant calculator, command palette, one-keystroke web fallback, and Recommendation Edit Mode (app folders & multi-select drag-to-reorder).
  • Clipboard History & Quick Paste (Alt+V): Captures text, HTML/RTF, images, files, and color swatches with instant search, a keyboard-first Alt+V Quick Paste popup, offline image OCR text indexing, built-in text transforms, optional webpage URL title fetching, per-app exclusions, externalized large entries, and automatic local DPAPI encryption and UI masking for sensitive secrets.
  • Responsive Todo & Quick Capture: Adaptive single- and dual-pane layouts, natural-language date/time/recurrence input, full-text search, overdue reschedule bar, bidirectional Todo ↔ QuickCapture conversion, task reminders, color markers, a popout pinned note window, multi-note merge, and live Markdown folder mirroring with linked or managed attachments.
  • Glance, Weather & Music: Glance displays date, weekday, lunar calendar, solar terms, and custom rotating backgrounds; Weather pairs MSN Weather with Open-Meteo fallback across four bundled icon packs; Music controls Windows media sessions with album-color ambience, audio spectrum visualization, and LRCLIB / local .lrc synced lyrics.

3. Custom Widgets & Widget Studio

  • Zero-WebView declarative engine: Renders native WinUI 3 desktop widgets from a flat element graph (manifest.json) without permanent WebView memory overhead.
  • Air-gapped QuickJS script sandbox & permission gates: Interactive custom widgets run logic.js inside an isolated QuickJS sandbox enforced by strict instruction-count, wall-clock, and memory quotas, backed by per-widget capability permissions (Internet, LAN/localhost, clipboard/system, local files, command execution).
  • Three authoring channels & Agent integration: Create or edit widgets via Direct API (BYOK), External Coding Agents (--mcp stdio bridge & CLI skills for Claude Code, Cursor, Codex, Windsurf, etc.), or zero-setup Web AI prompt handoff — alongside 14 localized official templates, ECDSA P-256 signed remote catalog/prompt updates, .dbxwidget import/export, deskbox:// deep links, and mandatory host approval / stage-and-preview confirmation before applying external changes.

4. Capsule Mode, Native Materials & Multi-Monitor Memory

  • Smart capsules & Quick Reveal: Collapse any widget into a smart capsule or a unified movable capsule bar with hover-to-expand and collapsed text masking. Summon widgets via the tray, F7, double Ctrl, Alt+Space, desktop double-click, or custom global hotkeys.
  • Native Windows styling: Choose Mica or Acrylic materials, DWM rounded corners, custom per-widget icons and backgrounds, and material-matched, unified, or desktop-panorama global backgrounds.
  • Hardware-aware multi-monitor memory: Remembers per-display-topology arrangements bound to monitor hardware identities — unplugging a screen gracefully collapses or relocates its widgets and restores every position upon reconnect, immune to DPI scaling changes, sleep, or full-screen games.

5. Lightweight Native AOT Runtime, Backup & Reliability

  • Isolated companion processes & low footprint: Powered by .NET 10 Full Native AOT and a Rust native Shell layer. Settings and Widget Studio run in isolated companion host processes over authenticated named-pipe IPC and Shell thumbnails run out-of-process, reclaiming UI memory as soon as windows close alongside tiered idle working-set trimming.
  • Resilient storage, portable snapshots & cloud backups: Atomic snapshot writes and automatic wipe-recovery offers protect settings and layouts from corruption, backed by scheduled local snapshots, portable cross-device backup exports (with optional decrypted clipboard snapshots and automatic credential stripping on untrusted restores), domain-scoped personal WebDAV cloud backups, and one-click privacy-filtered diagnostic bundles.

Visual Experience

DeskBox adopts Windows 11 native materials and rounded geometry so widgets blend naturally into your desktop while keeping Explorer workflows intact.

MicaAcrylic
DeskBox desktop widgets with Mica material in EnglishDeskBox desktop widgets with Acrylic material in English
Widget Studio — Official Templates & ChannelsWidget Studio — Live Stage & AI Co-Creation
DeskBox Widget Studio template gallery in EnglishDeskBox Widget Studio live stage preview and AI co-creation in English
Expand Settings screenshots (General / Appearance / Windows & Interaction / Files & Organization / Feature Widgets / Custom Widgets / Global Search / Data & Backup)
GeneralAppearance
DeskBox General settings in EnglishDeskBox Appearance settings in English
Windows & interactionFiles & organization
DeskBox Windows and interaction settings in EnglishDeskBox Files and organization settings in English
Feature widgetsCustom widgets & Widget Studio
DeskBox Built-in feature widgets settings in EnglishDeskBox Custom widgets and Widget Studio settings in English
Global searchData & backup
DeskBox Global search settings in EnglishDeskBox Data and backup settings in English

Technical Overview

ItemDetails
Supported OSWindows 10 version 2004 (build 19041) or later; Windows 11 (22H2+ recommended)
Architecturesx64 (Intel / AMD) and native ARM64 (Windows on ARM)
StackC#, WinUI 3, .NET 10 Full Native AOT, Windows App SDK 2.7, Rust native Shell layer, QuickJS sandbox
Data modelLocal-first; no account or mandatory cloud sync
Languages (13)English, Simplified Chinese, Traditional Chinese, Japanese, German, Brazilian Portuguese, Hindi, Spanish, French, Arabic, Bengali, Russian, Korean
LicensingGPL-3.0-only + Commercial License (dual-licensed)

Local-First, Privacy & Installation Notes

  • Your data stays local: No account required. Settings and widget data live under %LocalAppData%\DeskBox\data on Direct builds (and %UserProfile%\DeskBox\.appdata on Microsoft Store builds so MSIX package resets never wipe your data), while new managed storage folders default to a fixed non-system drive with ample free space (such as D:\DeskBox\<user>) or %UserProfile%\DeskBox.
  • Network calls are strictly opt-in / intentional: DeskBox only accesses the network for weather forecasts, update checks, ECDSA-verified remote widget/prompt catalog (catalog) updates, user-configured AI / WebDAV endpoints, enabled custom-widget network sources, confirmed remote URL imports, or explicitly submitted feedback diagnostics.
  • Upgrades, privileges & safe uninstall: Direct builds install to Program Files\DeskBox or unelevated per-user %LocalAppData%\Programs\DeskBox via Inno Setup and preserve existing scope, settings, and storage across upgrades. Launching elevated shows a clear Explorer drag-and-drop notice with a one-click normal-privilege restart. Uninstalling lets you keep or remove app data while always preserving user files inside managed storage folders.

Build from Source

Development requires Windows 11 and .NET SDK 10.0.404 (or a later 10.0.4xx patch pinned in global.json; Visual Studio with the Windows App SDK workload is recommended). Retail Native AOT builds and native Rust / QuickJS modules (-p:DeskBoxRustNative=true) also require the Rust toolchain pinned in rust-toolchain.toml and Visual Studio C++ build tools (VC.Tools.x86.x64 for x64, VC.Tools.ARM64 for ARM64).

Restore, test, and build x64 Debug:

dotnet restore .\DeskBox.sln -p:Platform=x64
dotnet test .\tests\DeskBox.Tests\DeskBox.Tests.csproj --configuration Debug --no-restore -p:Platform=x64 -v:minimal
dotnet build .\src\DeskBox\DeskBox.csproj --configuration Debug --no-restore -p:Platform=x64 -v:minimal

Publish retail Full Native AOT payloads via the authoritative script (compiles Rust / QuickJS native libraries, bundles private Windows App Runtime 2.7, and generates DeskBox.InstallManifest.txt for safe upgrades):

.\scripts\publish-aot-retail.ps1 -Platform x64
.\scripts\publish-aot-retail.ps1 -Platform ARM64

Compile offline installers with Inno Setup 6.5 or newer (do not substitute bare dotnet publish, as the installer requires DeskBox.InstallManifest.txt to clean up retired files safely):

ISCC.exe /DDeskBoxNativeAot=1 /DDeskBoxBundledRuntime=1 /DMyAppReleaseDir=..\.artifacts\aot-retail\win-x64\publish .\installer\DeskBox.iss
ISCC.exe /DDeskBoxNativeAot=1 /DDeskBoxBundledRuntime=1 /DMyAppReleaseDir=..\.artifacts\aot-retail\win-arm64\publish .\installer\DeskBox.arm64.iss

Expected outputs:

Output\DeskBox_Setup_1.6.0_x64.exe
Output\DeskBox_Setup_1.6.0_arm64.exe

Project Layout

src\DeskBox                 WinUI 3 app, widget engine, Studio, companion hosts, and core services
src\DeskBox.Updater         Direct-channel updater helper
native                      Rust native Shell / thumbnail proxy (deskbox-native / deskbox-thumbnail-proxy) and QuickJS sandbox (deskbox-qjs)
catalog                     Remote custom widget catalog and AI prompt OTA rules (widgets.v1.json / prompts.v1.json)
tests\DeskBox.Tests         Service, contract, sandbox, and Native AOT guardrail test suite
scripts                     AOT retail publish, native build, local dev, and catalog validation scripts
installer                   x64 / ARM64 Inno Setup scripts and multi-language installer messages
docs                        Architecture specs, requirements, code-signing policy, and visual assets
.github\workflows           CI build/test, ARM64 native gate, and distribution audit workflows

Feedback, Credits & Licensing

  • Feedback & support: Share bug reports or suggestions via the in-app Feedback entry, GitHub Issues, or deskbox.fun; see SUPPORT.md for details.
  • Special thanks: @magisph for Brazilian Portuguese localization.
  • Author: Tianyu Zhu (朱天雨) · Repository: https://github.com/Tianyu199509/DeskBox
  • Dual Licensing: Starting with 1.6.0, DeskBox is dual-licensed under GPL-3.0-only and a Commercial License (independent .dbxwidget custom widgets are explicitly exempt from GPL copyleft, while DeskBox branding and official deskbox.fun endpoints are reserved; commercial inquiries: 1047078635@qq.com). Earlier MIT and single-track GPL-3.0-only releases remain under their original licenses and are not changed retroactively.

Star History

If DeskBox makes your desktop cleaner and more enjoyable, a star ⭐ is a huge encouragement for this solo project.

Star History Chart

关于 About

A free, open-source Windows desktop organizer with native-feeling WinUI 3 widgets.
desktop-cleanupdesktop-organizerdesktop-widgetdesktop-widgetsdotnet10file-managementfile-organizationfile-organizeropen-sourceproductivitytray-appwindowswindows-11windows-app-sdkwindows-desktopwindows-toolwinuiwinui-3winui3

语言 Languages

C#93.2%
PowerShell3.1%
Inno Setup1.5%
Rust1.2%
JavaScript0.7%
C0.2%
Python0.1%
Shell0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
735
Total Commits
峰值: 104次/周
Less
More

核心贡献者 Contributors