wayback-rpki

Crates.iowayback-rpki
lib.rswayback-rpki
version1.0.4
created_at2025-03-25 22:29:59.389529+00
updated_at2025-09-15 04:00:22.092831+00
descriptionA command-line tool to provide API for RPKI ROAs lookup with historical data
homepage
repositoryhttps://github.com/bgpkit/wayback-rpki
max_upload_size
id1605855
size127,591
Mingwei Zhang (digizeph)

documentation

https://docs.rs/wayback-rpki

README

Wayback RPKI Database

This project implements the crawler of RIPE RIS RPKI daily dump (https://ftp.ripe.net/rpki/) with a database schema designed to hold historical information.

Install

Using cargo

cargo install wayback-rpki

Using homebrew on macOS

brew install bgpkit/tap/wayback-rpki

Using cargo-binstall

Install cargo-binstall first:

cargo install cargo-binstall

Then install monocle using cargo binstall

cargo binstall wayback-rpki

Usage

Start the API from scratch by running

wayback-rpki serve --bootstrap

Configure the following environment variables to further configure features:

  • WAYBACK_BACKUP_TO: backup location
    • if locations starts with r2/s3, such as r2://spaces/broker/roas_trie.bin.gz, it will require additional S3 credentials below
      • AWS_REGION
      • AWS_ENDPOINT
      • AWS_ACCESS_KEY_ID
      • AWS_SECRET_ACCESS_KEY
  • WAYBACK_BACKUP_HEARTBEAT_URL: a URL to send an HTTP get request to
Commit count: 66

cargo fmt