Read-only mirror of https://github.com/SwissNationalLibrary/webarchive-thumbnails — Swiss National Library. Issues & pull requests at the source.
  • JavaScript 90.9%
  • TypeScript 6.4%
  • Shell 2.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-05-19 14:35:40 +02:00
.docker/puppeteer initial commit 2025-05-19 14:35:40 +02:00
bin initial commit 2025-05-19 14:35:40 +02:00
conf initial commit 2025-05-19 14:35:40 +02:00
src initial commit 2025-05-19 14:35:40 +02:00
test initial commit 2025-05-19 14:35:40 +02:00
.dockerignore initial commit 2025-05-19 14:35:40 +02:00
.editorconfig initial commit 2025-05-19 14:35:40 +02:00
.env-template initial commit 2025-05-19 14:35:40 +02:00
.gitignore initial commit 2025-05-19 14:35:40 +02:00
.prettierrc initial commit 2025-05-19 14:35:40 +02:00
chrome.json initial commit 2025-05-19 14:35:40 +02:00
compose.yaml initial commit 2025-05-19 14:35:40 +02:00
jest.config.ts initial commit 2025-05-19 14:35:40 +02:00
LICENSE initial commit 2025-05-19 14:35:40 +02:00
package-lock.json initial commit 2025-05-19 14:35:40 +02:00
package.json initial commit 2025-05-19 14:35:40 +02:00
pnpm-lock.yaml initial commit 2025-05-19 14:35:40 +02:00
README.md initial commit 2025-05-19 14:35:40 +02:00
tsconfig.json initial commit 2025-05-19 14:35:40 +02:00

Webarchive Thumbnailing

This repository contains code to generate screenshots from webpages and was used for the Webarchive Switzerland Collage application. It can be used free of charge as a starter base to create similar collages and projects.

  • Webarchive Collage frontend display of interactive collage, backend IIIF serving, permissions, container deployment
  • Webarchive Thumbnailing (this repository): reliable mass-production of screenshots of webpages using a headless browser, queuing, container deployment

Notes

The collage is meant to live behind an instance of traefik running on the same machine. You also need to create the networks mentioned in compose.dev.yaml.

Disclaimer

The code is provided as-is, without any guarantees or warranties. It won't run out-of-the box, it first needs to be integrated with the specific needs of the surrounding systems (like external access and search systems) - these are not part of this project.

Special Thanks

The release of this code has been made possible by the Swiss National Library in cooperation with the original developer Kai Jauslin at NEXTENSION GmbH.

License

MIT License

Copyright Swiss National Library and Kai Jauslin