You should consider https://www.cybertec-postgresql.com/en/products/pg_squeeze/ as an alternative to pg_repack
Q: How does it differ from “pg_repack”?
A: It is different in the sense that it is more resource-friendly by not using triggers, it automatically determines bloated tables by itself and does not require the use of a separate command line tool.