go-caffeine

command module
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2025 License: MIT Imports: 9 Imported by: 0

README ΒΆ

go-caffeine β˜•

A simple command-line utility to prevent your system from sleeping.

Installation πŸš€

go install github.com/xyztavo/go-caffeine@latest

Usage πŸ“–

Run indefinitely:

go-caffeine

Run for specific duration:

go-caffeine -t 1h    # Run for 1 hour
go-caffeine -t 30m   # Run for 30 minutes

Check version:

go-caffeine version

Features ✨

  • πŸ’ͺ Prevents system sleep/screen saver
  • 🌍 Cross-platform support (Windows, macOS, Linux)
  • ⏰ Optional duration timer
  • πŸ”„ Visual spinner indicator
Building from source
git clone https://github.com/xyztavo/go-caffeine.git
cd go-caffeine
go build

License πŸ“„

MIT

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL