Skip to content

Repository files navigation

remote-control

Description

Remote control your computer using the remote-control server. This server enables you to control your computer from your phone. The project was initially created to control a Raspberry Pi connected to a TV via mobile device.

Remote Control Demo

Usage

Github releases

  • Download the latest release for your platform from the releases page.
  • Extract the archive to a folder of your choice.
  • Run the executable:
    • linux: ./remote-control-server
    • macos: ./remote-control-server
    • windows: remote-control-server.exe

From source

  1. Install bun.js if you haven't already.
  2. git clone this repository.
  3. Navigate to the project directory.
  4. Run bun install to install dependencies.
  5. Mobile Setup:
    • Ensure your mobile device is connected to the same network as the server.
  6. Start the server:
    • For HTTP: bun server.mjs
    • For HTTPS with self-signed certificates: bun server.mjs -s
  7. The default browser will open with a QR code.
  8. Scan it with your mobile device to access the remote control UI.
  9. To enable the mobile debug console on the controller page, open the URL with ?debug, for example http://<server-ip>:3000/index.html?debug.

GitHub Releases

Each push to main, including merges, triggers GitHub Actions to build release bundles for Linux, macOS, and Windows.

  • Release tags and release names use the version from package.json, for example v0.0.11.
  • Assets are published as platform-specific archives containing the executable and the required public/ files.

Before merging to main, do bun run pub, to update package.json and package-lock.json with the new version. The GitHub Actions workflow will then use this version to create the release.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages