tantaraio / voy

🕸️🦀 A WASM vector similarity search written in Rust
https://www.npmjs.com/package/voy-search
Apache License 2.0
867 stars 31 forks source link

Using Voy in a plain JS app without bundlers #54

Open harishankar-gopalan opened 8 months ago

harishankar-gopalan commented 8 months ago

Hi, was wondering if there is any example to bundle Voy into a plain JS file. I tried loading the voy_search.js file from cdn but I seem to get a strange CORS issue when the wasm file is tried to be loaded. Any pointers on how to get past the same ?

markhughes commented 6 months ago

Could you share the error? Do you have a CSP or anything like that setup on your site?

Utopiah commented 2 months ago

Curious too, especially reading "Worldwide: Designed to deploy and run on CDN edge servers." I would hope for an e.g Glitch.com frontend only demo where I could use a textarea to have few lines of text as example then an input box as query to find the closest line, all this without installing anything anywhere.