Skip to content
Manfred Stienstra edited this page May 25, 2021 · 17 revisions

Getting started

Teletube and the SWITCHtube API are under active development and things will break!

Install

curl -L -o ~/Downloads/Teletube.zip \
  https://github.com/Fingertips/teletube/releases/download/v0.0.6/Teletube.zip
cd ~/Downloads
unzip Teletube.zip
mv Teletube.app /Applications
/Applications/Teletube.app/Contents/MacOS/teletube --help

You may want to add teletube to your path, add the following to ~/.bash_profile or ~/.zshrc:

export PATH="$PATH:/Applications/Teletube.app/Contents/MacOS"

Then open a new terminal to load the changed files.

Configure

Run the following, but make sure to replace <token> with your actual token:

teletube config --endpoint https://tube.switch.ch --token <token>

Or when you are connecting to the staging deployment:

teletube config --endpoint https://staging.tube.switch.ch --token <token>

If your account is properly configured you can fetch your own profile information:

teletube profiles me

Troubleshooting

If you get a message about a binary not allowed to run because it was downloaded from the internet, this may help:

xattr -d com.apple.quarantine /Applications/Teletube.app/Contents/MacOS/teletube
Clone this wiki locally