Ensemble icon indicating copy to clipboard operation
Ensemble copied to clipboard

Port to other platforms

Open saagarjha opened this issue 1 year ago • 4 comments

Stream to iOS, cast from Windows/Linux, …

saagarjha avatar Feb 01 '24 03:02 saagarjha

Yes please, Windows support would be great, what are the steps to make that work exactly? A rough outline

Geczy avatar Feb 02 '24 23:02 Geczy

  • Write a new communication protocol that works on Windows and visionOS
  • Write a Windows client that handles all the things the Mac app does (recording windows, forwarding events)

This is probably a couple weeks of effort, and I don't use Windows, so I don't plan to look into this right now.

saagarjha avatar Feb 03 '24 00:02 saagarjha

If this is the route this project ends up going I think something like Tauri would be a good candidate to build the host application in. This would make the maintenance of the host app much simpler since the code could be shared between Windows and Mac, and I've actually run a Swift library in Tauri before as well.

billyjacoby avatar Feb 03 '24 15:02 billyjacoby

There's not a whole lot of UI that needs to be written (you can see how little is in the Mac app!) It's more that you'd need OS-specific code to handle plumbing that cannot be easily be done in a cross-platform framework.

saagarjha avatar Feb 04 '24 11:02 saagarjha