Wanted to share my recent side project.
I found it was a pain having to navigate through multiple places to find relevant patterns or snippets of code for AWS CDK and Pulumi.
Thought why not combine patterns across multiple cloud providers into one place with search and filter.
The most interesting part of the project was trying to optimise the site for mobile and lower-end devices. Came across the concept of "adaptive loading"[1] from Google and Facebook (2019).
The current implementation is naive but the site renders a virtualized list or the entire list based on the number of logical processors detected.
It's a very basic proxy for performance but is also not reliable. For example, the Brave browser reports a false number of logical processors to avoid telemetry[2].
Was wondering if anyone had any thoughts or experience with this?
Open to suggestions or feedback!
Tech:
Frontend - Nextjs 15 hosted on Cloudflare pages as a static site.
Backend - Patterns are primarily sourced from the AWS CDK[3] and Pulumi[4] example repos.
[1] https://web.dev/articles/adaptive-loading-cds-2019
[2] https://github.com/brave/brave-browser/issues/10808