# Building Sea Album: 2,896 Marine Species on Cloudflare Workers (and the Multilingual SEO Traps We Hit)

> Source: <https://dev.to/alchaincyf/building-sea-album-2896-marine-species-on-cloudflare-workers-and-the-multilingual-seo-traps-we-14m2>
> Published: 2026-12-03 22:13:53+00:00

**Key takeaway:** Rendering hex color codes via CSS ::after with data attributes instead of inline text cut CJK noise on an English page from 2,161 characters to 2, and sentence-level negation checks (non-venomous, harmless, unlike venomous) removed false positives from a venomous-species hub.

After building [Bird Album](https://birdalbum.com/) (11,000+ bird species drawn in a consistent illustration style), I wanted to see if the same architecture could work underwater.

The result is [**Sea Album**](https://seaalbum.com/en/) — a visual field guide covering **2,896 marine species** across **48 taxonomic groups**, **9 colour palettes**, and **8 habitats & traits**, published in English, Simplified Chinese, and Traditional Chinese. Taxonomy comes from WoRMS (World Register of Marine Species), distribution data from OBIS, and the illustrations are AI-assisted paper-cut plates reviewed species by species.

Everything is compiled by a single Python build script into plain static HTML + CSS and deployed directly on **Cloudflare Workers Static Assets** — no database, no server-side rendering, no frontend framework.

Along the way, scaling a multilingual static guide ran into four concrete engineering and SEO traps that turned out to be much more interesting than the build script itself.

Workers Static Assets has a hard ceiling of 20,000 files per deployment. Once you multiply 2,896 species by three locales (`en`, `zh`, `zh-hant`) and add hub pages for colours, taxonomic groups, habitats, and an A–Z index, the file count climbs fast.

Keeping all species illustrations on Cloudflare R2 and consolidating shared CSS/JS kept the entire 3-language site at **15,053 static files** (with **9,242 URLs** in the sitemaps), leaving enough headroom for future hubs without splitting deployments.

For Bird Album — which has grown past 45,000 multilingual pages including [bird colour guides](https://birdalbum.com/colors/) and sub-national state/province lists — we already moved HTML assembly to R2 + edge Worker caching. Sea Album is still right in the sweet spot where pure Static Assets shines: single-command deploys and sub-50ms TTFB everywhere.

Early on, English listing pages like [**Orange Sea Creatures**](https://seaalbum.com/en/colors/orange/) (458 species) were getting impressions, but text audits revealed a surprising bug:

`<span>#E87A3E</span>`), adding hundreds of repeated noise tokens to the page copy.
The fix took less than an hour:

`data-h` / `data-c` attributes rendered via CSS `::after { content: attr(data-c); }` for sighted users.
After rebuilding, CJK characters on `/en/colors/orange/` dropped from **2,161 to 2**, and `orange sea creatures` moved straight to the #1 term in page density. Same story across [** Types of Sea Creatures**](https://seaalbum.com/en/types/) and the full [** Sea Animals A to Z**](https://seaalbum.com/en/a-z/) directory.

People rarely search for marine animals by Latin family name — they search for *"deep sea creatures"*, *"venomous sea animals"*, or *"coral reef fish"*.

We already had structured ecology notes for every species, so generating 8 [**Habitat & Trait hubs**](https://seaalbum.com/en/habitats/) (such as [** Deep Sea Creatures**](https://seaalbum.com/en/habitats/deep-sea/), coral reef, tide pool, polar, open ocean, venomous, camouflage, and nocturnal) sounded like a simple keyword filter.

It wasn't. Naive substring matching immediately pulled harmless fish into the `venomous` hub because their notes said things like *"unlike venomous cone snails, this species is harmless"* or *"non-venomous reef dweller"*.

Splitting notes into individual sentences and checking for negation patterns (`non-venomous`, `not venomous`, `harmless`, `unlike venomous`) in the same sentence eliminated the false positives while keeping real matches clean (for example, 55 verified deep-sea species on `/en/habitats/deep-sea/`).

One recurring request from nature blogs and birding clubs using Bird Album was a way to embed a daily bird card without maintaining an API key or loading a heavy iframe.

We just shipped [**Bird of the Day by Bird Album**](https://wordpress.org/plugins/bird-of-the-day-by-bird-album/) to the official WordPress.org plugin directory. It renders a lightweight shortcode or block backed by our daily bird card at [`birdalbum.com/today/`](https://birdalbum.com/today/), with zero client-side JavaScript and no tracking scripts.

If you want to poke around the live builds:

Curious if anyone else running multilingual static sites on Cloudflare Workers has hit similar keyword-bleed or file-limit quirks — happy to share the Python static generator patterns in the comments.
