Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Timed Snapshots #1

Closed
alolalo opened this issue Feb 4, 2022 · 2 comments
Closed

Feature Request: Timed Snapshots #1

alolalo opened this issue Feb 4, 2022 · 2 comments

Comments

@alolalo
Copy link

alolalo commented Feb 4, 2022

First of all, fantastic idea to make a share code visually with a simple PDF. I believe it's well worth the notion of how most code reviews, personal or professional, never happen visually. Even GitHub just "sees" your work as a "checkbox square"

I hope to change that notion, and that you can have a directory of "visual change logs" that accompany such achievements, and help developers just pull up a PDF to show the IRL differences that we interface with, not the DIFF-messages you pull in.

Ideally it should work as a true-false configuration that, just like an ordinary camera, takes snapshots of your url's every X minutes | hours | days | weeks | months | years even, and put them into a folder named accordingly.

A catablog of work done on auto-pilot, so you can continue not using this plugin to use it optimally. Right? It's meant to offload the work for you and automating the "hard parts" of work; Communication

It would greatly help re-use my actual work, in combination with all the pushing and pulling repositories, that you can put them side by side easily, isolated, and have a chat with someone on the visual plane of change that actually happened.

@larryhudson
Copy link
Owner

Hi there, I think this falls outside the scope of this project, as this is an Eleventy extension that generates PDFs of certain URLs inside your Eleventy site after the HTML is rendered.

But this is an interesting idea. For your scenario, I think saving URL snapshot images might be a better solution than saving PDFs. PDFs are more suited for print documents (eg. A4 document size). So if you made PDFs of all your webpages, the pages would be split up into A4 pages, which isn't ideal for visual reviews.

If you want to code something yourself, you could write a Node script loops through an array of webpages and uses Google's Puppeteer to take screenshot images, and then upload them to a S3 storage bucket. You could use a cron job to execute the script every week, or every month etc.

@larryhudson
Copy link
Owner

Hey, not sure if you’ll see this but I just came across shot-scraper, which sounds like a solution to what you were asking for:
https://github.com/simonw/shot-scraper-template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants