# Scribe > Search and a command palette for Ember. `` is one search component with providers > that you can change. `@scribe-ts/palette` is a command palette with steps, a preview pane, key > bindings, undo and history. Command servers for Rails, Django, FastAPI, Next.js, Node and > Laravel speak one JSON:API protocol. ## Search - `@scribe-ts/core`: `defineIndex()({ name, searchable, facets, sortable, vector })`, `defineScribe({ name: provider })`, the `SearchProvider` interface and `Hit`. - Providers, one package each: `@scribe-ts/typesense`, `meilisearch`, `algolia`, `elasticsearch` (Elasticsearch and OpenSearch), `postgres` (a Scribe server endpoint), `postgrest` (PostgREST, Neon Data API, Supabase), `local` (Orama or MiniSearch in the browser), `pinecone`. - `@scribe-ts/ember`: `` yields `s.Input`, `s.Results`, `s.Hit`, `s.Highlight`, `s.Facets`, `s.Pagination`, `s.Empty`, `s.Error`. `` reads its arguments once: render a new one (a keyed `{{#each}}`) to change the provider. - Keys: a server package mints scoped keys (`POST /scribe/search-tokens`). Do not put an admin key in the browser. ## Command palette - `defineCommand({ id, title, keys, needs, steps, run, undo })` from `@scribe-ts/palette`. - `{{commandContext note=this.note.id}}` gives context values to the commands. - `new PaletteMachine({ commands, server: { client, scope }, undo, search })` and ``. ⌘K opens it. - Server commands: `createCommandsClient({ baseUrl })` from `@scribe-ts/commands-client`. ## Servers - Node: `@scribe-ts/server` (`createServer`, `defineCommand`, `record`), with `@scribe-ts/express`, `fastify`, `hono` and `next`. - Rails: the `scribe-rails` gem, `class X < Scribe::Command`. - Django and FastAPI: `scribe-django` and `scribe-fastapi`, the `@command` decorator. - Laravel: `joegaudet/scribe-laravel` (not `knuckleswtf/scribe`), a `Command` class. - Each write of a command calls `record(model, before, after)`, so undo can revert it. ## Tests - Use the harnesses of `@scribe-ts/test-support` with `@harnessed-ts/should` matchers. - `FakeSearchProvider` and `FakeCommandServer` need no network. ## Links - Guide: https://joegaudet.com/scribe/guide/ - Stories: https://joegaudet.com/scribe/stories/ - Protocol: https://github.com/joegaudet/scribe/blob/main/docs/protocol.md