Skip to content

ZachJW34/pc-companion

Repository files navigation

Logo

PC Companion

What is PC Companion?

PC Companion is program that allows you to control your PC (Windows, Mac, Linux) via a local webapp.

Logo

Why?

I like to game on my PC using a controller in a comfy recliner and have had issues with wireless keyboards. There are many remote PC controller apps out there but many paywall certain mouse/keyboard interactions and are closed source (who knows what they are recording...). This application runs entirely on your local network and the code you clone is the code that's run.

How to use

Requirements

Bun= v1.1.7

Clone, Build, Run

  1. git clone https://github.com/ZachJW34/pc-companion.git && cd pc-companion

  2. bun install

  3. bun run build

  4. bun run start

A local server is now running, visit the url printed in the terminal output and control your PC remotely!

Development

bun run dev

This will spawn two processes, the bun server that listens to WebSocket messages and the frontend server (Vue + Vite).

The Vite server can be accessed from any device on your local network by visiting http://<ip-address-of-machine-running-server>:<port>.

Contributions Welcome!!!

If you find any issues, feel free to post an issue. If you want to contribute, fork the repo and open a pull request.