mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-16 03:48:44 +00:00
.. | ||
includes | ||
supervisor | ||
tests | ||
client.js | ||
config.json | ||
Dockerfile | ||
haproxy.cfg | ||
parser.js | ||
phantomjs | ||
README.md | ||
restart.sh | ||
server.js | ||
utils.js | ||
webkit.sh |
A simple service for rendering javascript-enabled website.
server
phantomjs --config=config.json server.js
client
http :1024 targetUrl=https://github.com/ requestType=png loadImages:=true execScripts:='{"preInjected": ["1+2+3"], "postInjected": ["Math.sqrt(2)"]}'