Skip to content

doeve/cake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cake 🍰

A premium, production-grade remote control system for your computer.

Project Structure

  • desktop/: Electron + React application (Server & Controller)
  • mobile/: Expo React Native application (Client)
  • shared/: Shared TypeScript types and protocols

Getting Started

Prerequisites

  • Node.js (v18+)
  • npm or yarn

1. Setup

# Install dependencies for all packages
cd desktop && npm install
cd ../mobile && npm install
cd ../shared && npm install

2. Run Desktop App

cd desktop
npm run dev
# In a separate terminal, to start the electron app
npm start

Note: The desktop app will display a QR code and IP address.

3. Run Mobile App

cd mobile
npx expo start

Scan the QR code from the terminal with your phone (using Expo Go) or run on emulator.

4. Connect

  1. Open the Cake Mobile app.
  2. Grant camera permissions.
  3. Scan the QR code displayed on the Cake Desktop app.
  4. Enjoy smooth control!

Features

  • Touchpad: Smooth mouse control with sensitivity adjustment.
  • Keyboard: Type remotely.
  • Gyro Mouse: Tilt your phone to move the cursor.
  • Secure Pairing: Session-based authentication.

Architecture

  • Communication: Socket.io over LAN.
  • Input Simulation: @nut-tree/nut-js.
  • UI: React (Desktop) & React Native (Mobile) with "Soft Frosting" aesthetic.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors