https://github.com/rondeppe/sleeper
Command-line tool for sleeping and logging sleep events
https://github.com/rondeppe/sleeper
command-line command-line-tool go golang sleep sleep-mode suspend terminal tool windows
Last synced: about 2 months ago
JSON representation
Command-line tool for sleeping and logging sleep events
- Host: GitHub
- URL: https://github.com/rondeppe/sleeper
- Owner: RonDeppe
- License: mit
- Created: 2025-01-22T20:02:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-24T15:34:22.000Z (over 1 year ago)
- Last Synced: 2025-02-12T06:39:49.880Z (over 1 year ago)
- Topics: command-line, command-line-tool, go, golang, sleep, sleep-mode, suspend, terminal, tool, windows
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Sleeperđź’¤
Command-line tool for sleeping and logging sleep events
Sleeper is a lightweight Command-line tool written in Go that puts your Windows machine into sleep (suspend) mode. It logs the date, time, and duration of each sleep session, providing a simple and efficient way to monitor your system's sleep activity.
## Instalation
1. Dowload the program directly from [the GitHub releases page](https://github.com/RonDeppe/sleeper/releases/latest).
2. Add a folder for scripts to your PATH variable. Usually this is `C:\Users\{Username}\bin`.
3. Place `sleeper.exe` in this folder.
## Usage
- Run the program by typing `sleeper.exe` in the terminal.
## FAQ
### Q: What platforms are supported
Currently only windows 11 has been tested, but older versions of windows should work.
### Q: Where is the data stored?
The data is located at `C:\Users\{Username}\AppData\Local\sleeper\data.csv`.