Capsomnia is a lightweight, open-source macOS utility that transforms the Caps Lock key into a physical switch for preventing system sleep. It enables MacBooks to continue running background tasks even when their lids are closed. Users can activate sleep prevention by enabling Caps Lock and restore normal behavior by disabling it. The application is useful for long-running development tasks, AI agents, downloads, remote access, and unattended scripts. Its menu bar interface provides status indicators, customizable keyboard shortcuts, and automatic shutdown timers. Optional settings preserve display availability for remote graphical operations and prevent unwanted uppercase typing. Capsomnia also offers hotspot connectivity maintenance, automatic startup, and optional command-line integration without requiring accounts or collecting telemetry.

Features

  • Caps Lock-controlled sleep prevention during closed-lid MacBook operation
  • Configurable automatic shutoff timers with custom duration settings
  • Custom keyboard shortcuts and menu bar sleep status indicators
  • Optional display wakefulness for remote desktop and computer automation
  • Hotspot connectivity maintenance and optional Caps Lock capitalization suppression
  • Command-line integration, automatic startup, and privacy-focused local operation

Project Samples

Project Activity

See All Activity >

Categories

System, Productivity

License

MIT License

Follow Capsomnia

Capsomnia Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Capsomnia!

Additional Project Details

Operating Systems

Mac

Programming Language

Swift

Related Categories

Swift System Software, Swift Productivity Software

Registered

3 days ago