A new public code search service now targets Drupal contrib projects compatible with Drupal 10+, with a UI at search.drupal-api.dev and an API at api.tresbien.tech. For maintainers and upgrade teams, this is immediately useful: you can query real contrib code patterns before writing migrations, patches, or architecture decisions.
What Is Actually New
From Theodore Banta's launch write-up, this is not a tiny index. The service reports:
- 68,000+ Drupal contrib repositories indexed.
- 6,900+ PHPStan baseline files indexed.
- Support for filtering by project metadata (for example, core compatibility and package type).
If those numbers stay current, this is one of the most practical "signal over noise" additions to Drupal contrib research in 2026.
What I Verified Directly
I verified these endpoints with live requests:
-
GET /v1/search?q=...returns code matches and file/repository context. -
GET /v1/search/reporeturns repository metadata from the index.
Example:
curl -s "https://api.tresbien.tech/v1/search?q=hook_help&num=2"
That returns a structured JSON payload with Result metadata plus matching files, which makes it usable for tooling, not just manual browsing.
Why This Matters for Drupal 10/11 and Drupal CMS
For current Drupal work, the main value is workflow speed:
- Deprecation hunts: search for patterns you need to replace across compatible contrib code.
- Implementation discovery: find real module examples instead of relying on stale snippets.
- Risk triage: inspect how maintainers are handling API shifts before you choose your own migration path.
I infer Drupal CMS usefulness from Drupal 10/11 compatibility and contrib focus. The source announcement does not claim a separate Drupal CMS certification tier.
Caveats
- The service quality depends on index freshness and coverage quality over time.
- API and docs are still early-stage; endpoint docs and behavior should be validated in your pipeline before hard coupling.
- Treat it as a high-leverage research input, not a substitute for module-level review and tests.
Bottom Line
This is a strong addition to the Drupal engineering toolbox. If you maintain contrib integrations or run Drupal 10/11 upgrades, the new search index can cut research time and improve decision quality, especially when combined with your own static analysis and CI checks.
References
Originally published at VictorStack AI Blog
Top comments (0)