JSPM

  • Created
  • Published
  • Downloads 1273
  • Score
    100M100P100Q112925F
  • License AGPL-3.0-or-later

Package Exports

  • @webrecorder/wabac
  • @webrecorder/wabac/index.js
  • @webrecorder/wabac/src/api
  • @webrecorder/wabac/src/api.js
  • @webrecorder/wabac/src/archivedb
  • @webrecorder/wabac/src/archivedb.js
  • @webrecorder/wabac/src/blockloaders.js
  • @webrecorder/wabac/src/ipfs
  • @webrecorder/wabac/src/ipfs.js
  • @webrecorder/wabac/src/liveproxy
  • @webrecorder/wabac/src/liveproxy.js
  • @webrecorder/wabac/src/loaders
  • @webrecorder/wabac/src/loaders.js
  • @webrecorder/wabac/src/rewrite
  • @webrecorder/wabac/src/rewrite/index.js
  • @webrecorder/wabac/src/rewrite/rewriteVideo
  • @webrecorder/wabac/src/rewrite/rewriteVideo.js
  • @webrecorder/wabac/src/swmain
  • @webrecorder/wabac/src/swmain.js
  • @webrecorder/wabac/src/utils
  • @webrecorder/wabac/src/utils.js
  • @webrecorder/wabac/src/wacz/ziprangereader.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@webrecorder/wabac) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

wabac.js

service worker based web archive replay

wabac.js provides a full web archive replay system, or 'wayback machine', using Service Workers

wabac.js is a core part of ReplayWeb.page.

This library provides the 'server-side' portion for web archive replay, and an API for managing web archive collections, and is designed to be run as service worker (or web worker). The system handles URL rewriting and preparing web archive pages to be replayed. This rewriting system complements the wombat.js client-side rewriting system which runs on the client (injected into each page).

ReplayWeb.page

The user-facing UI for ReplayWeb.page is located at webrecorder/replayweb.page

Usage Examples

Using the ReplayWeb.page is only one way to use wabac.js. Additional ways to use this library as a standalone will be added below:

  • Live Proxy - an example of using wabac.js to render a live, rewritten proxy of other web pages, with custom scripts injected into each page. This can be used to provide an annotation viewer to live web pages.

API Documentation

The API provides all functionality for loading web archives and getting information about a web archive collections.

Documentation coming soon!

Old Version

wabac.js 1.0 also included a built-in UI component. This version is still available at https://wab.ac/*

Contributing

Contributions are welcome! As wabac.js is evolving quickly, please open an issue before submitting a pull request.

LICENSE

wabac.js is licensed under the AGPLv3 license. If you are interested in using it under a different license, please inquire.