Skip to content

fontainecoutino/dont-sleep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dont-sleep

TUI app to prevent system from sleeping

demo-gif

Background

Sometimes I need to keep my computer awake. I noticed it's either waiting for some time to pass or for a process to end.

Caffeinate is a Mac utility that solves this issue; however, I need ascii art and a nice moving pic (I'm gen-z btw).

Getting Started

Prerequisites

A machine running MacOS (x-86) is required which includes Caffeinate by default.

Installation

Clone and build

git clone https://github.com/fontainecoutino/dont-sleep.git
cd dont-sleep
go build -o dont-sleep main.go

If you'd like to add to the global binaries. Needs sudo priviliges.

sudo cp ./dont-sleep /usr/local/bin/

Additional

  • I hope to include other systems as well; however, I work exclusively on a Mac.
  • "if it's dumb and it works, it's not dumb" - someone