Skip to content

An experiment using the peerflix module of nodejs and connecting a bunch of APIs.

Notifications You must be signed in to change notification settings

popcorn-time/popcorn-app

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1b06162 · Mar 13, 2014
Mar 13, 2014
Mar 13, 2014
Feb 19, 2014
Mar 13, 2014
Mar 13, 2014
Mar 13, 2014
Mar 10, 2014
Mar 10, 2014
Mar 13, 2014
Mar 12, 2014
Mar 7, 2014
Mar 11, 2014
Mar 12, 2014
Mar 13, 2014
Mar 13, 2014

Repository files navigation

#Popcorn time Dependency Status

Idea

To allow any computer user to watch movies easily streaming from torrents, without any particular knowledge.

Demo Screenshot

Status

Under development (RC1) for Mac OSX - Windows - Linux.

APIs

Currently used:

In discussion:

Building

Dependencies

You will need nodejs and grunt:

$ npm install -g grunt-cli

Select your OS

Enable your Operating System in Gruntfile.js and disable all the others:

…
nodewebkit: {
  options: {
    …
    mac: false,
    win: false,
    linux32: false,
    linux64: true
  },
…

Build

Install the node modules:

$ npm install

Built with:

$ grunt nodewkbuild

Any problem?

Regarding superagent dependency

Due to wrong browser verification on a dependency, this hard fix must be applied. Replace node_modules/moviedb/node_modules/superagent/index.js contents with:

// if (typeof window != 'undefined') {
//   module.exports = require('./lib/superagent');
// } else if (process.env.SUPERAGENT_COV) {
//   module.exports = require('./lib-cov/node');
// } else {
  module.exports = require('./lib/node');
// }

Regarding Video, MP4 H264 Playback

Development

  • Run compass watch in Terminal for CSS compiling and listen to future changes.
  • How to build with SublimeText
  • Currently Gaze to watch all files and reload the app is disabled due to memory leaks and unstability.
  • Run node-webkit from the root directory with --debug to enable debugging mode like so node-webkit . --debug