Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ RUN npm install -g playwright@1.60.0

# Install Google Chrome and its system dependencies.
# The base image has Chromium but not branded Chrome.
RUN playwright install --with-deps chrome
RUN playwright install --with-deps chromium

# Run in headed mode inside a virtual framebuffer.
# Headed Chrome avoids headless-detection by websites.
# Headed Chromium avoids headless-detection by websites.
CMD ["xvfb-run", "--auto-servernum", "--server-args=-screen 0 1920x1080x24", \
"playwright", "run-server", "--port", "3000", "--host", "0.0.0.0"]
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Pravda is the evidence layer — a service that other services build on. It uses Playwright to capture and store MHTML archives and full-page screenshots of web pages, along with response headers and snapshot metadata. It turns live web pages into durable, addressable evidence that can be inspected, diffed, and reasoned over long after the original page has changed.

# Pravda-chromium branch
If you want to test it locally on an Apple Silicon, use this [branch](https://github.com/Provereno-Media/pravda/tree/pravda-chromium)

## What it does (v0)

- Captures web pages as MHTML archives + screenshots
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
services:
playwright:
build: .
platform: linux/amd64
init: true
ports:
- "3000:3000"
Expand Down