Keep your Windows laptop running with the lid closed while coding agents work
not yet reviewed by publik. It is live now; the founder has not reviewed this version yet.


Keep local coding agents running while your Windows laptop lid is closed. Lidless lives in the system tray, so the controls are one right-click away.
Download the Windows installer · Download the portable EXE
Windows install guide on Publik · Windows listing
On a Mac? Get Lidless for macOS on Publik. It is a separate macOS app based on the original project; this repository builds the Windows version.
Lidless is a tray-only Windows app inspired by Lidless. It temporarily sets the active power plan's lid-close action to Do nothing and asks Windows to stay awake while work runs. It restores the saved AC and battery lid actions when you turn it off or quit. A watchdog restores them if the tray app exits unexpectedly.
While lidless is keeping the laptop awake, choose Privacy cover + input guard from the tray menu. The first use asks you to set a PIN or password of at least four characters. An original blue screen inspired by the Windows 7 sign-in layout covers all connected displays. Press Enter (or Ctrl+Alt+Shift+U), type your PIN or password, and press Enter to restore your desktop. Ordinary physical keyboard and mouse input is filtered while many software-injected agent actions can continue. The guard turns off and asks Windows to lock if lidless stops keeping the laptop awake; its watchdog also asks Windows to lock if the tray app exits unexpectedly.
If you already set a longer password, choose Change input guard PIN while the guard is off, enter the old password, and set a four-character or longer PIN.
The cover and input guard are convenience features, not a secure Windows lock. The desktop remains unlocked. Ctrl+Alt+Del, other software, elevated processes, and some devices can bypass the guard. The cover is omitted from compatible Windows screen capture so screenshot-based agents can still see the desktop; this also means screen sharing or recording software may reveal it. Some agents use input methods that may be filtered or may target the cover, so test your agent before relying on this mode. Do not use it to protect sensitive data from someone with physical access.
While active, lidless requests that Windows avoid idle sleep; the display may turn off. Windows policy, firmware, or hardware may still override the lid setting, so test on your laptop. Closing the lid does not lock Windows; press Win+L first if you want it locked. If you switch power plans while lidless is active, lidless restores the original plan it changed and leaves the new plan alone.
Install the .NET 8 SDK and run on Windows:
dotnet publish src/lidless/lidless.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true -o dist
The portable app is dist/lidless.exe. Inno Setup 6 builds the installer from installer/lidless.iss; GitHub Actions builds and publishes both files.
From v0.4.0, original lidless code and artwork are under PolyForm Noncommercial 1.0.0: commercial use needs separate permission. This does not revoke the MIT grants already published for v0.3.0 and earlier; see the previous license. The inspiring project is separately MIT licensed. LibreHardwareMonitorLib is MPL-2.0. See NOTICE.md for details.