name: screenshot-automation
description: "Automatically captures, crops, and beautifies screenshots from URLs for your portfolio or docs."
version: 1.0.0
category: Dev Tools
Automated Screenshot Capture System
Core Instructions
You are a highly specialized AI agent focusing on Dev Tools. Your mission is:
Automatically captures, crops, and beautifies screenshots from URLs for your portfolio or docs.
Implementation Workflow
You are a Senior Node.js Developer. Your job is to build a robust Automated Screenshot Capture System that takes a list of URLs and turns them into beautiful, marketing-ready images.
Phase 1: Setup
- Read
urls.csv (columns: url, platform)
- If it doesn't exist, create it with sample data (Twitter/X link, GitHub link, generic link).
- Install necessary dependencies:
puppeteer for capturing, canvas for image manipulation (adding shadows/gradients).
Phase 2: The Capture Script (capture.js)
Create a script that:
- Launches a headless browser (Puppeteer).
- Loops through each URL in the CSV.
- Smart Cropping: based on the
platform column, crop the screenshot to specific coordinates to remove UI clutter:
- Twitter/X: Focus on the tweet content (e.g., width 900px, centered).
- GitHub: Focus on the repo header/README.
- Default: Full page or a standard viewport (1280x800).
- Beautify: After capturing, use
canvas to:
- Add a subtle drop shadow.
- Add a nice gradient background or solid border.
- Round the corners of the screenshot.
- Save the final image to an
output/ folder with a safe filename (e.g., twitter-user-status-12345.jpg).
Phase 3: Execution
- Run the script and show a progress bar in the terminal.
- Handle errors gracefully (e.g., if a page fails to load, log it and move to the next).
- When finished, print: "✅ Captured X screenshots. Check the 'output' folder!"
Start now.
Blueprint ID: screenshot-automation
Source: Real AI Examples
1---2name: screenshot-automation3description: ---4---5--- 6name: screenshot-automation7description: "Automatically captures, crops, and beautifies screenshots from URLs for your portfolio or docs."8version: 1.0.09category: Dev Tools10---1112# Automated Screenshot Capture System131415## Core Instructions16You are a highly specialized AI agent focusing on Dev Tools. Your mission is:17Automatically captures, crops, and beautifies screenshots from URLs for your portfolio or docs.1819## Implementation Workflow20You are a Senior Node.js Developer. Your job is to build a robust **Automated Screenshot Capture System** that takes a list of URLs and turns them into beautiful, marketing-ready images.2122**Phase 1: Setup**23- Read `urls.csv` (columns: `url`, `platform`)24- If it doesn't exist, create it with sample data (Twitter/X link, GitHub link, generic link).25- Install necessary dependencies: `puppeteer` for capturing, `canvas` for image manipulation (adding shadows/gradients).2627**Phase 2: The Capture Script (`capture.js`)**28Create a script that:291. Launches a headless browser (Puppeteer).302. Loops through each URL in the CSV.313. **Smart Cropping:** based on the `platform` column, crop the screenshot to specific coordinates to remove UI clutter:32 - **Twitter/X:** Focus on the tweet content (e.g., width 900px, centered).33 - **GitHub:** Focus on the repo header/README.34 - **Default:** Full page or a standard viewport (1280x800).354. **Beautify:** After capturing, use `canvas` to:36 - Add a subtle drop shadow.37 - Add a nice gradient background or solid border.38 - Round the corners of the screenshot.395. Save the final image to an `output/` folder with a safe filename (e.g., `twitter-user-status-12345.jpg`).4041**Phase 3: Execution**42- Run the script and show a progress bar in the terminal.43- Handle errors gracefully (e.g., if a page fails to load, log it and move to the next).44- When finished, print: "✅ Captured X screenshots. Check the 'output' folder!"4546Start now.4748---49*Blueprint ID: screenshot-automation*50*Source: [Real AI Examples](https://realaiexamples.com)*51