Skip to content

html based widget manager created with .net

License

Notifications You must be signed in to change notification settings

sametcn99/HTWind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

HTWind

HTWind is a highly customizable, HTML-based widget manager that brings your favorite web tools and system helpers directly to your Windows desktop. It also supports running PowerShell commands when you need quick system actions.

Website

HTWind Screenshot

Highlights

  • Native PowerShell script execution support for system automation and quick tasks
  • Desktop HTML widgets with lock/unlock interaction modes
  • Built-in widget library (clock, weather, system tools, file helpers, and more)
  • Widget built-in code editor with live preview (hot reload)
  • Tray integration (show/hide app, background workflow)
  • Pin-on-top, visibility toggle, and persisted widget geometry/state
  • Startup toggle (HKCU\Software\Microsoft\Windows\CurrentVersion\Run)
  • Localization infrastructure (resx + LocExtension)
  • Built-in code editor with syntax highlighting and live preview (hot reload)
  • Open-source and community-driven development

Share Widgets and Feedback With The Community

Use GitHub Discussions and the HTWind Reddit community to share reusable widgets, desktop setups, bug reports, and feature requests.

Installation

Option 1: From GitHub Releases (recommended)

  1. Open Releases in this repository.
  2. Download one of the assets:
  • HTWind-setup-<version>.exe (installer)
  • HTWind-portable-<version>.zip (portable)
  1. For installer mode, run the setup executable and follow the wizard.

Option 2: Run from source

Prerequisites:

  • Windows 10/11
  • .NET SDK 10.0+

Commands:

dotnet restore HTWind/HTWind.csproj
dotnet build HTWind/HTWind.csproj
dotnet run --project HTWind/HTWind.csproj

Uninstallation

If you are using the installed version of HTWind, you can uninstall it from Windows Settings > Apps > Installed apps.

Important

Uninstalling HTWind will delete all widgets and data stored in %LocalAppData%\HTWind. If you are uninstalling the app to perform a clean update, make sure to take a backup of this folder before proceeding.

Widget Development

You can build custom widgets using plain HTML/CSS/JavaScript.

Host Bridge API

Widgets can call:

  • window.HTWind.invoke("powershell.exec", args)

Supported args include:

  • script (required)
  • timeoutMs
  • maxOutputChars
  • shell (powershell or pwsh)
  • workingDirectory

Important:

  • Only powershell.exec is currently supported.
  • Output is clipped by maxOutputChars for safety.
  • Scripts are executed with -NoProfile -NonInteractive -ExecutionPolicy Bypass.

Security and Responsibility Notice

  • HTWind allows widgets to execute PowerShell commands via powershell.exec.
  • Running commands can modify files, processes, registry entries, and network/system settings.
  • All command execution risk is owned by the user running HTWind.
  • On first launch, HTWind requires explicit acceptance of this risk before the app opens.

Contributing

See CONTRIBUTING.md for the full contribution guide.

Support

If you find a bug, please include reproduction steps, expected behavior, and environment details.

License

This project is licensed under the GPL-3.0 License. See the LICENSE file for details.