Skip to content

Does it work offline? Without backend? #186

Answered by micheleriva
abitrolly asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @abitrolly!
Yes, absolutely, Lyra is 100% capable of running in your browser.

You can just import it as:

<html>
  <body>
    <script type="module">
      import { create, search, insert } from "https://unpkg.com/@lyrasearch/lyra@latest/dist/esm/src/lyra.js";

      // ...
    </script>
  </body>
</html>

and use it directly in any major browser.

Let me know if you have any other questions!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@abitrolly
Comment options

@demosthenez
Comment options

Answer selected by RafaelGSS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants