{"id":16164039,"url":"https://github.com/cyclenerd/macos-missing-shutdown-app","last_synced_at":"2025-03-18T22:31:28.275Z","repository":{"id":72096250,"uuid":"141028455","full_name":"Cyclenerd/macos-missing-shutdown-app","owner":"Cyclenerd","description":"🍎 macOS Shutdown, Restart, Sleep and Log Out App","archived":false,"fork":false,"pushed_at":"2023-12-22T13:13:35.000Z","size":3231,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T12:45:57.041Z","etag":null,"topics":["apple","apple-automator","applescript","cli","command-line","mac","macintosh","macintosh-computer","macos","macosx","restart","shutdown","spotlight"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cyclenerd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-15T13:12:07.000Z","updated_at":"2024-10-17T20:25:23.000Z","dependencies_parsed_at":"2023-12-22T15:40:32.967Z","dependency_job_id":"d0072ec9-126f-45f1-aafe-47d6d268f97c","html_url":"https://github.com/Cyclenerd/macos-missing-shutdown-app","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyclenerd%2Fmacos-missing-shutdown-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyclenerd%2Fmacos-missing-shutdown-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyclenerd%2Fmacos-missing-shutdown-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyclenerd%2Fmacos-missing-shutdown-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cyclenerd","download_url":"https://codeload.github.com/Cyclenerd/macos-missing-shutdown-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243955058,"owners_count":20374368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apple","apple-automator","applescript","cli","command-line","mac","macintosh","macintosh-computer","macos","macosx","restart","shutdown","spotlight"],"created_at":"2024-10-10T02:45:01.997Z","updated_at":"2025-03-18T22:31:28.269Z","avatar_url":"https://github.com/Cyclenerd.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# System Control App for macOS\n\n[![Badge: Apple](https://img.shields.io/badge/Apple-000000.svg?logo=apple\u0026logoColor=white)](https://github.com/Cyclenerd/macos-missing-shutdown-app#readme)\n[![Badge: Xcode](https://img.shields.io/badge/Xcode-%23147EFB.svg?logo=xcode\u0026logoColor=white)](https://github.com/Cyclenerd/macos-missing-shutdown-app#readme)\n[![Badge: Swift](https://img.shields.io/badge/Swift-%23F05138.svg?logo=swift\u0026logoColor=white)](https://github.com/Cyclenerd/macos-missing-shutdown-app#readme)\n\n**A simple, elegant macOS utility to control system power functions like shutdown, restart, sleep and log out with keyboard shortcuts.**\n\n![Screenshot](./images/shutdown.png)\n\n`Shutdown.app` is a lightweight utility that provides quick access to common system power functions.\nWith simple keyboard shortcuts and an intuitive interface, you can sleep, restart, shut down, or log out of your Mac with a single keystroke.\n\nThe app is designed to be minimal, fast, and keyboard-friendly.\nIt uses native macOS UI components for a seamless experience that integrates perfectly with your system.\n\n## Features\n\n* Sleep your Mac 😴 with \u003ckbd\u003e⌘\u003c/kbd\u003e + \u003ckbd\u003eZ\u003c/kbd\u003e \n* Restart your Mac with \u003ckbd\u003e⌘\u003c/kbd\u003e + \u003ckbd\u003eR\u003c/kbd\u003e\n* Shut Down your Mac with \u003ckbd\u003e⌘\u003c/kbd\u003e + \u003ckbd\u003eS\u003c/kbd\u003e\n* Log Out of your account with \u003ckbd\u003e⌘\u003c/kbd\u003e + \u003ckbd\u003eL\u003c/kbd\u003e\n* Clean, native macOS interface\n* Full keyboard navigation support\n* Color-coded buttons for easy identification\n\n# Requirements\n\n* macOS 14.6 (Sonoma) or later\n* 1MB of free disk space\n\n## Installation\n\n1. [Download](https://github.com/Cyclenerd/macos-missing-shutdown-app/releases/latest/) the latest release\n1. Extract the ZIP file and drag the app to your Applications folder\n1. Launch the app from Launchpad or Applications folder\n1. (Optional) Allow unsigned app on macOS\n    * Go to System Settings\n    * Click on Privacy \u0026 Security\n    * Scroll down to Security section\n    * Look for a message about the blocked `Shutdown.app` app and click \"Open Anyway\"\n\nTip: Use Spotlight Search and type `Shutdown` to sleep, restart, shut down, or log out of your Mac.\n\n## Usage\n\n1. Launch the app\n1. Select an action using your mouse or keyboard (\u003ckbd\u003etab\u003c/kbd\u003e, \u003ckbd\u003e←\u003c/kbd\u003e, \u003ckbd\u003e↑\u003c/kbd\u003e, \u003ckbd\u003e→\u003c/kbd\u003e, \u003ckbd\u003e↓\u003c/kbd\u003e)\n1. Press \u003ckbd\u003eEnter\u003c/kbd\u003e to confirm, or use the keyboard shortcuts:\n    * \u003ckbd\u003e⌘\u003c/kbd\u003e + \u003ckbd\u003eZ\u003c/kbd\u003e for Sleep 💤\n    * \u003ckbd\u003e⌘\u003c/kbd\u003e + \u003ckbd\u003eR\u003c/kbd\u003e for Restart\n    * \u003ckbd\u003e⌘\u003c/kbd\u003e + \u003ckbd\u003eS\u003c/kbd\u003e for Shut Down\n    * \u003ckbd\u003e⌘\u003c/kbd\u003e + \u003ckbd\u003eL\u003c/kbd\u003e for Log Out\n    * \u003ckbd\u003eEscape\u003c/kbd\u003e to cancel\n\n## Permissions\n\nWhen first launched, the app may request accessibility permissions to control system functions.\nThese permissions are required for the app to function properly.\n\n## Building from Source\n\n**Prerequisites:**\n\n* Xcode 16.2 or later\n\n**Steps:**\n\nClone the repository:\n\n```bash\ngit clone https://github.com/Cyclenerd/macos-missing-shutdown-app.git\n```\n\nOpen the project in Xcode:\n\n```bash\ncd macos-missing-shutdown-app\nopen Shutdown.xcodeproj\n```\n\nBuild the project:\n\nSelect `Product` \u003e `Build` from the menu or use the keyboard shortcut \u003ckbd\u003e⌘\u003c/kbd\u003e + \u003ckbd\u003eB\u003c/kbd\u003e\n\nOr build the project via CLI:\n\n```bash\nsudo xcode-select --switch \"/Applications/Xcode.app\"\nxcodebuild -version\nxcodebuild clean build -scheme \"Shutdown\" -destination \"platform=macOS\" CODE_SIGN_IDENTITY=\"\"\nxcodebuild archive -scheme \"Shutdown\" -destination \"platform=macOS\" -archivePath ./build/Shutdown.xcarchive CODE_SIGN_IDENTITY=\"\"\n```\n\n## Code Structure\n\nThe app is built with SwiftUI and consists of two main files:\n\n* `ShutdownApp.swift`: Contains the app entry point, system control logic, and models\n* `ContentView.swift`: Contains the user interface implementation\n\n## License\n\n[Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyclenerd%2Fmacos-missing-shutdown-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyclenerd%2Fmacos-missing-shutdown-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyclenerd%2Fmacos-missing-shutdown-app/lists"}