Skip to content

A PC host LAN controller, enabling mobile phones to access a web page panel for PC control.

License

Notifications You must be signed in to change notification settings

Mehver/iController

Repository files navigation

iController v0.6.2

English | 简体中文

   

1 Description

A host LAN controller software running on Windows and macOS (read description below) PC, enabling mobile phones to access a web page panel for PC control.

1.1 Features

  • Touchpad
  • Mouse Buttons (Left, Right, Middle)
  • Mouse Wheel
  • D-Pad
  • Keyboard
  • Volume Slider

2 Usage

2.1 Windows

Download portable application from the Release page.

Currently, the program is CLI interactive. When starting, you can manually provide the port number, and the program will automatically detect to ensure that the port is available and conflict-free. After starting, use the mobile browser to access the LAN IP address and port of the computer.

2.2 macOS

Important

Due to the introduction of additional features starting from v0.6.0, it is difficult to perfectly support macOS through the non-installation method. Therefore, the packaging files for macOS are temporarily not provided, v0.5.1 is the last stable version that supports macOS.

For v0.5.1, you can download from the Release v0.5.1 page.

Note: For macOS, due to permission issues, the directly downloaded iController cannot be trusted by the system, the only solution at present is to open the switch of Settings > Privacy & Security > Developer Tools > Terminal.

3 Development

3.1 Requirements

3.2 Frontend

Development

npm run react

Build

npm run build

3.3 Backend

Windows

For Python environment, recommend using ./bin/dev-pyvenv/newenv.bat to create a new virtual environment. Then run:

venv\Scripts\activate

to enter the virtual environment. Or add the virtual environment to your IDE.

macOS

For Python environment, recommend using ./bin/dev-pyvenv/newenv.sh to create a new virtual environment. Then run:

source venv/bin/activate

to enter the virtual environment. Or add the virtual environment to your IDE.

3.4 Compile / Package

Recommend use win-onefile.bat / mac-onefile.sh in ./bin/packaging/ to package the application. Note that after testing, some Python v3.10.x versions may have mysterious errors. Only Python v3.10.10 is recommended.

4 Built With / Tech Stack

5 License

MPL 2.0

Copyright © 2024-PRESENT GitHub@Mehver/iController , All Rights Reserved.