{"id":21025999,"url":"https://github.com/h1g0/displayoff","last_synced_at":"2025-03-13T18:42:14.875Z","repository":{"id":76207062,"uuid":"67603471","full_name":"h1g0/DisplayOff","owner":"h1g0","description":"A Python script for turning the display off (or on) by using Win32API. Server program is also included so that you may run this script from the web browser on your remote computers.","archived":false,"fork":false,"pushed_at":"2020-12-20T18:33:04.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T14:32:02.931Z","etag":null,"topics":["display","python","python-script"],"latest_commit_sha":null,"homepage":"","language":"Python","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/h1g0.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":"2016-09-07T12:12:40.000Z","updated_at":"2020-12-20T18:33:06.000Z","dependencies_parsed_at":"2023-03-11T21:45:27.283Z","dependency_job_id":null,"html_url":"https://github.com/h1g0/DisplayOff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h1g0%2FDisplayOff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h1g0%2FDisplayOff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h1g0%2FDisplayOff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h1g0%2FDisplayOff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h1g0","download_url":"https://codeload.github.com/h1g0/DisplayOff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243462316,"owners_count":20294908,"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":["display","python","python-script"],"created_at":"2024-11-19T11:41:03.504Z","updated_at":"2025-03-13T18:42:14.840Z","avatar_url":"https://github.com/h1g0.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DisplayOff\nA Python script for turning the display on or off by using Win32API.  \nThe server program is also included so that you may run this script from the web browser on your remote computers.\n\n## main.py\nTurning (on|off) by local compter.\n```\nusage: \npython main.py [-h] [-x | -o] [-w WAIT] \n\noptional arguments: \n  -h, --help            show this help message and exit \n  -x, --off             Turn the display off. (default)\n  -o, --on              Turn the display on.\n  -w WAIT, --wait WAIT  wait \u003cWAIT\u003e seconds before turning off or on. (default=0)\n  ```\n## server.py\n  \n```\nusage:\npython server.py\n ```\n\nOpen your browser and access  \"http://host:port/(on|off)[?wait seconds]\".  \nfor example:  \n*  \"http://localhost:8000/off\" means to turn off  immediately.\n* \"http://192.168.0.2:8080/on?5\" means to turn on in 5 seconds.\n\nTo shutdown the server, please press Ctrl+C.  \nTo configure host and port, please see config.ini.  \nAttention: You may need to configure port and firewall settings on your Internet router. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh1g0%2Fdisplayoff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh1g0%2Fdisplayoff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh1g0%2Fdisplayoff/lists"}