{"slug": "building-sea-album-2896-marine-species-on-cloudflare-workers-and-the-seo-traps", "title": "Building Sea Album: 2,896 Marine Species on Cloudflare Workers (and the Multilingual SEO Traps We Hit)", "summary": "A developer built Sea Album, a static visual field guide covering 2,896 marine species across 48 taxonomic groups in English, Simplified Chinese and Traditional Chinese, compiled by a single Python build script into plain HTML and CSS and deployed on Cloudflare Workers Static Assets. Keeping illustrations on Cloudflare R2 held the three-language site to 15,053 static files and 9,242 sitemap URLs, under the platform's 20,000-file deployment ceiling. The developer also reported fixing an SEO bug where hex color codes rendered as visible text, cutting CJK characters on the English orange-creatures page from 2,161 to 2, and using sentence-level negation checks to keep non-venomous species out of a venomous-animals hub.", "body_md": "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.\n\nThe 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.\n\nEverything 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.\n\nAlong 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.\n\nWorkers 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.\n\nKeeping 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.\n\nFor 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.\n\nEarly 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:\n\n`<span>#E87A3E</span>`), adding hundreds of repeated noise tokens to the page copy.\nThe fix took less than an hour:\n\n`data-h` / `data-c` attributes rendered via CSS `::after { content: attr(data-c); }` for sighted users.\nAfter 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.\n\nPeople rarely search for marine animals by Latin family name — they search for *\"deep sea creatures\"*, *\"venomous sea animals\"*, or *\"coral reef fish\"*.\n\nWe 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.\n\nIt 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\"*.\n\nSplitting 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/`).\n\nOne 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.\n\nWe 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.\n\nIf you want to poke around the live builds:\n\nCurious 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.", "url": "https://wpnews.pro/news/building-sea-album-2896-marine-species-on-cloudflare-workers-and-the-seo-traps", "canonical_source": "https://dev.to/alchaincyf/building-sea-album-2896-marine-species-on-cloudflare-workers-and-the-multilingual-seo-traps-we-14m2", "published_at": "2026-12-03 22:13:53+00:00", "updated_at": "2026-12-03 22:16:41.527562+00:00", "lang": "en", "topics": ["generative-engine-optimization", "ai-search"], "entities": ["Sea Album", "Bird Album", "Cloudflare Workers", "Cloudflare R2", "WoRMS", "OBIS", "WordPress.org"], "also_reported_by": [], "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.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/building-sea-album-2896-marine-species-on-cloudflare-workers-and-the-seo-traps", "markdown": "https://wpnews.pro/news/building-sea-album-2896-marine-species-on-cloudflare-workers-and-the-seo-traps.md", "text": "https://wpnews.pro/news/building-sea-album-2896-marine-species-on-cloudflare-workers-and-the-seo-traps.txt", "jsonld": "https://wpnews.pro/news/building-sea-album-2896-marine-species-on-cloudflare-workers-and-the-seo-traps.jsonld"}}