├── html ├── archives │ └── .keep ├── replay-web-page │ └── .keep └── embed │ ├── index.html │ └── index.js ├── .gitignore ├── Dockerfile ├── start-sandbox.sh ├── start-dev.sh ├── pull-replay-web-page.sh ├── sandbox └── index.html ├── nginx.conf ├── README.md └── LICENSE /html/archives/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /html/replay-web-page/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.warc 2 | *.warc.gz 3 | *.wacz 4 | fly.toml 5 | .DS_Store -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nginx:latest 2 | COPY ./html/ /usr/share/nginx/html/ 3 | COPY ./nginx.conf /etc/nginx/conf.d/nginx.conf 4 | -------------------------------------------------------------------------------- /start-sandbox.sh: -------------------------------------------------------------------------------- 1 | # Serves the files present in the "sandbox" folder, for testing purposes. 2 | cd sandbox; 3 | python3 -m http.server; -------------------------------------------------------------------------------- /start-dev.sh: -------------------------------------------------------------------------------- 1 | # Build Docker image and run the container as single use 2 | docker build . -t wacz-exhibitor-local; 3 | docker run --rm -p 8080:8080 wacz-exhibitor-local; -------------------------------------------------------------------------------- /pull-replay-web-page.sh: -------------------------------------------------------------------------------- 1 | # Pulls the latest version of replayweb.page (https://replayweb.page) 2 | curl https://cdn.jsdelivr.net/npm/replaywebpage@2.3.8/sw.js > html/replay-web-page/sw.js 3 | curl https://cdn.jsdelivr.net/npm/replaywebpage@2.3.8/ui.js > html/replay-web-page/ui.js 4 | -------------------------------------------------------------------------------- /html/embed/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |Test: embedding a wacz-exhibitor <iframe>