{"id":18486320,"url":"https://github.com/maxgfr/unsleep","last_synced_at":"2026-04-30T10:07:19.408Z","repository":{"id":64851013,"uuid":"573816332","full_name":"maxgfr/unsleep","owner":"maxgfr","description":"Executable which prevents sleeping mode ","archived":false,"fork":false,"pushed_at":"2024-04-10T18:28:17.000Z","size":44676,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-14T11:31:51.013Z","etag":null,"topics":["executable","node","preventing-sleep","typescript","unsleep"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxgfr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-12-03T14:23:07.000Z","updated_at":"2024-04-15T20:43:55.781Z","dependencies_parsed_at":"2024-01-07T21:27:19.445Z","dependency_job_id":"ceafd3c6-6221-48e8-b1be-34dd8bfb6f70","html_url":"https://github.com/maxgfr/unsleep","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxgfr%2Funsleep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxgfr%2Funsleep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxgfr%2Funsleep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxgfr%2Funsleep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxgfr","download_url":"https://codeload.github.com/maxgfr/unsleep/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239201662,"owners_count":19599079,"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":["executable","node","preventing-sleep","typescript","unsleep"],"created_at":"2024-11-06T12:49:00.273Z","updated_at":"2026-04-30T10:07:19.403Z","avatar_url":"https://github.com/maxgfr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unsleep\n\nA simple utility tool to prevent your computer from sleeping by simulating mouse movements and clicks\n\n## Installation\n\n```sh\n# Install globally\nnpm install -g unsleep\n\n# Or use directly with npx without installing\nnpx unsleep\n```\n\n## Usage\n\n```sh\nunsleep [options]\n```\n\n### Options\n\n| Option                           | Description                                         |\n| -------------------------------- | --------------------------------------------------- |\n| `-V, --version`                  | Output the version number                           |\n| `-a, --autoclick`                | Enable auto clicker                                 |\n| `-ad, --autoclick-delay \u003cvalue\u003e` | Delay between auto clicks in ms                     |\n| `-m, --mouse`                    | Enable mouse movement                               |\n| `-md, --mouse-delay \u003cvalue\u003e`     | Delay between mouse movements in ms (default: 5000) |\n| `-h, --help`                     | Display help information                            |\n\n## Examples\n\nBasic usage (default mouse movement every 5 seconds):\n\n```sh\nunsleep\n```\n\nEnable auto clicking (short and long form):\n\n```sh\nunsleep -a\nunsleep --autoclick\n```\n\nSet custom delay for mouse movements (short and long form):\n\n```sh\nunsleep -m -md 10000  # Move mouse every 10 seconds\nunsleep --mouse --mouse-delay 10000\n```\n\nEnable auto clicking with custom delay (short and long form):\n\n```sh\nunsleep -a -ad 3000  # Click every 3 seconds\nunsleep --autoclick --autoclick-delay 3000\n```\n\nCombined options (short and long form):\n\n```sh\nunsleep -m -md 8000 -a -ad 5000\nunsleep --mouse --mouse-delay 8000 --autoclick --autoclick-delay 5000\n```\n\n## Why use unsleep?\n\n- Keep your computer awake during long downloads\n- Prevent screen locking during presentations\n- Bypass inactivity timeouts on various applications\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxgfr%2Funsleep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxgfr%2Funsleep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxgfr%2Funsleep/lists"}