Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: Host a static website with WASM for free?
1 point by bmacho on Oct 14, 2022 | hide | past | favorite | 2 comments
I want to host a static website with a WASM program for free. Currently it is running on Heroku, node.js doing the header shenanigans, but Heroku is shutting down its free tier.

A straightforward solution seems to migrate to fly.io to do the same (although I am not exactly sure about its free tier).

My question is, if there are any better services, more reliable, faster, without invoking node.js every time? A static website provider that allows to configure the http headers, or they allow WASM default. (e.g. github pages can't run WASM)




Fly's free tier is smallish (3x256MB servers) and a bit of storage (3GB if memory serves) certainly enough for nginx for the headers.

But does https://docs.netlify.com/routing/headers/ do what you need?


Do you want actually free, or "i don't want to think about it" free? S3 + cloudfront lets you set custom headers and you can pay single cents for it unless you're very popular.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: