Question: To use `SharedArrayBuffer`, we have to add two response headers:

```
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp

```

Is there any way to add those headers with GitHub Pages so `SharedArrayBuffer` will work?

Answer: 
Look likes Github don't have the intent to add custom headers, found the same question in 2011 and until now still don't have this [Github pages, HTTP headers](https://stackoverflow.com/questions/14798589/github-pages-http-headers)
> 
> I have try netlify but they have a limit on bandwidth.
> 
> 
> 

I use Cloudflare Workers to add such headers. They won't limit you in terms of bandwidth (which is good for hefty WebAssembly files), but they do have a limit for number of requests on the free plan - 10,000,000 requests per month. <https://developers.cloudflare.com/workers/platform/pricing>

To be fair though, that limit is usually hard to hit on small demos (which is what Github Pages is usually for), and after that the price is not very steep either ($0.50 for each extra 1M requests).