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.4.tar.gz (9.0 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.4-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aircursor-1.0.4.tar.gz
  • Upload date:
  • Size: 9.0 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.4.tar.gz
Algorithm Hash digest
SHA256 f8e295bb3e13bf5569ca2f57f22a61448ce45581219d4e9351f945b9c5de1c0b
MD5 d8a19bb8e29043018188070b94408a8f
BLAKE2b-256 e8b7aba9607b87142526a27a8b1bfba04d3a03fabdf3b49c31f0ec647e8695cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aircursor-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 de6175fa3c29c2754b122feef30ce788a4133a41049161f2559ee9f83779caba
MD5 996ca01c96543d409cc588b7fd213b03
BLAKE2b-256 f7ac463c49ac84ac9542981768de83a15b64c81ea25f0eb33bc5482efbbe2775

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