Skip to main content

Remote mouse control server with web interface and REST API

Project description

AirCursor - Remote Mouse Control Server

     _    ___ ____   ____ _   _ ____  ____   ___  ____  
    / \  |_ _|  _ \ / ___| | | |  _ \/ ___| / _ \|  _ \ 
   / _ \  | || |_) | |   | | | | |_) \___ \| | | | |_) |
  / ___ \ | ||  _ <| |___| |_| |  _ < ___) | |_| |  _ < 
 /_/   \_\___|_| \_\____\___/|_| \_\____/ \___/|_| \_\

A lightweight, cross-platform HTTP server that transforms your computer into a remote-controllable mouse. Perfect for presentations, media centers, IoT projects, and accessibility solutions.

Created by: NiqueWrld

PyPI version Python 3.9+ License: MIT

Quick Start

Installation

pip install aircursor

Running the Server

# Run directly
aircursor

# Or with Python module
python -m aircursor

Features

  • Full Mouse Control: Move cursor, click, scroll, and drag operations
  • Web Interface: Clean, responsive interface accessible from any device
  • RESTful API: Programmatic control for automation and integration
  • QR Code Access: Instant connection via generated QR codes
  • Multi-Platform: Works on Windows, macOS, and Linux
  • Local Network: Secure operation within your local network
  • Lightweight: Minimal resource usage and fast response times

API Reference

Get Cursor Position

GET /api/v1/cursor

Set Cursor Position

PUT /api/v1/cursor
Content-Type: application/json

{"x": 500, "y": 300}

Move Cursor (Relative)

PATCH /api/v1/cursor
Content-Type: application/json

{"dx": 10, "dy": -5}

Mouse Click

POST /api/v1/click
Content-Type: application/json

{
  "button": "left",
  "count": 1,
  "at": {"x": 100, "y": 200}
}

Scroll

POST /api/v1/scroll
Content-Type: application/json

{"dx": 0, "dy": -3}

Contributing

Contributions are welcome! Please visit the GitHub repository for more information.

License

This project is licensed under the MIT License.


** Give it a star on GitHub!**

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aircursor-1.0.5.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aircursor-1.0.5-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file aircursor-1.0.5.tar.gz.

File metadata

  • Download URL: aircursor-1.0.5.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for aircursor-1.0.5.tar.gz
Algorithm Hash digest
SHA256 7d0a337d1b4bae6bf0e0d0421f7673f0cbbc5e326af2f0342338b88ee6590023
MD5 20c0a156a4a629199c76b035881cdfde
BLAKE2b-256 7ff0b8e88b4a35e3bf7787e605fdd0ba1efe63bb9d982a80a666bcad16a209e1

See more details on using hashes here.

File details

Details for the file aircursor-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: aircursor-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for aircursor-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 77a1c87177b127c43033a33f0cd724b2f8e65222721046830c806c05b0ac84e9
MD5 538f4326010b9bc54e2d5b1fa327c24f
BLAKE2b-256 fbafe39501e84ac33fb7242006e2bc759f94f0633bb11730119ceeb41b4da522

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page