Giter Club home page Giter Club logo

phantomjs-on-raspberry's Introduction

phantomjs-on-raspberry (and experimental arm64) Release GitHub (pre-)release Github All Releases

Phantomjs unofficial binaries for raspberry pi.

PhantomJS doesn't provide packages for arm, so these packages are here to allow easy install of recent versions.

Packages were build from the PhantomJS source. Each directory contains a README.md file that discribes how binaries were build and so, how you can do it yourself if you are not confortable with unofficial packages. Debian packages were created with fpm.

All binaries are available in the release section.

short story

You probably want the last release.

rpi-1-2-3/

This folder contains notes for binaries that are compatible with raspberry pi 1 model b, 2 and 3 : they use armv6 instructions only.

rpi-2-3/

This folder contains notes for binaries that are compatible with raspberry pi 2 and 3 : they use armv7 instructions.

arm64/

This folder contains notes for arm64/aarch64 binaries.

Caveat

Raspberry Pi

Beside the builds for v2.1.1, the others are based on v2.0 of PhantomJS which was not as static as the developpers wanted it to be (see this issue). As a consequence, these binaries have more dependencies than they should and are thus bound to a specific distro.

For v2.1.1, you should be able to use the binaries on either wheezy or jessie.

arm64/aarch64

This is an experimental build of 2.1.1. The last build should work at least on arm64 debian jessie and stretch.

License

see PhantomJS license.

See

phantomjs-on-raspberry'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  avatar  avatar  avatar

phantomjs-on-raspberry's Issues

Does not work on Debian Stretch

Thanks for this! I got it up and running on Raspberry Pi 3 on jessie. However, after an upgrade to stretch, I get an error โ€” QXcbConnection: Could not connect to display โ€” when I run it. In retrospect, that's not surprising since your repo clearly says it's for wheezy and jessie.

Any pointers for making it work on stretch?

Failed to install on Raspbian Stretch Lite

Trying following commands as root

wget https://github.com/fg2it/phantomjs-on-raspberry/blob/master/rpi-2-3/wheezy-jessie/v2.1.1/phantomjs_2.1.1_armhf.deb

And then

root@pi:~# dpkg -i phantomjs_2.1.1_armhf.deb
dpkg-deb: error: 'phantomjs_2.1.1_armhf.deb' is not a debian format archive
dpkg: error processing archive phantomjs_2.1.1_armhf.deb (--install):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 phantomjs_2.1.1_armhf.deb

Any advice ?

Latest build not working on Raspi 2 Jessie 4.4.32

uname - a: 4.4.32+ #924 Tue Nov 15 18:06:42 GMT 2016 armv6l GNU/Linux (latest updates)

  • .deb is seen as 'not a debian package'
  • phantom binary throws segmentation fault

Any plans to put a newly compiled version on github?

All the best, and thanks for the work

All websites contain the same HTML

from selenium import webdriver
driver = webdriver.PhantomJS()
driver.get('putanywebsitehere')
driver.page_source
''

This shouldn't happen, the page_source does not contain real source code, meaning nothing else works either

Thank you

Hi, sorry for leaving this as an issue but I couldn't find another way to contact you. Just wanted to say thank you for compiling these for arm64/debian. You've saved me such a huge amount of headache I can't even tell you.

If you have some instructions on how you got these compiling as I tried the instructions on phantomjs' site but it fails in a docker container. I just happened to find someone had linked to this repo on a Stack Overflow!

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.