meilisearch-ui

😎 An open-source, pretty, simple and fast ⚡ meilisearch admin dashboard UI for managing your meilisearch instances 🕹

APACHE-2.0 License

Stars
355
Committers
8

Meilisearch-UI

An open-source, pretty, simple and fast meilisearch admin dashboard UI for managing your meilisearch instances

[IMPORTANT] The main branch may be unstable or unavailable during development.

Please use release instead of main branch to obtain a stable version app

Features

🚀 Indexes CRUD

🔎 Search documents

💪 Documents management

🛠️️ Index settings

⚓ Multiple instances management

🔒 Data is stored inside your browser

📦 Docker image support

🎱 Singleton mode support (easy to integrate with your own apps)

🌐 I18n support (en, zh)

Quick start

⚠️ This app have not achieved responsive design totally, so mind that only use this app on desktop to gain better experience.

CORS settings

✅ Remember update CORS settings in your instance server for this ui domain before using.

Because this app use meilisearch official JS client to call your meilisearch instance, you need to manually configure CORS settings in your web server to make sure ui panel can access your instance server with api calls.

Add your ui panel deployment domain to your instance server cors list.

ex:

# ... other configurations
     add_header Access-Control-Allow-Origin "your.meilisearch-ui.domain.com";
# ... other configurations

Learn how to configure CORS settings in your web server

Online use

There is a live demo 👉 meilisearch-ui, deploy on Vercel.

Docker

docker pull riccoxie/meilisearch-ui:latest

docker run -d --restart=always --name="meilisearch-ui" -p <your-port>:24900 riccoxie/meilisearch-ui:latest

Deploy on Vercel

You can deploy this app to the cloud with Vercel

Just one click the button below to deploy this app automatically

Singleton mode

See this issue.

If you want to use this app with only one meilisearch instance, you can enable the singleton mode by below config.

Then you will directly jump to the instance page when you open this app.

Just need to start this app with some env variables like below.

VITE_SINGLETON_MODE=true
VITE_SINGLETON_HOST=http://localhost:27700
VITE_SINGLETON_API_KEY=your-api-key
  • VITE_SINGLETON_MODE tell this app to enable singleton mode.
  • VITE_SINGLETON_HOST is the meilisearch host url.
  • VITE_SINGLETON_API_KEY is the meilisearch master key.

Development

git clone [email protected]:riccox/meilisearch-ui.git

cd meilisearch-ui

pnpm install

pnpm dev

Built with ♥

  • Meilisearch
  • Tanstack
  • React v18
  • Arco design
  • Semi UI
  • Mantine UI
  • Next UI
  • Radix UI
  • Tabler Icon
  • Lucide Icon
  • Monaco Editor for react
  • TypeScript
  • Vite
  • Zustand
  • TailwindCSS
  • React Error Boundary
  • Prettier
  • Fuse.js
  • Echarts
  • Lodash.js
  • Immer
  • Ahooks
  • Framer motion
  • react-json-view
  • Dayjs
  • I18Next
  • UnoCSS
  • qs
  • Sonner
  • Vaul
  • Zod
Badges
Extracted from project README
Deploy with Vercel
Related Projects