Skip to content

iamdivyanshukumar/mouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MobiMouse

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.

Features

  • 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.

Prerequisites

  • 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.

Installation Process

  1. Clone the Repository

    git clone  https://github.com/iamdivyanshukumar/Cursorflow.git
    cd Cursorflow
    
  2. Set up a Virtual Environment(in cmd)

    python -m venv myenv
    Cursorflow\myenv\Scripts\activate.bat (relative path of activate.bat)
    
  3. Install Dependencies

    pip install -r requirements.txt
    
    
  4. For runing mouse change directory

    cd mobimouse
  5. Install Dependencies of mobimouse

    pip install -r requirements.txt
    
    
    
  6. Find Your Local IP Address On Windows, open the Command Prompt and run:

    ipconfig
    
  7. 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");

  8. 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

  9. Run the Application Start the Flask application:

    python app.py
  10. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •