Giter Club home page Giter Club logo

depict's People

Contributors

adjohnson916 avatar chadmoone avatar kevinschaul avatar mhkeller avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

depict's Issues

Strange cropping / resizing

Great idea. Here is the output I am getting with this command:

depict http://www.google.co.uk -s 'body' test.png

test

For my MacOS configuration, here is my 'uname -a'

Darwin diamond 12.4.0 Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64

What can I do to help you debug / reproduce this?

Option to click a link

If the state of the visualisation is not encoded in the url, but requires human interaction, then it would be useful to be able to simulate a click on a particular link on the page.

eg

depict --click '#id'

where #id refers to the a element.

Add options for width and time delay

Not sure if this is possible, but it would be great if you could specify the browser width you'd like. Currently, it returns the mobile version of the site I want since I'm guessing the media queries think the depict browser is tiny.

It would also be nice to put a delay on it so it can wait for data to load.

Here's my quick solution: mhkeller/depict@cfad8e1

Explore removing CasperJS dependency

CasperJS is buggy, and args currently must be parsed twice, which is a downer.

Currently, depict spawns a child process to run a custom casperjs script, which does most of the work. Argument parsing in CasperJS is a disaster, so that is done in the parent process.

Ideally, everything would stay within depict. This may be possible using phantomjs-node and phantomjs, shedding the casperjs dependency.

Depict would have some duplicate functionality with casperjs, but it would be only what depict needs (and hopefully more stable).

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.