{"id":16359454,"url":"https://github.com/alexanderepstein/sandman-lite","last_synced_at":"2025-03-21T00:31:41.322Z","repository":{"id":84408289,"uuid":"90439338","full_name":"alexanderepstein/Sandman-Lite","owner":"alexanderepstein","description":"A Lightweight Script Built With Late Night Developers In Mind ","archived":false,"fork":false,"pushed_at":"2017-07-10T15:14:14.000Z","size":15438,"stargazers_count":68,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-17T19:21:23.454Z","etag":null,"topics":["bash","insomnia","linux","mac","productivity","shell","sleep"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/alexanderepstein.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":"2017-05-06T05:21:11.000Z","updated_at":"2025-02-25T23:03:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b942f81-0349-4103-bbe9-f208a86c096d","html_url":"https://github.com/alexanderepstein/Sandman-Lite","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexanderepstein%2FSandman-Lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexanderepstein%2FSandman-Lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexanderepstein%2FSandman-Lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexanderepstein%2FSandman-Lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexanderepstein","download_url":"https://codeload.github.com/alexanderepstein/Sandman-Lite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244717391,"owners_count":20498283,"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":["bash","insomnia","linux","mac","productivity","shell","sleep"],"created_at":"2024-10-11T02:08:23.677Z","updated_at":"2025-03-21T00:31:41.316Z","avatar_url":"https://github.com/alexanderepstein.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n # ![Sandman-Lite](https://github.com/alexanderepstein/Sandman-Lite/blob/master/assets/sleep_github.png) Sandman-Lite ![Sandman-Lite](https://github.com/alexanderepstein/Sandman-Lite/blob/master/assets/sleep_github.png)\n\n ####  a lightweight script built with late night developers in mind\n\n![Version](https://img.shields.io/github/release/alexanderepstein/Sandman-Lite/all.svg)   [![Codacy Badge](https://api.codacy.com/project/badge/Grade/b968a73e9fef4a96b214f1cab8a1536b)](https://www.codacy.com/app/alexanderepstein/Sandman-Lite?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=alexanderepstein/Sandman-Lite\u0026amp;utm_campaign=Badge_Grade)  ![language](https://img.shields.io/badge/language-bash-lightgrey.svg)  ![platform](https://img.shields.io/badge/platform-OSX%20%26%20GNU%20Linux-blue.svg)  [![license](https://img.shields.io/github/license/mashape/apistatus.svg?style=plastic)]()\n\n\n ## Crossplatform G.U.I. Version Can Be Found \u003ca href=\"https://github.com/alexanderepstein/Sandman\"\u003ehere\u003c/a\u003e\n\n Sandman will remind you to take a rest and that you can always come back to the work tomorrow.\n\nA sleep cycle is a 90-minute chunk of time where your body transitions through various phases of sleep — all the way down to deep REM sleep — then back again. Some health experts believe that these 90-minute sleep cycles are the key to restful sleep. They recommend trying to sleep exactly 7.5 hours — or even 9 hours, if you have the time.\n\nBased on the time you need to wake up — and assuming it will take you 15 minutes to fall asleep — Sandman will notify you throughout the evening at specific times when you could go to sleep and maximize your number of full sleep cycles.\n\n\nThis script works well with https://justgetflux.com/\n\nInspired by http://sleepyti.me\n\n\u003c/div\u003e\n\n\n\n## In Action\n\n![Sandman-Lite-Usage](https://github.com/alexanderepstein/Sandman-Lite/blob/master/assets/usage.gif)\n\n\n## Installing\n\n#### 1). Get The Source Code\n\n```bash\ncd ~\ngit clone https://github.com/alexanderepstein/Sandman-Lite\ncd Sandman-Lite\n```\n #### 2). Install sandman-lite\n\n ###### To install the latest stable release\n ```bash\n git checkout v1.6.0\n chmod a+x install.sh\n ./install.sh\n ```\n  ###### To install the nightly builds\n   ```bash\n chmod a+x install.sh\n ./install.sh\n ```\n\n\n## Usage\nFirst set a desired wake up time using ```sandman-lite -s xx:xx```\n\nTo get the times of the set notifications ```sandman-lite -g```\n\nTo test the rest notification behavior ```sandman-lite -t```\n\nTo remove all pending notifications ```sandman-lite -r```\n\nTo check for and download/install sandman-lite updates ```sandman-lite -u```\n\nTo get help using sandman-lite ```sandman-lite -h```\n\nTo get sandman-lite version ```sandman-lite -v```\n\n\n\n## Removing\n```bash\ncd ~/Sandman-Lite\n./uninstall.sh\n```\n\n\n\n```bash\n( •_•)\n( •_•)\u003e⌐■-■\n(⌐■_■)\n```\n\n# Helping Out\n##### Feel free to fork this repository add some code and submit a pull request\n\n### List of yet to be implemented features\n* Add option to show parsed times in 24 or 12 hour formatting\n* No uptime notification\n* No error exiting in main script\n\n## Known Bugs\n\n* Uninstaller script doesn't uninstall the dependencies if they weren't their before installation of sandman-lite\n\n## Donate\nIf this project helped you in any way and you feel like buying a broke college kid a cup of coffee\n\n[![Donate](https://img.shields.io/badge/Donate-Venmo-blue.svg)](https://venmo.com/AlexanderEpstein)\n[![Donate](https://img.shields.io/badge/Donate-SquareCash-green.svg)](https://cash.me/$AlexEpstein)\n\n## License\n\nMIT License\n\nCopyright (c) 2017 Alex Epstein\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexanderepstein%2Fsandman-lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexanderepstein%2Fsandman-lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexanderepstein%2Fsandman-lite/lists"}