News for hackers. Stuff that matters.
Re:Popcorn Time – Watch torrent movies instantly by alexose on Tuesday March 11, 2014 @10:54AM (#7379504)
If you're interested in node, I highly recommend poking around the source files. Pretty amazing what's possible in a small amount of code.

While the frontend is all Backbone, the real magic happens in its backend dependencies like peerflix (https://github.com/mafintosh/peerflix) and video.js (https://github.com/videojs/video.js/).

Edit: And, of course, the remarkable (undocumented?) API provided by subapi.com. Check out http://subapi.com/popular.json !

Double Edit: The API appears to be developed by the Popcorn Time people, as per https://github.com/popcorn-time/popcorn-app/issues/294

Re:Popcorn Time – Watch torrent movies instantly by fenghorn on Saturday March 15, 2014 @12:20PM (#7405019)
Popcorn Time 0.1.0 depends on subapi.com to continue functioning. Based on the source the API returns JSON file with the following structure: { movies: { [ torrents: [ {'quality': '1080p', url: 'http://url.torrent'}, {'quality': '720p', url: 'http://url.torrent'}, {'quality': 'undefined', url: 'http://url.torrent'} ], subtitles: [ {'language': 'en', url: 'http://url.srt'}, {'language': 'undefined', url: 'http://url.srt'} ], imdb_id:, title:, year:, runtime:, synopsis:, voteAverage:, poster:, backdrop:, seeders:, leechers: ] } }