{"id":26205173,"url":"https://github.com/blckclov3r/mouse-move","last_synced_at":"2025-10-16T03:17:48.330Z","repository":{"id":279568219,"uuid":"850290750","full_name":"blckclov3r/mouse-move","owner":"blckclov3r","description":"This is application designed to demonstrate mouse control and logging using TypeScript. The application draws a square at the current mouse position and performs network ping checks.","archived":false,"fork":false,"pushed_at":"2025-02-26T08:11:50.000Z","size":84638,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T09:23:37.044Z","etag":null,"topics":["es6","executable","mouse-movement","mouse-pointer","nodejs","ping","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blckclov3r.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-31T11:27:13.000Z","updated_at":"2025-02-26T08:11:55.000Z","dependencies_parsed_at":"2025-02-26T09:33:43.895Z","dependency_job_id":null,"html_url":"https://github.com/blckclov3r/mouse-move","commit_stats":null,"previous_names":["blckclov3r/mouse-move"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blckclov3r%2Fmouse-move","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blckclov3r%2Fmouse-move/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blckclov3r%2Fmouse-move/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blckclov3r%2Fmouse-move/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blckclov3r","download_url":"https://codeload.github.com/blckclov3r/mouse-move/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243158975,"owners_count":20245669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["es6","executable","mouse-movement","mouse-pointer","nodejs","ping","typescript"],"created_at":"2025-03-12T04:36:16.607Z","updated_at":"2025-10-16T03:17:43.292Z","avatar_url":"https://github.com/blckclov3r.png","language":"TypeScript","readme":"# Mouse Move\n\nThis application demonstrates mouse control and logging using TypeScript. It moves the mouse to draw a square at the\ncurrent position every minute and performs network ping checks. This application is intended solely for testing and\neducational purposes.\n\n## Features\n\n- **Mouse Control**: Moves the mouse and draws a square on the screen every minute.\n- **Network Monitoring**: Performs periodic network ping checks.\n\n## Prerequisites\n\n- **Node.js**: Ensure Node.js is installed (v18 or newer is recommended).\n- **TypeScript**: The project uses TypeScript for type safety.\n\n## Installation\n\n1. **Clone the repository**:\n\n    ```sh\n    git clone https://github.com/blckclov3r/mouse-move.git\n    cd mouse-move\n    ```\n\n2. **Install dependencies**:\n\n    ```sh\n    npm install\n    ```\n\n## Scripts\n\n- **`npm run start`**: Builds the TypeScript files and runs the application.\n- **`npm run build`**: Compiles TypeScript files into JavaScript.\n- **`npm run pkg`**: Packages the application for different platforms (Linux, macOS, Windows).\n\n## Executables\n\nPre-built executable files are available for different platforms:\n\n- **[Linux](https://raw.githubusercontent.com/blckclov3r/mouse-move/master/app-linux)**\n- **[macOS](https://raw.githubusercontent.com/blckclov3r/mouse-move/master/app-macos)**\n- **[Windows](https://raw.githubusercontent.com/blckclov3r/mouse-move/master/app-win.exe)**\n\nThese files allow you to run the application directly on your platform without needing to build it yourself.\n\n## Usage\n\n1. **Start the application**:\n\n   Execute the following command to start the application. It will draw a square every minute when the mouse is idle and\n   perform periodic network pings:\n\n    ```sh\n    npm start\n    ```\n\n2. **Configuration**:\n\n   Adjust the application’s behavior by modifying the `startMovement` arguments in the `index.ts` file:\n\n    - `size`: Size of the square to draw.\n    - `pingUrl`: List of URLs to ping.\n    - `mouseMovementSpeed`: Speed of the mouse movement when drawing the square.\n    - `mouseCheckInterval`: Interval (in milliseconds) for checking the mouse position.\n\n## Acknowledgments\n\nThis project utilizes the following libraries:\n\n- **[@nut-tree-fork/nut-js](https://github.com/nut-tree/nut.js)**: Provides cross-platform mouse control and automation.\n- **[kleur](https://github.com/lukeed/kleur)**: Enhances console output with color.\n- **[ping](https://github.com/danielzzz/node-ping)**: Manages network ping operations for connectivity checks.\n\n## Disclaimer\n\nThis project is intended for educational and testing purposes only. The application draws a square every minute and is\nnot intended for production use. Use it at your own risk.\n\n## License\n\nMIT \u0026copy; [blckclov3r](https://github.com/blckclov3r/mouse-move?tab=MIT-1-ov-file)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblckclov3r%2Fmouse-move","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblckclov3r%2Fmouse-move","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblckclov3r%2Fmouse-move/lists"}