Skip to content

Instantly share code, notes, and snippets.

@alexandregz
Created May 8, 2016 18:45
Show Gist options
  • Save alexandregz/314edc0b49563c649fe76ec9a5fde282 to your computer and use it in GitHub Desktop.
Save alexandregz/314edc0b49563c649fe76ec9a5fde282 to your computer and use it in GitHub Desktop.
open owntracks recorder with double clicking (OSX)
#!/bin/sh
#
# open owntracks recorder.
#
# Requirements (OSX):
# 1) install recorder (brew tap owntracks/recorder && brew install recorder)
# 2) vi /usr/local/etc/ot-recorder.sh and add mqtt host/login/pass/...
# 3) chmod +x this_script.command
#
/usr/local/etc/ot-recorder.sh &
sleep 1
open http://127.0.0.1:8083/table/
open http://127.0.0.1:8083/last/index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment