Directory listing a bucket as a site

I am trying to build a simple site which posts all files in a the bucket. I don’t want to have to rewrite the html every time I add a file. I was hoping there was a way to do this directory listing as a site with storj static site hosting.

You can make a Single-Page Application (SPA) and code it in Javascript.

Generate read-only credentials for Gateway-MT and use @aws-sdk/client-s3