{"id":24796042,"url":"https://github.com/vinayakchandra/remote-mouse","last_synced_at":"2026-04-28T22:34:50.868Z","repository":{"id":266448351,"uuid":"898341706","full_name":"vinayakchandra/Remote-Mouse","owner":"vinayakchandra","description":"control the mouse cursor remotely in the same network and simulate left and right clicks.","archived":false,"fork":false,"pushed_at":"2024-12-16T18:36:48.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T20:17:31.991Z","etag":null,"topics":["flask","pynput","python","websocket"],"latest_commit_sha":null,"homepage":"https://vinayakchandra.github.io/Remote-Mouse/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vinayakchandra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-04T08:16:40.000Z","updated_at":"2024-12-16T18:36:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"6fed9f81-7f7f-434b-92fe-e97a1cfae585","html_url":"https://github.com/vinayakchandra/Remote-Mouse","commit_stats":null,"previous_names":["vinayakchandra/remote-mouse"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vinayakchandra/Remote-Mouse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinayakchandra%2FRemote-Mouse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinayakchandra%2FRemote-Mouse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinayakchandra%2FRemote-Mouse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinayakchandra%2FRemote-Mouse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vinayakchandra","download_url":"https://codeload.github.com/vinayakchandra/Remote-Mouse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinayakchandra%2FRemote-Mouse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32402671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["flask","pynput","python","websocket"],"created_at":"2025-01-30T00:30:42.973Z","updated_at":"2026-04-28T22:34:50.852Z","avatar_url":"https://github.com/vinayakchandra.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Remote Mouse Tracker\n\nA web-based application that allows users to control the mouse cursor remotely and simulate left and right clicks. The\napplication uses `Flask` for the backend, `WebSockets` for real-time communication, and HTML with JavaScript on the\nfrontend to track mouse movements and handle click events.\n\n## Features\n\n- Track and move the mouse cursor remotely based on user input.\n- Simulate left and right mouse clicks through buttons on the web interface.\n- Real-time communication between the web interface and Python backend using WebSockets.\n\n## API Endpoints\n\n| Method | Endpoint                | Description                                                    |\n|--------|-------------------------|----------------------------------------------------------------|\n| `GET`  | `/`                     | Renders the main `HTML` page with the mouse tracker interface. | \n| `GET`  | `/left_click`           | Simulates a left-click.                                        | \n| `GET`  | `/right_click`          | Simulates a right-click.                                       |\n| `WS`   | `ws://\u003cserver_ip\u003e:8765` | WebSocket connection for real-time mouse position updates.     | \n\nYou can install the necessary Python libraries using `pip`:\n\n```bash\npip install -r requirements.txt\n```\n## How to run Project?\n```bash\npython app.py\n```\n```bash\npython move.py\n```\n\n## Flask Backend\n\nThe `Flask` application serves the HTML page and has two endpoints:\n\n- `/`: Renders the main page.\n- `/left_click` and `/right_click`: Simulate left and right mouse clicks using the `pynput` library.\n\n## WebSocket Server\n\nThe `WebSocket` server listens for incoming messages that contain `x` and `y` coordinates, then adjusts the mouse\nposition\nbased on those values. It resizes the coordinates to match the system's screen resolution.\n\n## Frontend (HTML + JavaScript)\n\nThe frontend listens for mouse movements inside the tracker box and sends the coordinates to the WebSocket server.\nIt also sends requests to the Flask server to simulate left and right clicks when the corresponding buttons are pressed.\n`http://\u003cserver_ip\u003e:5000`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinayakchandra%2Fremote-mouse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinayakchandra%2Fremote-mouse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinayakchandra%2Fremote-mouse/lists"}