Giter Site home page Giter Site logo

rodionp13 / stf_ios_support Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dryark/stf_ios_support

0.0 1.0 0.0 232 KB

Central repo to connect and document components/repos needed for IOS stf support

License: MIT License

Shell 3.05% Go 75.62% Makefile 6.49% Objective-C 1.65% Ruby 0.62% Python 1.21% JavaScript 0.01% Dockerfile 0.13% Perl 11.22%

stf_ios_support's Introduction

STF IOS Support

Build machine setup

  1. Clone this repo down to your build machine

  2. Install XCode

  3. Add your developer Apple ID to XCode

    1. XCode -> XCode menu -> Preferences -> Accounts Tab
    2. + under Apple IDs list
    3. Choose Apple ID
    4. Login to your account so that dev certs can be downloaded
  4. Run ./init.sh

Deploy server side:

  1. On your STF server machine
    1. Pull STF server image docker pull openstf/stf

    2. Copy docker-compose.yml and .env from server/

    3. Generate certs for your system / domain

    4. Update docker-compose.yml cert paths and .env

    5. Start STF

      1. docker-compose up

Build provider files:

  1. Update config.json

  2. Run make dist

    1. offline/dist.tgz will be created

Deploy provider setup:

  1. Copy offline/dist.tgz from build machine
  2. Run tar -xf dist.tgz
  3. Tweak config.json as desired

Starting provider

  1. Run ./run ( and leave it running )
  2. Plugin one or more IOS device(s)
  3. Permissions dialog boxes appear; select accept for all of them
  4. Device(s) shows up in STF with video and can be controlled. Yay

Setting up with VPN

  1. Install openvpn-server on your STF server machine
  2. Create client certificate(s) using your favorite process...
  3. Create ovpn file(s) with those client certs
  4. Deploy those cert(s) to your provider machines; setting them up in Tunnelblick
  5. Alter config.json on each provider to have the name of the cert setup in Tunnelblick
  6. Start openvpn server on STF server
  7. Start coordinator/provider on each provider machine

Handling video not working

  1. Run ./view_log -proc ffmpeg to check for errors from ffmpeg
  2. Run ./view_log -proc mirrorfeed to check for errors from video feed process
  3. Reboot your IOS device and try again

Increase clicking speed

  1. Jailbreak your IOS device

  2. Install Veency through Cydia

  3. Configure a VNC password if desired

  4. Alter config.json

    1. Set "use_vnc": true
    2. Set "vnc_scale": 2 ( or 3 depending on your device scale )
    3. If password used, set "vnc_password": "[your password]"
  5. Start coordinator

  6. Clicking is now nearly immediate!

Debugging

  1. run ./view_log to see list of things that log
  2. run ./view_log -proc [one from list]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.