Thanks to visit codestin.com
Credit goes to github.com

Skip to content

tisbutanalt2/controlme

Repository files navigation

Control Me!

A fun app made with Electron to let others control your PC in various (mostly) safe ways!

Features

This list is subject to change.

Features are marked with a checkbox which determines whether it has been implemented or not:

  • Discord authentication (requires third party server)
  • Change wallpaper
  • Image popups
  • Video popups*
  • Writing prompts*
  • Play audio*
  • Open URLs
  • Access webcam
  • Take screenshots
  • Upload files and media
  • Autorun executable files
  • Run terminal commands

Installation

The app is shipped with an installer. Download it and run it.

Networking

The majority of people either can't, or don't know how to forward a port in their network.

Because of this, the app has built in support for NGROK.

  1. Create your NGROK account
  2. Copy your auth token
  3. Paste it in Settings > NGROK
  4. Click Start, and a url to your NGROK tunnel should be displayed

The port in which the server is hosted on can be controlled from Settings > Server. If the number 0 is inserted, a random available port will be picked.

Contributing

Bun was used to work on this, hence why each script in package.json uses bun instead of regular node. If you still wish to use NodeJS, check the Using NodeJS section.

1. Clone the repository, and install the required packages

git clone https://github.com/tisbutanalt2/controlme
cd controlme
bun install # or npm install

2. Launch 2 separate terminals. One will be to compile the code, the other will be to launch Electron.

Terminal 1:

bun watch # or npm run node:watch

Terminal 2:

bun start # or npm run node:start

3. Building the app:

bun run build # or npm run node:build

Using NodeJS

The project has been tested with Node V20.9.0.

Since Bun has built in ENV parsing, you'll need to install cross-env

npm install cross-env

To run this project in node, refer to the following commands:

npm run node:watch
npm run node:start
npm run node:build

4. Discord authentication

If you wish to enable discord authentication, you will need to set up or use a third party authentication server. See Control Me Auth if you wish to set up your own auth server.

Steps to set up Discord authentication:

  1. Get the URL to a Control Me authentication server (must be a trusted source)
  2. Paste the server URL in Settings > Security > Authentication server
  3. Go to share, and select the link type "Discord" to copy a link

About

A fun app to let others control your PC

Resources

License

Stars

Watchers

Forks

Packages

No packages published