web-llm icon indicating copy to clipboard operation
web-llm copied to clipboard

can I run in nodejs?

Open mtiger2k opened this issue 1 year ago • 5 comments

how can I make get-started run in nodejs?

mtiger2k avatar Jul 26 '23 06:07 mtiger2k

According to the docs, they don't have a Node.js SDK yet. But meanwhile, you can use the Python Rest API Server, which gives you these endpoints, then access them in your Node.js (with node-fetch, for example) and implement all your app logic in JavaScript/TypeScript.

felladrin avatar Jul 27 '23 11:07 felladrin

Would be nice to get this working with Deno as well, which had WebGPU until 1.31 (and may get gpu support back soon)

gsuuon avatar Jul 27 '23 21:07 gsuuon

Would be nice to get this working with Deno as well, which had WebGPU until 1.31 (and may get gpu support back soon)

And it's back! Deno 1.39: The Return of WebGPU

felladrin avatar Mar 12 '24 18:03 felladrin

Would be great to allow running in Node, at least for quick experimentations!

alucarded avatar Aug 13 '24 12:08 alucarded

+1

okasi avatar Sep 27 '24 18:09 okasi