Extension Icon

Coffee

Prevent the sleep function on your computer
AvatarMax Schmidt
130,901 Installs
OverviewCommandsVersion History

Versions30

Enhancement - August 30, 2026

  • Add reason to Caffeinate Status, showing 4 types, examples:
  • Caffeinate Until: until 2:00 PM
  • Caffeinate For ...: 42m left
  • Caffeinate While: while Slack is running
  • Schedule Caffeination: schedule: Mondays from 11:00 to 15:00
  • Add Decaffeinate pauses running schedules preference
  • Add app icons to Caffeinate While command

Windows support - August 25, 2026

  • Add support for Windows platform
  • Add app picker support to the "Caffeinate While" command on Windows
  • Stop caffeination when the selected app window closes
  • Filter out utility and system windows from the app picker
  • Use platform-neutral wording in tools, AI instructions, README, preferences, and HUDs

Fix - August 21, 2026

  • Reduced background status refreshes to once per minute.

Fix - August 20, 2026

  • Fixed future caffeination schedules not activating automatically and ensured they stop at the configured end time.

Enhancement - August 14, 2026

  • Added an "instant on" feature: when the new Start caffeination when Raycast starts preference is enabled, Coffee automatically keeps your Mac awake (indefinitely) shortly after Raycast launches. Manual decaffeination persists until the next Raycast restart.

AI Extension - July 22, 2026

  • Added AI tools to caffeinate until a specific date and time.
  • Added AI tools to list, pause, resume, and delete recurring caffeination schedules.
  • Expanded AI instructions and evaluations for the new workflows.

Enhancement - June 28, 2026

  • Redesigned the menu bar dropdown: quick-pick durations (10m, 30m, 1h, 2h, 4h, 8h, 12h) and Indefinitely, each with a checkmark and live countdown when active.
  • Added Until… to the menu bar dropdown, which opens a date/time picker form.
  • Merged the picker form into the existing Caffeinate Until command; the typed time argument is now optional (leave empty to use the picker).
  • Clicking an active menu item now deactivates caffeination.

Fix - June 5, 2026

  • Fixed a typo in the "Caffeinate While" command description ("an certain app" → "a certain app").

Fix - June 2, 2026

  • Fixed the menu bar icon not updating immediately after caffeinating or decaffeinating.

Add Keyboard Shortcuts - May 16, 2026

  • Added a Toggle shortcut for pausing and resuming caffeination schedules.

Fix - March 24, 2026

  • Fixed zombie process accumulation by properly detaching the caffeinate process with spawn/unref
  • Folded the -u flag into the main caffeinate process, eliminating periodic caffeinate -u -t 1 spawning
  • Removed stale process filter in menu bar status

Fix - March 22, 2026

  • Prevent zombie caffeinate child processes by keeping the spawned process referenced until exit.

Fix - March 19, 2026

  • Fixed zombie process accumulation caused by unreaped caffeinate -u child processes in the status command.

Fix - March 17, 2026

  • Fixed caffeination not preventing display sleep on macOS 26+ when running on battery power.

Fix - January 27, 2026

  • Fixed memory leak caused by zombie processes when starting caffeination.
  • Fixed argument parsing bug in generateArgs().
  • Consolidated duplicate shell commands in menu bar to reduce process spawning.
  • Added proper cleanup to prevent state updates on unmounted components.

✨ AI Enhancements - February 21, 2025

Enhancement - March 1, 2025

  • Show caffeinate duration in menu bar item.

Enhancement - January 31, 2025

  • Added Caffeinate Until command.

Enhancement - October 18, 2024

  • Implemented schedule-based caffeination, allowing different schedules for different days
  • Integrated NLP using regex to support natural language input for setting schedules
  • Added pause, resume, and delete functionality for schedules
  • Created README documentation

Update

  • Updated HUD show time to improve user experience.

Update

  • Fixed an issue that caused the extension to crash when the Caffeinate Status command was disabled.

Update

  • Replaced the form in the Caffeinate For command with arguments in the root search.
  • Replaced the emojis in the Caffeinate Status command with Unicode characters for enhanced design consistency.
  • Updated some menu bar icons.
  • Fixed an issue where it was not possible to decaffeinate the Mac via the Caffeinate Status Menu Bar.
  • Fixed an issue where the menu bar icon was not immediately updated when the Mac was caffeinated.
  • Fixed the Caffeinate While command not working.

Update - March 14, 2024

  • Added the possibility to hide the icon when decaffeinated.

Update - February 21, 2024

  • Fixed bug that created zombie processes.

Update - February 14, 2024

  • Added support for alternative icon Menu Bar icon.

Update - February 6, 2024

  • Replace old taskbar icons with new SVG ones.

Fix - November 26, 2023

  • Squashed a few bugs.

Status command - November 12, 2023

  • Create separate status command.
  • Optimized code.

Fix - January 19, 2023

Fixed a bug that caused the extension to crash if the menubar command was not enabled.

Update - December 9, 2022

  • Added menubar icon to toggle and show subtitle status.
  • Update to latest version of API.
  • Rewrote the extension to be faster.