MobiMouse is a Flask-based application that allows users to control their computer's mouse using a web interface. It provides features such as mouse movement, clicks, scrolling, and screen sharing, making it a versatile tool for remote mouse control.
- Mouse Movement: Control the mouse pointer using a virtual touchpad on the web interface.
- Click Actions: Perform left and right mouse clicks remotely.
- Scrolling: Scroll up and down using dedicated buttons or gestures.
- Screen Sharing: View your computer screen in real-time on the web interface.
- Responsive Design: Works seamlessly on both desktop and mobile devices.
- Python 3.8 or higher
- pip (Python package manager)
- A device with a web browser (e.g., smartphone, tablet, or computer)
- Both the computer and the mobile device must be connected to the same Wi-Fi network.
-
Clone the Repository
git clone https://github.com/iamdivyanshukumar/Cursorflow.git cd Cursorflow
-
Set up a Virtual Environment(in cmd)
python -m venv myenv Cursorflow\myenv\Scripts\activate.bat (relative path of activate.bat)
-
Install Dependencies
pip install -r requirements.txt
-
For runing mouse change directory
cd mobimouse
-
Install Dependencies of mobimouse
pip install -r requirements.txt
-
Find Your Local IP Address On Windows, open the Command Prompt and run:
ipconfig
-
Update the Server IP in the Code Open the index.html file located in the templates folder: index.html Find the line:(use ctrl+f) const socket = io.connect("http://192.168.239.37:5000");
-
Replace 192.168.239.37 with your computer's IPv4 address from the previous step. If it is not working then replace with Default Gateway
-
Run the Application Start the Flask application:
python app.py
-
Access the Application Open your browser on your mobile device or computer and navigate to http://:5000 (replace with your computer's IPv4 address).
Usage Mouse Movement: Use the virtual touchpad on the web interface to move the mouse pointer.
Click Actions: Click the "Left Click" or "Right Click" buttons to perform respective mouse clicks.
Scrolling: Use the "▲" and "▼" buttons to scroll up and down.
Screen Sharing: Click the "Start Screen Share" button to view your computer screen on the web interface. Click "Stop Screen Share" to end the session.
Touch Gestures: On touch-enabled devices, use gestures on the touchpad for smooth mouse movement.