Topic: nodejs

2026-09-13 · 3 min read

Node TLS errors behind antivirus or a proxy

When npm, fetch or gcloud fail TLS verification on one machine only, something is intercepting HTTPS and re-signing it. How to see whose certificate you are being handed, why Node ignores the Windows store by default, and the one flag that fixes it safely.

nodejstlscertificateswindows
2026-09-13 · 3 min read

Multi-language Express site with hreflang

How to structure a small Express and EJS site so that English lives at the root, other languages under a prefix, every page declares its alternates with hreflang and x-default, and the sitemap lists them, using a single config file and one content folder per language.

expressejsi18nhreflang
2026-09-13 · 3 min read

sitemap.xml, robots.txt and ads.txt in Express

Three small text endpoints every content site needs. How to build sitemap.xml from the content index with lastmod and alternates, keep robots.txt honest, serve ads.txt from an environment variable so ad networks can be added without a code change, and cache all three.

expressseositemaprobots
2026-09-13 · 3 min read

Cloud Run cold starts for Express

A scale-to-zero service pays for its first request after idle with a cold start. Where the time goes for a typical Node and Express app, how to measure it honestly, the changes that help (and the ones that do not), and the arithmetic for min-instances.

cloud runnodejsexpressperformance
2026-09-13 · 3 min read

Book cover generation with sharp and SVG text

A repeatable cover pipeline for e-books: a background image, a title block drawn as SVG, composited and resized with sharp. The font pitfalls for non-Latin scripts, why some system fonts drop Thai glyphs, and the pixel sizes the stores expect.

nodejssharpsvgfonts
2026-09-13 · 3 min read

AI image generation from Node with cost control

How we generate hero images, category art and book covers with an image model from a Node script: named jobs in a file, one prompt each, a cost log that adds up in local currency, a review step before anything is published, and sharp to crop and compress the output.

nodejsaiimage generationsharp

← Guides