mini-meili Svelte Themes

Mini Meili

🤏 a tiny MeiliSearch web client

mini-meili, a tiny MeiliSearch web client

An alternative to the official, unmaintained Mini Dashboard and meilisearch-ui.

  • More features
    • Actually usable on small screens
    • Usable via keyboard only (visual feedback should be improved)
    • (todo) Exclude fields in index
  • More portable
    • Can connect to any MeiliSearch instance
    • Easy to self-host if need be
    • Configure via URL parameters
  • More smaller
    • 193kb vs. 752kb vs. 1.5mb
    • Built with Svelte 5

Configuration

DO NOT USE AN API KEY THAT HAS WRITE PERMISSIONS!

The client can't use any write permissions, so using a key with more permissions than needed is just insecure with no benefits.

The client requires the API key to have these permissions:

  • search
  • indexes.get
  • stats.get
  • version

URL Parameters

You can pre-configure the client by passing URL parameters.

  • host: The URL of the MeiliSearch instance to connect to
  • api_key: The API key to use

Example:

https://mini-meili.haglund.dev/?host=https://search.haglund.dev&api_key=22b483672526a6eb07f464cf3bdae5924ff25d031b7d69968eb5babccbbd9c79

Self-hosting

Docker

A docker image is available that uses nginx to serve the static files for you.

docker run -d -p {YOUR PORT}:80 --name mini-meili ghcr.io/beeequeue/mini-meili:latest
# compose.yml
services:
  mini-meili:
    image: ghcr.io/beeequeue/mini-meili:latest
    container_name: mini-meili
    restart: always
    ports:
      - {YOUR PORT}:80

Development

  1. Set up node and pnpm
  2. Install dependencies: pnpm install
  3. Run dev server: pnpm dev
  4. Open localhost:5173 in your browser

Top categories

Loading Svelte Themes