IRLauncher : Launch IR signals from your favorite launcher (Quicksilver, Alfred, ..)
Objective-C Ruby Other
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
AlfredExtension
Dependencies
IRLauncher.xcodeproj
IRLauncher.xcworkspace
IRLauncher
IRLauncherTests
IRSender
Web
Xattr
.gitignore
.gitmodules
.uncrustifyconfig
Acknowledgements.markdown
Gemfile
Gemfile.lock
LICENSE
Podfile
Podfile.lock
README.markdown
Rakefile

README.markdown

IRLauncher : Launch IR signals from your favorite launcher (Quicksilver, Alfred, ..)

IRLauncher is a Mac client for IRKit device.
Get one from Amazon.co.jp and set it up before using this.

IRLauncher's purpose is to be the fastest way to control home electronics when you're using a Mac.
Fastest means not leaving home position on keyboard, obviously.
I heavily use Quicksilver, many others use Alfred 2 or Spotlight, so why not send infrared signals utilizing a launcher app?

Demo

IMAGE ALT TEXT HERE
Click to play on YouTube.

Installation

Download the latest release and place it in /Applications directory.

  1. Launch IRLauncher.app
  2. Click on either "Install Quicksilver extension" or "Install Alfred extension".
  3. Learn an IR signal and set it's name.
  4. Use Quicksilver, Alfred 2 or Spotlight (or any other launcher) to send the IR signal!

Quicksilver

Type IR signals' name, <TAB> and select IRSender action.

Quicksilver screenshot

Alfred 2

Type ir<space> and then IR signals' name.

Alfred 2 screenshot

You need Powerpack license to use this.

How does this work?

IRLauncher stores IR signal JSON representation files under ~/.irkit.d/signals directory, with a filename you give.
Quicksilver, Alfred 2 extensions tell their indexer to index files under ~/.irkit.d/signals.
IRLauncher also sets the custom launch application of the IR JSON representation file to itself, so you can just double click aircon-off.json to turn off your air conditioner.

You can also call /Applications/IRLauncher.app/Contents/MacOS/IRLauncher ~/.irkit.d/signals/aircon-off.json to send it.

IRLauncher uses NSDistributedNotificationCenter, make sure you're not killing distnoted which manages NSDistributedNotifications.

How to build?

# Get code
git clone git@github.com:irkit/osx-launcher.git

# Dive into it
cd osx-launcher

# Fetch dependencies
pod install
git submodule init
git submodule update

# Get IRKit API key
open "http://getirkit.com/en/#post-/1/apps"
cp IRLauncher/APIKey.plist.template IRLauncher/APIKey.plist
open IRLauncher/APIKey.plist
# Paste your API key into APIKey.plist

# Go!
open IRLauncher.xcworkspace

More information

Acknowledgements

Thank you.