@webrecorder/awp-sw

0.4.3 • Public • Published

ArchiveWeb.page Service Worker (awp-sw)

This library has been factored out of ArchiveWeb.page and represents the core service worker implementation necessarily for high-fidelity web archiving.

It extends the wabac.js library and includes utilities for:

  • Downloading a WARC or WACZ from IndexedDB
  • Signing of WACZ files
  • IPFS support: Uploading of loadable WACZ + replayable page (using ReplayWeb.page) template to IPFS, using auto-js-ipfs
  • IPFS support: Experimental custom chunking of web archives to improve deduplication.
  • Extensible JSON API for clients using the service worker.

Usage

yarn install @webrecorder/awp-sw

The library is designed to be used as part of ArchiveWeb.page or other tools that use web archives. It is designed to be used and extended as part of the service worker build.

TODO: provide examples

Package Sidebar

Install

npm i @webrecorder/awp-sw

Weekly Downloads

25

Version

0.4.3

License

AGPL-3.0-or-later

Unpacked Size

849 kB

Total Files

10

Last publish

Collaborators

  • ikreymer
  • jberlin