{"id":42449420,"url":"https://github.com/blotspot/obsidian-wake-lock","last_synced_at":"2026-05-18T21:01:24.221Z","repository":{"id":267676403,"uuid":"900892185","full_name":"blotspot/obsidian-wake-lock","owner":"blotspot","description":"Obsidian Plugin that ensures your screen stays awake while using the app.","archived":false,"fork":false,"pushed_at":"2026-02-13T19:52:42.000Z","size":306,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-14T02:56:00.820Z","etag":null,"topics":["obsidian-md-plugin","obsidian-plugin","wake-lock-api"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blotspot.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-09T16:59:33.000Z","updated_at":"2026-02-13T19:51:50.000Z","dependencies_parsed_at":"2025-05-13T20:55:06.118Z","dependency_job_id":"8679aeaa-9306-43f2-b703-fc140b39c1ff","html_url":"https://github.com/blotspot/obsidian-wake-lock","commit_stats":null,"previous_names":["blotspot/obsidian-wake-lock"],"tags_count":16,"template":false,"template_full_name":"obsidianmd/obsidian-sample-plugin","purl":"pkg:github/blotspot/obsidian-wake-lock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blotspot%2Fobsidian-wake-lock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blotspot%2Fobsidian-wake-lock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blotspot%2Fobsidian-wake-lock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blotspot%2Fobsidian-wake-lock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blotspot","download_url":"https://codeload.github.com/blotspot/obsidian-wake-lock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blotspot%2Fobsidian-wake-lock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29939004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["obsidian-md-plugin","obsidian-plugin","wake-lock-api"],"created_at":"2026-01-28T08:40:38.896Z","updated_at":"2026-05-18T21:01:24.202Z","avatar_url":"https://github.com/blotspot.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub Release](https://img.shields.io/github/v/release/blotspot/obsidian-wake-lock?sort=semver)](https://github.com/blotspot/obsidian-wake-lock/releases/latest) [![GitHub Release](https://img.shields.io/github/v/release/blotspot/obsidian-wake-lock?include_prereleases\u0026label=latest)](https://github.com/blotspot/obsidian-wake-lock/releases) [![License](https://img.shields.io/badge/license-GPL--3.0-purple.svg)](https://opensource.org/license/gpl-3-0)\n\n# Cook Mode (Screen WakeLock) Plugin\n\nA plugin for [Obsidian](https://obsidian.md) that ensures your screen stays awake while using the app. It leverages the [Screen Wake Lock API](https://www.w3.org/TR/screen-wake-lock/) to prevent your screen from going dark without interaction, making it ideal for long reading, writing or brainstorming sessions, or for using Obsidian as a cook book.\n\n## Features\n\n- **Keeps the display awake** while Obsidian is in the foreground.\n- **Simple and lightweight** implementation with minimal impact on performance.\n- **Multiple activation strategies**:\n  - Always On: Keeps the screen awake as long as Obsidian is open.\n  - Frontmatter: Control activation per file.\n  - Editor Focus: Activates only when the editor is in focus.\n  - Editor Typing: Activates after five seconds of inactivity (while in the editor).\n- **Customizable settings**:\n  - Enable or disable the plugin with a toggle.\n  - Choose your preferred activation strategy.\n  - Show or hide the WakeLock status in the status bar.\n  - Enable or disable notifications for WakeLock events.\n  - Developer mode for debugging.\n- **Cross-platform support**: Works on desktop and mobile platforms (with some limitations on iOS).\n- **Hotkey and command palette integration** for quick toggling.\n- **Status bar integration**: Displays the current WakeLock state.\n\n## Usage\n\nOnce the plugin is enabled, it will automatically keep your screen awake whenever Obsidian is in the foreground. A successful wake lock is indicated by a \"Cook Mode on.\" notification.\n\nYou can toggle the functionality through:\n\n- Hotkeys (configurable in Obsidian settings).\n- The command palette (`Toggle Cook Mode`).\n- The status bar icon (if enabled).\n\n### Activation Strategies\n\n- **Always On**: Keeps the screen awake as long as Obsidian is open.\n- **Frontmatter**: Use `cook-mode: true` in the frontmatter definition to keep the screen awake while the file is active.\n- **Editor Focus**: Activates only when the editor is in focus.\n- **Editor Typing**: Activates after five seconds of inactivity (while in the editor).\n\n**General rule:** The wake lock will release when entering the settings window and reapplied when the settings are exited.\n\n## Compatibility\n\nSee: [Browser Compatibility for the Wake Lock API](https://developer.mozilla.org/en-US/docs/Web/API/WakeLock#browser_compatibility).\n\n### iOS Limitations\n\nDue to partial compatibility, the plugin may not work flawlessly on iOS devices. If the wake lock does not activate when starting the app, try disabling and re-enabling the plugin one or two times. Once it works, it will continue to function until the app is restarted. For convenience, consider creating a keyboard shortcut or configuring your mobile toolbar.\n\n\u003e [!NOTE]\n\u003e For devices running _iOS 18.4_ and later, this is no longer true.\n\n## Installation\n\n### From Github\n\n1. Download the latest release from the [releases page](https://github.com/blotspot/obsidian-wake-lock/releases).\n2. Unzip the downloaded file.\n3. Copy the folder to your Obsidian plugins directory (usually located at `.obsidian/plugins`).\n4. Enable the \"Screen WakeLock\" plugin from the Settings \u003e Community Plugins menu in Obsidian.\n\n### As beta plugin (using BRAT)\n\n1. Install [BRAT](https://github.com/TfTHacker/obsidian42-brat) from the Community Plugins in Obsidian.\n1. Open the command palette and run the command `BRAT: Add a beta plugin for testing`\n1. Copy the project link (https://github.com/blotspot/obsidian-wake-lock) into the modal that opens up.\n1. Make sure **Enable after installing the plugin** is checked\n1. Click on **Add Plugin**\n\n#### Updating\n\nBeta plugins can be updated using the command palette by running the command `Check for updates to all beta plugins and UPDATE`. Optionally, beta plugins can be configured to auto-update when starting Obsidian. This feature can be enabled in the BRAT plugin settings tab.\n\n## API Documentation\n\n- Obsidian API: [https://github.com/obsidianmd/obsidian-api](https://github.com/obsidianmd/obsidian-api)\n- Screen Wake Lock API: [https://www.w3.org/TR/screen-wake-lock/](https://www.w3.org/TR/screen-wake-lock/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblotspot%2Fobsidian-wake-lock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblotspot%2Fobsidian-wake-lock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblotspot%2Fobsidian-wake-lock/lists"}