All Projects → innoq → hotshot

innoq / hotshot

Licence: Apache-2.0 License
Takes screenshots of DOM elements

Programming Languages

javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to hotshot

playwright-demos
playwright for scrapping and UI testing / automate testing workflows
Stars: ✭ 65 (+242.11%)
Mutual labels:  dom, puppeteer
Phantomas
Headless Chromium-based web performance metrics collector and monitoring tool
Stars: ✭ 2,191 (+11431.58%)
Mutual labels:  dom, puppeteer
opensea-scraper
Scrapes nft floor prices and additional information from opensea. Used for https://nftfloorprice.info
Stars: ✭ 129 (+578.95%)
Mutual labels:  puppeteer
naos
📉 Uptime and error monitoring CLI
Stars: ✭ 30 (+57.89%)
Mutual labels:  puppeteer
lab-assistant
A tool to measure performance deltas between two versions of a site
Stars: ✭ 20 (+5.26%)
Mutual labels:  puppeteer
BabyBrowser
A Small Web Browser Built in Python
Stars: ✭ 21 (+10.53%)
Mutual labels:  dom
wutpl
高性能模板引擎 (js template)
Stars: ✭ 85 (+347.37%)
Mutual labels:  dom
JsObjExporter
A little JavaScript plugin to generate PDF, XLS, CSV and DOC from JavaScript Object or DOM element only from the frontend!
Stars: ✭ 58 (+205.26%)
Mutual labels:  dom
XrayDOM
🔥 X-ray your DOM using just the cursor and never open the console again!
Stars: ✭ 13 (-31.58%)
Mutual labels:  dom
energy-use-case-trading-client
Energy Use Case Web UI for Lition Trading Platform
Stars: ✭ 23 (+21.05%)
Mutual labels:  puppeteer
protonmail-api
✉ Node.js API for ProtonMail
Stars: ✭ 108 (+468.42%)
Mutual labels:  puppeteer
xstate-marionettist
Model based testing with Jest, XState and Puppeteer or Playwright made easy
Stars: ✭ 23 (+21.05%)
Mutual labels:  puppeteer
puppeteer-email
Email automation driven by headless chrome.
Stars: ✭ 135 (+610.53%)
Mutual labels:  puppeteer
UndoRedo.js
A powerful and simple JavaScript library provides a history for undo/redo functionality. Just like a time machine! 🕐
Stars: ✭ 19 (+0%)
Mutual labels:  dom
pappet
A command-line tool to crawl websites using puppeteer.
Stars: ✭ 95 (+400%)
Mutual labels:  puppeteer
TrackPurchase
단 몇줄의 코드로 다양한 쇼핑 플랫폼에서 결제 내역을 긁어오자!
Stars: ✭ 19 (+0%)
Mutual labels:  puppeteer
vue-identify-network
⚡ Identify what kinda internet your users are using!
Stars: ✭ 60 (+215.79%)
Mutual labels:  dom
php-puppeteer
PHP Wrapper of Google Chrome Puppeteer for PDF Generation
Stars: ✭ 24 (+26.32%)
Mutual labels:  puppeteer
docker-google-lighthouse-puppeteer
Google Lighthouse + Puppeteer / Docker Image
Stars: ✭ 29 (+52.63%)
Mutual labels:  puppeteer
messages-web
📱 SMS gateway using your own phone!
Stars: ✭ 34 (+78.95%)
Mutual labels:  puppeteer

Hotshot

Takes screenshots of DOM elements, like Jake Gyllenhaal 📸

Check out the blog post.

Start (without Docker)

Make sure you've got a current node and yarn installed. Then:

$ yarn install
$ TARGET_HOST="https://www.innoq.com" yarn start

Start (with Docker)

Build image:

$ docker build -t innoq/hotshot .

Start server:

$ docker run -p 5000:5000 -e PORT=5000 -e TARGET_HOST='https://www.innoq.com' innoq/hotshot

Request a screenshot

$ curl -G "http://localhost:5000/shoot?path=/relative/path&selector=.my-css-class" > screenshot.jpeg

Content negotiation

Hotshot can serve webp images if requested in the Accept header. Example:

$ curl -G -H "accept: image/webp" "http://localhost:5000/shoot?path=/relative/path&selector=.my-css-class" > screenshot.webp

Please note: any Accept header values not directly specifying webp support (e. g. */*) automatically get served jpeg.

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].