All Projects → xcoo → pdfshot

xcoo / pdfshot

Licence: Apache-2.0 license
PDF screenshot generator for web pages

Programming Languages

clojure
4091 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to pdfshot

double-agent
A test suite of common scraper detection techniques. See how detectable your scraper stack is.
Stars: ✭ 123 (+392%)
Mutual labels:  puppeteer
trafficator
Traffic generator for local analytics testing
Stars: ✭ 27 (+8%)
Mutual labels:  puppeteer
simplechrome
Webrecorders DevTools Protocol Automation Library
Stars: ✭ 16 (-36%)
Mutual labels:  puppeteer
barclayscrape
A small app to programmatically mainpulate Barclays online banking
Stars: ✭ 57 (+128%)
Mutual labels:  puppeteer
mugshot
Framework independent visual testing library
Stars: ✭ 126 (+404%)
Mutual labels:  puppeteer
Puppetry
基于Puppeteer的页面E2E测试GUI工具
Stars: ✭ 35 (+40%)
Mutual labels:  puppeteer
top.gg-automatic-voter
This is a script that votes for specified bot automatically per 12 hours on top.gg
Stars: ✭ 144 (+476%)
Mutual labels:  puppeteer
purr
PURR (PUppeteer RunneR) is a devops-friendly tool for browser testing and monitoring.
Stars: ✭ 37 (+48%)
Mutual labels:  puppeteer
puppeteer-loadtest
load test puppeteer (Headless Chrome API) script using node
Stars: ✭ 107 (+328%)
Mutual labels:  puppeteer
akamai-toolkit
A set of tools to work on Akamai v1 anti-bot solution. Current supported version: 1.70
Stars: ✭ 215 (+760%)
Mutual labels:  puppeteer
webgif
Easily generate animated GIFs from websites
Stars: ✭ 98 (+292%)
Mutual labels:  puppeteer
puppeteer-jest-starter
A starter-kit quipped with the minimal requirements for Puppeteer + Jest, making E2E testing a breeze.
Stars: ✭ 17 (-32%)
Mutual labels:  puppeteer
readme-ascii
Turns text into images of ASCII art for GitHub README files.
Stars: ✭ 48 (+92%)
Mutual labels:  puppeteer
webparsy
Node.JS library and cli for scraping websites using Puppeteer (or not) and YAML definitions
Stars: ✭ 40 (+60%)
Mutual labels:  puppeteer
hardcider
🍺 CLI for quickly generating citations for websites and books
Stars: ✭ 17 (-32%)
Mutual labels:  puppeteer
ZSpider
基于Electron爬虫程序
Stars: ✭ 37 (+48%)
Mutual labels:  puppeteer
http-server-pwa
👾 http-server alike but for serving and rendering PWA: pwa-server
Stars: ✭ 14 (-44%)
Mutual labels:  puppeteer
shuttlepdf
📃 Smashingly simple, and scalable ("serverless") HTML to PDF conversions using Google Cloud Functions, and Puppeteer.
Stars: ✭ 15 (-40%)
Mutual labels:  puppeteer
puppeteer-proxy
Proxies Puppeteer Page requests.
Stars: ✭ 172 (+588%)
Mutual labels:  puppeteer
pdf
Micro-service for generating PDF files using Puppeteer with an Express API
Stars: ✭ 16 (-36%)
Mutual labels:  puppeteer

pdfshot

build DockerHub

PDF screenshot generator for web pages

Run pdfshot

$ docker pull xcoo/pdfshot:0.1.5
$ docker run --rm \
             --cap-add=SYS_ADMIN \
             -e "PDFSHOT_PORT=8000" \
             -e "PDFSHOT_TIMEOUT=60000" \
             -p 8000:8000 \
             xcoo/pdfshot:0.1.5

Usage

$ curl -fsLJO 'localhost:8000/print.pdf?target=https%3A%2F%2Fxcoo.jp&wait_for=%23container'
  • target (Required)
    • The URL for which you want to get the screenshot.
    • https://xcoo.jp
  • wait_for (Optional)
    • Wait for the screenshot until the selector you specified appears on the page.
    • #container

Build Requirements

  • Leiningen

Build Docker image

$ docker build -t xcoo/pdfshot:latest .
$ docker-compose up -d

Local execution

$ lein cljsbuild once
$ node target/pdfshot.js

License

Copyright Xcoo, Inc.

Licensed under the Apache License, Version 2.0.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].