Live data from Hacker News

Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

teamchong.github.io

11–20 of 65 posts

Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

#11

Earlier quoted context omitted.

What? downloaded for me at 2gbps

Ah let me clarify, many of the in the browser demos make me download certain models even if I already have them It would be great if there was a way that I don't have to redownload them across demos so that I just have a cache. or an in browser model manager. hope this makes sense. Or indeed use some sort of huggingface model downloader (if that exist with XET)

I think this would sit best at the browser level. I’m not sure there’s a nice way for multiple websites to share a cache like that.

Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

#12

no firefox support?

firefox has webgpu already, but the subgroups extension isn't in yet. every matmul / softmax kernel here leans on subgroupShuffleXor for reductions, that's the blocker. same reason mlc webllm and friends don't run on firefox either. once mozilla ships it this should work

Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

#13

so multiple of these browser wasm demos make me re-download the models, can someone make a cdn for it or some sort u uberfast downloader? just throw some claude credits against it ty!

Would you be okay with it using your upload at the same time, then a p2p model would work. (This is potentially a good match for p2p because edge connections are very fast, they don't have to go across the whole Internet). You could be downloading from uploaders in your region. Let me know if you would be okay with uploading at the same time, then this model works and I can build it for you for people to use this way.

Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

#14
I love this idea. Unfortunately, it says "Unsupported browser/GPU" for me. This is Desktop Chrome version 147 (page says it requires 134+) and I have a 1060 card with 6 GB of RAM on this specific device, so it should fit. I have more than 4 GB of free RAM as well.

Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

#15

I love this idea. Unfortunately, it says "Unsupported browser/GPU" for me. This is Desktop Chrome version 147 (page says it requires 134+) and I have a 1060 card with 6 GB of RAM on this specific device, so it should fit. I have more than 4 GB of free RAM as well.

sorry it’s not working for you. I built this as a personal project for self-learning, but I plan to take a look at this issue next weekend. you can check out a video demo of it here: https://github.com/user-attachments/assets/71ae6e5c-a5ec-4d0...

Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

#17

I love this idea. Unfortunately, it says "Unsupported browser/GPU" for me. This is Desktop Chrome version 147 (page says it requires 134+) and I have a 1060 card with 6 GB of RAM on this specific device, so it should fit. I have more than 4 GB of free RAM as well.

sorry it’s not working for you. I built this as a personal project for self-learning, but I plan to take a look at this issue next weekend. you can check out a video demo of it here: https://github.com/user-attachments/assets/71ae6e5c-a5ec-4d0...

That's amazing. Very good result. Thanks for sharing.

Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

#19

so multiple of these browser wasm demos make me re-download the models, can someone make a cdn for it or some sort u uberfast downloader? just throw some claude credits against it ty!

CDN wouldn't help much. These days browsers partition caches by origin, so if two different tools (running on different domains) fetch the same model from the CDN, the browser would download it twice.

Did not know that. That sounds extraordinary wasteful, there must be a file hash based method that would allow sharing such files between domains.

Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

#20
How does this part work?

"The LLM outputs compact code (~50 tokens) instead of raw Excalidraw JSON (~5,000 tokens)."

I see on the left that the LLM is outputting some instructions to add nodes and edges to the diagram. But what is interpreting those commands and turning them into an Excalidraw file?

Post reply on HN