iOS screen mirroring through a socket interface for streaming real time screen capture data out of iOS devices.
Requirements
- bash, any recent version should work
- Install imagemagick
- Install websocketd
- Install libimobiledevice
- Lightning cable
Getting started
chmod +x smile.sh
Check all available devices:
instruments -s devices
Run the below command to start the service (you need to provide the device id):
websocketd --port=9231 --staticdir=web sh smile.sh DEVICE-ID
Go to http://127.0.0.1:9231/ You will see the connected device.
Frequently Asked Questions
Is this for real?
Yes. It’s not big, and it’s not clever but this is a real iOS screen mirroring in five lines of bash.
How do I install it?
You don't install it.
Does it support websockets?
Yes.
Limitations?
Does not do a high framerate.
Does it work on Windows?
Mmm... maybe.
Contribution
Any ideas are welcome. Feel free to submit any issues or pull requests.
ios-bash-streaming is developed and maintained by Mobilebox team.