Node-iMessage – Query iMessage from terminal and Node.js
github.com
github.com
It's probably not possible to do this in pure Node but if it's of interest here is the gist: https://gist.github.com/roldershaw/7311547
Now I can see iMessage chatbots being made :P
EDIT: ...which appears to be a simple wrapper around osascript.
[1]: https://developer.apple.com/library/mac/releasenotes/Interap...
The gist version should even be able to handle input from stdin: https://gist.github.com/aktau/8958054
Like this: ./imessage <number> < notes.txt
I use it quite often :). The most difficult thing to me was getting it to work even when Messages.app wasn't started. Applescript is quite frustrating for someone who's never dealt with it before. This was on Mavericks though, not sure if that's still a problem on Yosemite. Does your version have problems with that?
I don't use this anymore because I've ditched my iPhone.
I'm new to programing and I'm wondering if this happened in the past for other technologies when they were released. Did they reached the same spectrum?
Best regards.
I don't see any particularly interesting innovation from Node.js projects when compared with any other similar community.
One of my favorites is torrent-mount. It allows me to use virtual machines directly from a torrent stream, rather than first downloading the entire vm.
For example, torrent-mount's idea isn't something novel. It was voiced[1] and implemented[2][3] a number of times before, and the links are what I got just by a single Google query. It's just that Node is a trending platform today (although some may say it's popularity peak had passed already), so the surrounding chatter's more active and thus you're likely to find out about those.
Or, possibly, there's even some bias like when you're looking for interesting projects on resources where JS-favoring people gather.
[1] http://permalink.gmane.org/gmane.comp.file-systems.fuse.deve... [2] https://github.com/rkfg/BTFS [3] http://btslave.sourceforge.net/
On the flip side, it is nice when (compared to ruby) you have two dependencies that depend on incompatible versions of the same library.
But I think Node's packages are coming in at a faster rate, and they're more publicized.
From my vantage point, Node is poised to replace Java as the write-once, run anywhere platform. Well, as long as that platform has Webkit running.