#static

11 bookmarks tagged with #static · RSS Feed · ← All Tags

Password Protecting Static Site Content with WASM

https://al9000.com/rust/wasm/static-site-file-decryption/
I use static site generators for my sites. I call out to external APIs to do anything dynamic. The exception is password protection. I'd always thought that needed to be done dynamically on a site's host server. I realized with WASM that's not the case. Files can be encrypted and served statically with a WASM process providing decryption directly on the front end.

Using static websites for tiny archives – alexwlchan

https://alexwlchan.net/2024/static-websites/
Because this system has no moving parts, and it’s just files on a disk, I hope it will last a long time. I’ve already migrated a lot of my files to this approach, and I’m pleased with how it’s going. I get all the simplicity and portability of a file full of folders, with just a bit of extra functionality sprinkled on top.