Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). leaflet 10.4.5 Minor update available for module leaflet (10.4.5). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2).

coffee_search

No security coverage
View on drupal.org

Coffee Search extends the Coffee launcher with a prefix-command live search. Type a short prefix followed by a query (e.g. n keyword) to get live suggestions from a pluggable search provider, without leaving the launcher.

Features

  • Live prefix search inside Coffee's Alt+D launcher. Each keystroke filters in real time (debounced 200 ms). The number of rows follows Coffee's Max results setting (default 7).
  • Built-in node-title provider on the n prefix. Type n (with a trailing space) to see the most recently changed published nodes; add keywords to filter. Honours node access.
  • Pluggable provider API: implement SearchProviderInterface and tag the service with coffee_search.provider to claim another prefix.

How it works

The user types a prefix (e.g. n) followed by a space, which puts the launcher in prefix mode. The JS dispatches subsequent queries to /coffee-search?prefix=n&q=<query>, which routes to a provider via a tagged service iterator. The provider returns JSON suggestions that render inside Coffee's existing autocomplete list.

Performance

The bundled node-title provider uses a SQL LIKE '%keyword%' query against the node title column. That is fine for the small-to-mid admin-convenience use case; on sites with tens of thousands of published nodes, heavy hook_node_grants implementations, or a shared DB server, the per-keystroke cost will become noticeable on top of the 200 ms debounce. See the README for details.

Related projects

  • Coffee — required dependency.

Activity

Total releases
1
First release
Apr 2026
Latest release
12 hours ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Apr 19, 2026