pgreplay reads a PostgreSQL log file (*not* a WAL file), extracts the SQL statements and executes them in the same order and relative time against a PostgreSQL database cluster.
Why do you think that https://github.com/palkan/logidze is a good alternative to pgreplay