Lokl-an optimized local WordPress environment perfect for static site generation
reddit.com
reddit.com
https://github.com/leonstafford/lokl
The developer, Leon Stafford, is also working hard on WP plugins that convert to static sites and even upload directly to popular services such as Cloudflare, Netlify, Amazon, etc.
(I am not associated with this project.)