npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

n8n-nodes-puppeteer-screen-recorder

v5.0.2

Published

n8n node for recording websites using Puppeteer and puppeteer-screen-recorder

Downloads

52

Readme

n8n-nodes-puppeteer-screen-recorder This is an n8n community node that lets you record websites using Puppeteer and puppeteer-screen-recorder directly in your n8n workflows. Puppeteer is a Node.js library which provides a high-level API to control Chrome/Chromium over the DevTools Protocol. This node uses Puppeteer along with the puppeteer-screen-recorder plugin to record the screen of a website loaded in headless Chrome/Chromium. n8n is a fair-code licensed workflow automation platform. Installation Operations Compatibility Usage Resources Installation Follow the installation guide in the n8n community nodes documentation. After installing the node in your n8n instance, you also need to ensure you have Chromium and necessary dependencies installed as the node uses Puppeteer to launch and control Chromium. If using n8n in Docker, you can use a Dockerfile similar to this to add the required dependencies: dockerfileCopy codeFROM n8nio/n8n:latest

USER root

Install necessary dependencies for Chromium

RUN apk add --no-cache
chromium
chromium-chromedriver
ttf-freefont

Set environment variables

ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser

USER node For other installation methods, refer to the Puppeteer troubleshooting docs on how to install Chromium/Chrome dependencies for your platform. Operations The node supports a single operation:

Record website: Records the screen of a specified website URL for a given duration and saves the recording as an MP4 video file.

Compatibility Minimum n8n version: 0.125.0 Tested against n8n version: 0.125.0 The node requires Puppeteer which uses a recent version of Chromium/Chrome (usually the latest or latest-1 version). Ensure your environment has a compatible browser version installed. Usage

Install the node and add it to your workflow. Enter the website URL you want to record in the URL field. Specify the Width and Height for the viewport size for the recording. Default is 1280x720. Set the Duration in seconds for how long to record the screen after loading the page. Default is 5 seconds. Optionally change the Frame Rate of the recording. Default is 25 fps. Specify a name for the Output File Name for the recording. Default is recording.mp4. Execute the node.

The node will launch a headless browser, load the specified URL, start the recording, wait for the specified duration, stop the recording, and save the MP4 file with the provided name. The recording file will be returned as binary data in the node output.