Skip to content

TidyWindow is a Windows desktop assistant that automates developer machine setup, cleanup, diagnostics, package installs, registry tuning, and driver updates -- powered by a WPF shell and resilient PowerShell 7 automation in the background.

License

Notifications You must be signed in to change notification settings

Cosmos-0118/TidyWindow

Repository files navigation

TidyWindow

Windows maintenance companion for builders who prioritize safety, repeatability, and observability. TidyWindow coordinates PowerShell 7 automations through managed .NET services so every action is guarded, logged, and reversible.

At a Glance

Core Capabilities

  • Essentials repair center (docs/essentials.md): Curated fixes for networking, Defender, printing, and Windows Update with dry-run previews, sequential execution, restore points, and transcripts.
  • Cleanup and storage hygiene (docs/cleanup.md): Preview clutter, apply risk-aware deletions with recycle-bin-first flows, and schedule recurring sweeps.
  • Registry optimizer (docs/registry-optimizer.md): Stage presets or custom tweaks with JSON restore points, rollback countdowns, baseline tracking, and preset customization alerts.
  • Install and maintain software (docs/install-hub.md, docs/maintenance.md): Drive winget, Scoop, and Chocolatey from one queue and keep curated bundles current.
  • PathPilot and process intelligence (docs/pathpilot.md, docs/known-processes.md): Safely manage PATH edits, monitor running processes, and escalate Threat Watch findings with remediation guidance.
  • Startup controller (docs/startup-controller.md): Inventory Run/RunOnce, Startup folders, logon tasks, and services with accurate enabled/disabled states, reversible backups, delays, and guardrails.
  • PulseGuard observability (docs/activity-log.md, docs/settings.md): Turn significant Activity Log events into actionable notifications, prompts, and searchable transcripts.

Safety by Design

  • Restore-point enforcement for high-risk flows, with pruning to stay within disk budgets.
  • Cleanup guardrails: protected roots, skip-recent filters, recycle-bin preference, lock inspection, and permission-repair fallbacks.
  • Sequential automation queues with cancellation hooks, deterministic logging, and retry policies.
  • PulseGuard notification gating that respects user toggles, window focus, and cooldown windows.
  • Activity Log plus JSON/Markdown transcripts for audits, with direct "View log" actions.
  • PathPilot safeguards that validate, diff, and checkpoint PATH changes before applying them.

Architecture Overview

  • Frontend: WPF (.NET 8) views with CommunityToolkit.Mvvm view models (src/TidyWindow.App).
  • Services: C# services for cleanup, registry state, automation scheduling, PowerShell invocation, and tray presence (src/TidyWindow.Core, src/TidyWindow.App/Services).
  • Automation: PowerShell 7 scripts in automation/ for essentials, cleanup, registry, and diagnostics; YAML/JSON catalogs describe tweaks, presets, processes, and bundles.
  • Packaging: Inno Setup installer (installer/TidyWindowInstaller.iss) plus self-contained release artifacts in GitHub Releases.

Install and Run

Prerequisites: Windows 10 or later, .NET SDK 8.0+, PowerShell 7 on PATH.

git clone https://github.com/Cosmos-0118/TidyWindow.git
cd TidyWindow

dotnet restore src/TidyWindow.sln
dotnet build src/TidyWindow.sln -c Debug

dotnet run --project src/TidyWindow.App/TidyWindow.App.csproj

See docs/getting-started.md for optional dependencies, troubleshooting, and installer usage. Latest signed installer: 3.6.7 (stable). Inside the app, open Settings ▸ Updates to read the hosted manifest and jump to the newest release notes without a manual download.

Test Suite

dotnet test tests/TidyWindow.Core.Tests/TidyWindow.Core.Tests.csproj
dotnet test tests/TidyWindow.Automation.Tests/TidyWindow.Automation.Tests.csproj
dotnet test tests/TidyWindow.App.Tests/TidyWindow.App.Tests.csproj

Documentation Map

Support, Roadmap, and Press

  • Open issues with Activity Log snippets, cleanup reports, or automation transcripts for faster triage.
  • Track work in roadmap.md.
  • Press and listings live in Press-and-Reviews.md.

License and Credits

TidyWindow ships under the MIT License (see LICENSE).

Built with GitHub Copilot assistance alongside contributions from the Windows, PowerShell, winget, Scoop, and Chocolatey ecosystems.

About

TidyWindow is a Windows desktop assistant that automates developer machine setup, cleanup, diagnostics, package installs, registry tuning, and driver updates -- powered by a WPF shell and resilient PowerShell 7 automation in the background.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published