◉ANTIGRAVITY LABJP
TAG

indie development

43 articles
← Back to all tags
Related:
Antigravity29Python5Next.js5cost management4web fonts3agents3Playwright3agent operations3iOS 273AdMob3iOS3Cloudflare2
✦ Tips/2026-11-26Intermediate

Catching a Cropped Logo in Link Previews Twice, Before and After the OGP Image Is Exported

I sent the URL of a site I had built to a chat, and the link card cut off the last letter of the logo. Two things caused it: the source image was exported broken, and the card crops the left and right edges. Here is the placement check I put in the generator, a check that counts pixels in the exported file, a fetch from the crawler's side, and what to do when an old preview refuses to go away.

▣ App Dev/2026-11-24Advanced

Two Times Inlining CSS Made FCP Slower, and How I Now Decide Per Site Whether to Inline

I inlined CSS into the HTML to clear PageSpeed Insights' render-blocking warning, and FCP got almost a second slower. The font preload had been pushed down to byte 28,672 of the head. Even after fixing the placement, the same change made a second site with 88KB of CSS slower, and I rolled it back. Here is a script that counts byte offsets inside the head, an inliner with a size cap, and the pattern I use on the larger site instead.

✦ Tips/2026-11-19Advanced

Before an Agent Clones Your Template Repo, Hand It a Trap Index: One Line per Fix, the Reasons Kept in One Place

When you copy a running site to start the next one, an agent carries the fixes over but leaves the reasons behind. A symptom-first trap index, a one-page porting plan written before the copy, and three small scripts that catch drift between the index, the source docs and their mirrors.

✦ Tips/2026-11-17Intermediate

Why a Small sizes Value Shrinks the Image Itself, and the CSS Line to Add When width and height Attributes Stretch It

The day I added responsive images, one artwork shrank and another stretched sideways. How sizes sets the displayed size, the one CSS line for width and height attributes, and how to work out sizes for tall art in a frame, with numbers and a check script.

◈ Agents/2026-11-14Intermediate

The Agent PR I Approved Was Rewritten a Week Later: Counting Which Lines Survive 14 Days with git blame

Agent PRs often sail through review, yet the same lines get rewritten soon after merge. Here is a git blame script that counts how many of a commit's added lines are still there 14 days later, plus the four traps that made my first version report wrong numbers: renames, formatter commits, date reversals and shallow clones.

▣ App Dev/2026-11-12Advanced

Check Web Font Delivery with an Origin Header, Too: How a Fallback Font Went Unnoticed on My Site for 13 Days

For 13 days, the Latin web font on my own site kept returning 404 and every page was drawn in a fallback face. A plain curl returned 200; only the browser's request, which carries an Origin header, received the stale 404. Here is a script that compares three kinds of request, a setting that keeps long cache lifetimes off error responses, and how to pick a purge that reaches every variant.

▣ App Dev/2026-10-30Intermediate

After I Closed the Image Viewer with Esc, the Page Behind It Stopped Scrolling: What I Counted When Moving to the dialog Element

While fixing the full-screen image viewer on my own site, I worked through three problems in order: Esc did nothing, the page behind kept scrolling, and the close button sat on top of the artwork. Even after moving to dialog, one bug remained, with a check script and numbers.

✦ Tips/2026-10-30Beginner

The sed -i That Worked on Linux and Stalled on My iMac: Checking an Agent's Steps Before You Run Them

A sed -i step that ran fine on Linux can stall on a Mac or leave backup files behind. Here is what I reproduced with GNU sed, the forms that behave the same on both, and a short check to run first.

▣ App Dev/2026-10-28Intermediate

I Fetched All 155 Sitemap URLs. Every One Returned 200, but 93% of the lastmod Dates Were the Same Day

A record of fetching every sitemap URL and cross-checking status, canonical, hreflang and lastmod. Full standard-library Python scripts and the mismatch I found.

◉ Antigravity/2026-10-28Beginner

When Antigravity Says Failed to Fetch: Decide the First Three Places to Look

A triage order for Failed to Fetch in Antigravity: first decide where the message appeared, then check whether the destination is reachable, whether you are still signed in, and whether a proxy or VPN sits in the middle. Copy-paste terminal checks, a symptom table, and how to tell it apart from your own app's fetch() failing.

✦ Tips/2026-10-23Intermediate

594 Articles Had No Body-Link Entrance. Counting the Related-Articles Box Left Only 6 Truly Orphaned

Counting only body links made half my MDX site look orphaned. Here is the full Python script that mirrors the related-articles scoring and also catches links the build strips.

▣ App Dev/2026-10-20Intermediate

I Edited a Sentence and Only the New Characters Turned into Tofu: Adding a Missing-Glyph Check to a Subsetted Japanese Web Font

Change one line of Japanese copy and the newly added characters can render as tofu boxes. Here is a small script that lists every character missing from a subsetted font, with file and line number, and fails the build if even one is absent, with real output from running it.