Giter Club home page Giter Club logo

ncc's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ncc's Issues

Does nothing in Chrome 59 in Windows

No errors are logged, it just opens Chrome window and there is blank canvas of default size, it seems like Chrome doesn't receive any commands from Node.

Chrome launcher not connecting on Raspbian

On Raspbian buster, ncc is able to launch chromium and it claims to be running the devtools API on the specified port, but I get connection failed messages, even after upping the retry limit and waiting a while. I also needed to specify
export LIGHTHOUSE_CHROMIUM_PATH=/usr/bin/chromium-browser to get it to work without code changes.

Possible fix might be to try using the proper chrome-launcher npm package https://www.npmjs.com/package/chrome-launcher

Use cases?

Could you list one or more use cases for this tool? What can we do with such a Canvas object in Node?

connection failed

OS X 10.12.4 (16E195)
Chrome 58.0.3029.110 (64-bit)
node v6.10.0

ChromeLauncher created /var/folders/dc/_638b5l12vv8ltt22j1nvvym0000gn/T/ncc.XXXXXXX.YinKOGZj
ChromeLauncher Chrome running with pid 30961 on port 9222.
ChromeLauncher Waiting for browser.
ChromeLauncher Waiting for browser...
ChromeLauncher Waiting for browser.....
ChromeLauncher Waiting for browser.....
[ncc] chrome started
[ncc] connecting [retry 1/9]
[ncc] connecting [retry 2/9]
[ncc] connecting [retry 3/9]
[ncc] connecting [retry 4/9]
[ncc] connecting [retry 5/9]
[ncc] connecting [retry 6/9]
[ncc] connecting [retry 7/9]
[ncc] connecting [retry 8/9]
[ncc] connecting [retry 9/9]
[ncc] connection failed

if you find it hard to install node-canvas try ncc

Support toBlob()

toDataURL() works great but the overhead of decoding base64 makes it inefficient for my purposes (rendering to an LED panel). I looked at supporting toBlob() but it uses a callback, unlike toDataURL(), and I can't see how to do this with rdp().

don't work in mac

[ncc | CP] start
[ncc | CP] spawn: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --app=/Users/chencheng/.nvm/v0.11.12/lib/node_modules/ncc/lib\index.html --remote-debugging-port=9222 --user-data-dir=/var/folders/p4/c620tt7n2f36ntjp05n48bg80000gn/T/\nccanvas
[ncc | CP] error: Error: spawn ENOENT
[ncc | CP] exited with code: -2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.