Skip to content
Jacob Roeland edited this page Aug 6, 2013 · 4 revisions
  1. Begin by signing up for a free account at the ngrok homepage. If you have a Github account you can use it instead of signing up for another username and such.
  2. Download and unzip the ARM based version of ngrok. It's not available (yet) at the ngrok homepage so use this link. Make the executable writable using chmod +x ngrok.
  3. After navigating to your ngrok dashboard, copy your auth token. You'll need this to get a setable subdomain.
  4. Choose your subdomain and then run ./ngrok -authtoken abcdefg123 -subdomain YourSubdomain 8080. This forms a tunnel between your Pidora installation and the outside world, allowing you to access it even when on a different network. This makes using the QR code much more powerful.
  5. After making sure you can access Pidora on a different network, quit the service using Ctrl+C.
  6. Edit your /etc/xdg/lxsession/LXDE/autostart to show something like this:
rm /home/pi/pidora/curSong.json
@python /home/pi/pidora/hello.py
/home/pi/ngrok -authtoken abcdefg123 -subdomain YourSubdomain 8080
@midori -a "http://YourSubdomain.ngrok.com/" -e Fullscreen
  1. Restart your Pi and you can now view and control your Pidora installation from anywhere!

Clone this wiki locally