A Raycast extension that allows users to schedule a timed shutdown for their system, ensuring running tasks can be completed before powering down. I made this for myself because I wanted a simple tool that would automatically shutdown my computer after a period of time. I wanted to simplify scheduling shutdowns so that I didn't need to have an extra terminal window to manage it
- Set a custom timer for shutdown (minutes or hours) up to 15 hours
- View remaining time before shutdown in real time
- Works seamlessly within Raycast with live updates
-
Schedule the shutdown using Schedule Shutdown
-
Fill out the timer details
<hour> hours <minute> minutes <second> seconds
- Shorthand h, min or sec for units
- Mix and match different units for exact time control
-
See remaining time using Remaining Time
-
Cancel Shutdown using Stop Shutdown
To schedule the shutdown, the extension will execute an AppleScript to the Finder application and store the process id in Raycast Local Storage. When the user cancels the shutdown, it uses the process id and kills the process running
- Install the Raycast app.
- Currently Raycast is only available on Mac, with a waitlist on the Windows Beta
- Install Node.js.
- The minimum version recommended is v20.18.1. If you're using an older version, you may encounter issues.
- Clone the Repo
git clone https://github.com/WhosMadeer/shutdown-raycast.git
- Install required packages
npm install
- Run Raycast Project
npm run dev
- Raycast will automatically open up with the extension loaded
Pull requests are welcome! For major changes, please open an issue first to discuss potential modifications.
This project is licensed under the MIT License. See the LICENSE file for details.
Enjoy a controlled and hassle-free shutdown experience with Raycast!
