htejera / ios-bash-streaming

iOS screen mirroring in five lines of bash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bryan


iOS screen mirroring through a socket interface for streaming real time screen capture data out of iOS devices.

Alt Text

Requirements

  1. bash, any recent version should work
  2. Install imagemagick
  3. Install websocketd
  4. Install libimobiledevice
  5. 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.

PRs Welcome


ios-bash-streaming is developed and maintained by Mobilebox team.

About

iOS screen mirroring in five lines of bash

License:MIT License


Languages

Language:Shell 100.0%