Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

DependencyCodeEditorLand/TauriSearch

Open more actions menu
 
 

Repository files navigation

Note This repo has been archived. Visit tauri-apps/meilisearch-docsearch for the new UI component or tauri-apps/tauri-docs for updated search indexing.

tauri-search

use of Meilisearch for Tauri's website

Getting Started

# 1. installs deps for both CLI and Docs
# 2. starts Docs server (in dev mode with HMR), opens in browser
# 3. starts Meilisearch server in Docker
pnpm run start

If you've already installed all the deps and want more granular control you can try any of the following script targets:

# start Docker services (you must have Docker installed)
docker compose up -d
# or
pnpm run up

# stop Docker services
docker compose down
# or
pnpm run down

# turn on watcher mode for both CLI and Docs
pnpm run watch

A browser window should now have opened up pointing to http://localhost:3333. See you over there.

Quick CLI overview

For those who aren't impressed with browser based documentation ... here's a quick guide to the script commands you can use from the root of the monorepo:

  • pnpm run watch - start up dev server in HMR mode, and put watchers on all code in tauri-search
  • pnpm run build - build both CLI and npm exports of tauri-search package
  • pnpm run cli:clear-caches - removes all JSON based cache files of AST or search Documents from tauri-search
  • pnpm run cli:push-caches - will create caches (where necessary) and push them into the local Meilisearch server
  • pnpm run test - runs the terminal test runner once and exits
  • pnpm run test:watch - runs test runner in both console and web browser and watches for changes

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 76.9%
  • Vue 12.4%
  • Rust 8.2%
  • CSS 1.4%
  • Other 1.1%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.