A CLI tool to migrate data from different platforms to Upstash Search
TypeScript
1
7 commits
updated Jul 7, 2025
A command-line tool to migrate your data from an Algolia or Meilisearch index to an Upstash Search index.
You can run the CLI directly using npx without any installation, which ensures you are always using the latest version.
npx @upstash/search-migrator
The CLI can be run by passing command-line flags; otherwise, those credentials will be asked in the CLI.
Simply run the command without any flags to be guided through the migration process with interactive prompts.
npx @upstash/search-migrator
You can also provide your credentials and other information as command-line flags.
npx @upstash/search-migrator \
--upstash-url "YOUR_UPSTASH_URL" \
--upstash-token "YOUR_UPSTASH_TOKEN" \
--algolia-app-id "YOUR_ALGOLIA_APP_ID" \
--algolia-api-key "YOUR_ALGOLIA_WRITE_API_KEY"
npx @upstash/search-migrator \
--upstash-url "YOUR_UPSTASH_URL" \
--upstash-token "YOUR_UPSTASH_TOKEN" \
--meilisearch-host "YOUR_MEILISEARCH_HOST" \
--meilisearch-api-key "YOUR_MEILISEARCH_API_KEY"
UPSTASH_SEARCH_REST_URL and UPSTASH_SEARCH_REST_TOKEN.
--upstash-url corresponds to UPSTASH_SEARCH_REST_URL.--upstash-token corresponds to UPSTASH_SEARCH_REST_TOKEN.--algolia-app-id.--algolia-api-key), you need a key with write permissions for your indices. You can use your Write API Key or create a new one with the necessary permissions.--meili-host corresponds to your Meilisearch instance URL (e.g., https://ms-xxxxxx.meilisearch.io).--meili-api-key corresponds to your Meilisearch API key.A CLI tool to migrate data from different platforms to Upstash Search
TypeScript
1
7 commits
updated Jul 7, 2025
A command-line tool to migrate your data from an Algolia or Meilisearch index to an Upstash Search index.
You can run the CLI directly using npx without any installation, which ensures you are always using the latest version.
npx @upstash/search-migrator
The CLI can be run by passing command-line flags; otherwise, those credentials will be asked in the CLI.
Simply run the command without any flags to be guided through the migration process with interactive prompts.
npx @upstash/search-migrator
You can also provide your credentials and other information as command-line flags.
npx @upstash/search-migrator \
--upstash-url "YOUR_UPSTASH_URL" \
--upstash-token "YOUR_UPSTASH_TOKEN" \
--algolia-app-id "YOUR_ALGOLIA_APP_ID" \
--algolia-api-key "YOUR_ALGOLIA_WRITE_API_KEY"
npx @upstash/search-migrator \
--upstash-url "YOUR_UPSTASH_URL" \
--upstash-token "YOUR_UPSTASH_TOKEN" \
--meilisearch-host "YOUR_MEILISEARCH_HOST" \
--meilisearch-api-key "YOUR_MEILISEARCH_API_KEY"
UPSTASH_SEARCH_REST_URL and UPSTASH_SEARCH_REST_TOKEN.
--upstash-url corresponds to UPSTASH_SEARCH_REST_URL.--upstash-token corresponds to UPSTASH_SEARCH_REST_TOKEN.--algolia-app-id.--algolia-api-key), you need a key with write permissions for your indices. You can use your Write API Key or create a new one with the necessary permissions.--meili-host corresponds to your Meilisearch instance URL (e.g., https://ms-xxxxxx.meilisearch.io).--meili-api-key corresponds to your Meilisearch API key.