Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nathanpeck/webkit-html-to-image-phantomjs
A simple Phantom.js webkit HTML to Image conversion service
https://github.com/nathanpeck/webkit-html-to-image-phantomjs
Last synced: about 2 months ago
JSON representation
A simple Phantom.js webkit HTML to Image conversion service
- Host: GitHub
- URL: https://github.com/nathanpeck/webkit-html-to-image-phantomjs
- Owner: nathanpeck
- Created: 2013-04-11T16:32:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-04-12T20:13:17.000Z (over 11 years ago)
- Last Synced: 2023-04-10T05:07:04.512Z (over 1 year ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
webkit-html-to-image-phantomjs
==============================A simple Phantom.js webkit HTML to Image conversion service
Installation
============The following installation steps have been verified to work on Ubuntu:
1. **Download from Github:**
```bash
git clone https://github.com/nathanpeck/webkit-html-to-image-phantomjs.git
```2. **Install node.js:**
```bash
sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs npm
```3. **Install phantom.js:** (Instructions assume a 64 bit system. Substitute the 32 bit version if needed.)
```bash
wget https://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-i686.tar.bz2
tar xvf phantomjs-1.9.0-linux-i686.tar.bz2
sudo mv phantomjs-1.9.0-linux-i686/bin/phantomjs /usr/bin/phantomjs
```4. **Install needed dependencies:**
```bash
sudo npm install -g supervisor
cd webkit-html-to-image-phantomjs
npm install
```
5. **Start the server:**```bash
./launch.sh
```