New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

spin-mouse

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spin-mouse

Fake productivity.

latest
npmnpm
Version
1.0.5
Version published
Maintainers
0
Created
Source

spin-mouse

A Node.js application that uses the robotjs library to spin your mouse in different shapes.

Usage

Default Circle Shape

npx spin-mouse

With Custom Options

npx spin-mouse --radius 200 --speed 0.2 --wait 5

Help

See the available options with -h or --help:

npx spin-mouse -h

Installation

First, make sure you have Node.js installed on your machine. Then, clone this repository and install the dependencies:

SSH

Use SSH if you have set up SSH keys with GitHub:

git clone git@github.com:heystevegray/spin-mouse.git
cd spin-mouse
npm install

HTTPS

Use HTTPS if you prefer not to use SSH:

git clone https://github.com/heystevegray/spin-mouse.git
cd spin-mouse
npm install

Options

OptionDescriptionDefault ValueChoices
-r, --radiusThe radius of the shape in pixels that the mouse will move in.200[100, 200, 300, 400, 500]
-s, --speedThe speed in milliseconds of the mouse movement.0.2[0.1, 0.2, 0.3, 0.4, 0.5]
-x, --shapeThe shape of the mouse movement.circle[circle, square, triangle, sinwave, coswave, heart, boobs, dick]
-w, --waitThe wait time in seconds between each spin cycle.5[5, 10, 15]
-d, --debugShow debug information.false[true, false]
-h, --helpShow help information about how to use the program and its options.

Terminating the Program

You can stop the program using one of the following methods:

  • Keyboard Interrupt: Press Ctrl + C in the terminal.
  • Quit Terminal: Close the terminal window. Note that the program waits at least 5 seconds between spins, giving you time to interrupt it.

How It Works

  • The application parses the command-line arguments using the yargs library.
  • It retrieves the screen size using robotjs.
  • Based on the provided options, it calculates the path for mouse movement.
  • The mouse is moved in the specified shape on the screen using robotjs.

Keywords

mouse

FAQs

Package last updated on 01 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts