Skip to content

lidiogomes/mousejigglerjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub stars GitHub stars GitHub stars GitHub stars GitHub stars GitHub stars

MouseJigglerJS

image exemple


A mouse jiggler written in javascript to move your mouse and the computer doesn't fall asleep.

Requirements

Use the package manager section to install nodejs in different operating systems

https://nodejs.org/en/download/package-manager/

One of the following versions of Node.js must be installed to run npm:

  • 14.x.x >= 14.17.0
  • 16.x.x >= 16.13.0
  • 18.0.0 or higher

Windows:

> choco install nodejs
> node --version
v18.12.1
> npm --version
9.2.0s

Linux:

$ sudo apt update
$ sudo apt install -y nodejs
$ node --version
v18.12.1
$ npm --version
9.2.0

MacOS:

brew install node
node --version
v18.12.1
npm --version
9.2.0

Install

$ npm install -g mousejigglerjs

Usage

Keep the machine awake

$ mousejiggler

image exemple

To stop the mouse movement

Ctrl + c

Set the delay of mouse move

$ mousejiggler --delay=10000

Turn off logo

$ mousejiggler --logo-off

Commands

Command Alias Description
--version Show version number
--delay -d Delay of mouse move
--logo-off Turn off logo
--help Show help

Notes

The time it takes the mouse to move is calculated in milliseconds. If you set a time below 5000ms and accidentally click outside the terminal, you may have trouble terminating the mousejigglerjs. By default time = 10000.

Ctrl + Alt + Delete

About

A CLI mouse jiggler written in javascript to move your mouse and the computer doesn't fall asleep.

Resources

License

Stars

Watchers

Forks

Packages

No packages published