A lightweight app to copy text from a windows machine and
immediately be able to paste on all apple devices and vice versa!
- MacOS 13.0 or >
- XCode
- NodeJS
-
Clone the repo
git clone https://github.com/SuneharSandhu/UniversalClipboard.git
-
On a Mac, open
UniversalClipboard.xcodeproj
-
On a windows machine, start the websocket server from terminal:
-
Copy the address from the forwarding line and paste that in the index.html here:
Note: Prefix with
ws
instead oftcp
here. -
Now in yet again another terminal, start the http server:
http-server -p 8889 // you can use any port number here
-
Open up a browser and type in localhost:8889
-
Now open
UniversalClipboard.xcodeproj
in XCode on your Mac and paste the same forwarding address you pasted inindex.html
in theWebsocketManager.swift
file -
Now run the project and you should see a menu bar icon at the top like so:
Note: If you see a slash, it means it either failed to connect to the websocket or the server isnt running.