Skip to content

opensanctions/pravda

Repository files navigation

Pravda

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.

What it does (v0)

  • Captures web pages as MHTML archives + screenshots
  • Stores response headers
  • Tracks URLs and their snapshot history
  • Uses content-addressed storage
  • Runs Chrome (not Chromium) in a virtual framebuffer for realistic rendering

Setup

Requires uv and Docker.

# Start containers (Playwright browser + Postgres)
docker compose up -d

# Install dependencies
uv sync

Usage

uv run uvicorn pravda.api:app --reload --env-file .env

About

The evidence layer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors