Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/q-m/replayweb.page-docker
Docker image for ReplayWeb.page
https://github.com/q-m/replayweb.page-docker
replay-web-page web-archive web-archiving web-replay
Last synced: 4 days ago
JSON representation
Docker image for ReplayWeb.page
- Host: GitHub
- URL: https://github.com/q-m/replayweb.page-docker
- Owner: q-m
- Created: 2023-01-31T11:06:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-14T08:50:01.000Z (8 months ago)
- Last Synced: 2024-03-26T11:37:13.350Z (8 months ago)
- Topics: replay-web-page, web-archive, web-archiving, web-replay
- Language: Dockerfile
- Homepage: https://github.com/webrecorder/replayweb.page
- Size: 2.93 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ReplayWeb.page with Docker
[ReplayWeb.page](https://github.com/webrecorder/replayweb.page) allows one to browse archived
websites. The project is available as a browser-based web application at https://replayweb.page/ .
Many will be able to use the app hosted there, but in some cases you may want to host your own,
e.g. to ease CORS or to inject your own scripts. This project provides a docker image to do so.Note that you need to run ReplayWeb.page using HTTPs (or the web worker will refuse to start).
So in all practical cases, you'd want a reverse proxy in front of this doing SSL termination.## `inject.js`
By default, the Javascript file `inject.js` will be loaded for each archive page, which gives
you the option to add site-specific hooks. We use this to e.g. disable client-side navigation.
By default this file is empty, so nothing will be injected, but you can mount the file
`/usr/share/nginx/html/inject.js` in the Docker container to add your own code.## Build
To build this docker image, you need to supply the build argument `VERSION` for the ReplayWeb.page version
(without any `v` prefix). The app will be downloaded [from npm](https://www.npmjs.com/package/replaywebpage).