Skip to content

Control your computer mouse remotely from another device using a simple browser-based interface. This project uses Express.js to serve the UI, Socket.IO for real-time communication, and @nut-tree/nut-js to control the mouse.

License

Notifications You must be signed in to change notification settings

rimnaarith/mini-mouse-remote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦 Mini mouse remote

Control your computer mouse remotely from another device using a simple browser-based interface. This project uses Express.js to serve the UI, Socket.IO for real-time communication, and @nut-tree/nut-js to control the mouse.


🚀 Features

  • 📡 Real-time remote control via WebSocket
  • 🖱️ Move, click, and scroll your mouse
  • 🌐 Works on any device with a browser (mobile/tablet/desktop)
  • ⚡ Fast and lightweight implementation

🛠 Tech Stack


📦 Installation

git clone https://github.com/rimnaarith/mini-mouse-remote.git
cd mini-mouse-remote
npm install

▶️ Start the Server

npm start

Then open your browser and go to:

http://<your-ip>:3000

💡 Tip: You must access the server from the same local network (e.g., your phone and computer are on the same Wi-Fi).


📱 Mobile Controls

The web interface supports:

  • 🖱️ Moving the mouse by dragging your finger
  • 📍 Tap to click
  • 🌀 Two-finger swipe to scroll

📁 Project Structure

mini-mouse-remote/
├── public/             # Frontend HTML/JS files
├── server.js           # Main Express + Socket.IO backend
├── package.json
└── README.md

🔒 Permissions

To allow @nut-tree/nut-js to control your mouse, you might need to:

  • ✅ Enable accessibility permissions (macOS)
  • ✅ Run terminal with admin rights (Windows/Linux)

🧪 Development

To auto-restart on changes (optional):

npm install --save-dev nodemon
npx nodemon server.js

About

Control your computer mouse remotely from another device using a simple browser-based interface. This project uses Express.js to serve the UI, Socket.IO for real-time communication, and @nut-tree/nut-js to control the mouse.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published