cd /news/developer-tools/astro-d1-search-released-on-npm · home topics developer-tools article
[ARTICLE · art-85645] src=zander.wtf ↗ pub= topic=developer-tools verified=true sentiment=· neutral

astro-d1-search released on npm

Zander Martineau released astro-d1-search on npm, an Astro integration that adds full-text search backed by a /api/search endpoint, bm25 + recency ranking, and a searchIndex() function for server-rendered search pages. The package, which powers his own site and removed about 400 lines from the repo, includes docs, a GitHub repo, and an agent skill for Claude Code.

read1 min views23 publishedAug 2, 2026

The site search I built last month is now a package: astro-d1-search is an Astro integration that adds full-text search backed by

/api/search

endpoint, bm25 + recency ranking, and a searchIndex()

function for server-rendered search pages — all driven by one config object.This site now runs on the package rather than its own copy of the code, which removed about 400 lines from the repo. There are docs, a repo, and an agent skill (npx skills add mrmartineau/astro-d1-search ) so Claude Code can wire it up for you.

I wrote up the whole thing in astro-d1-search: site search for Astro in one integration.

── more in #developer-tools 4 stories · sorted by recency
── more on @zander martineau 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/astro-d1-search-rele…] indexed:0 read:1min 2026-08-02 ·