chfritz / typhone

An open-source, meteor-based web service and app for controlling your smartphone from your desktop.
http://typhone.xyz
Apache License 2.0
37 stars 12 forks source link

Quick "Getting Started" instructions #8

Open thapar opened 9 years ago

thapar commented 9 years ago

As per the description, I like what you are trying to do. I just don't know how you are doing it. A few lines of instruction to get going would be great in README.md!

chfritz commented 9 years ago

Are you familiar with meteor? It's actually pretty straightforward. There is just one collection Clipboard and when a mobile scans the qr code that mobile client subscribes to a specific document in that collection. Henceforth everything works by making updates to that one document, and the mobile client uses observeChanges to respond to them. So the only logic is in responding to the content/commands in the document.