Live data from Hacker News

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

teamchong.github.io

31–40 of 65 posts

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

#31

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?

had the same question! looks like it's another project called Drawmode[1] from the same group...

[1] https://github.com/teamchong/drawmode

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

#32

The Gemma models really are amazing. I was on a flight a few days ago and used E2B to do some basic research on the place I was going to, running the model locally on my Pixel 10 Pro. It gave me basically the same as Gemini or ChatGPT would do when I landed

May I ask what setup you used to run it on your phone and if it's satisfactory (it sounds like it)?

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

#33
> "OAuth 2.0 authorization code flow with PKCE as a sequence diagram — user, browser, app server, auth server, API"

If you do a Google image search for "OAuth 2.0 PKCE sequence diagram" you get good results also. Maybe if you ask for something more esoteric this becomes valuable? Of course, that also makes hallucinations more likely.

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

#34

The Gemma models really are amazing. I was on a flight a few days ago and used E2B to do some basic research on the place I was going to, running the model locally on my Pixel 10 Pro. It gave me basically the same as Gemini or ChatGPT would do when I landed

> It gave me basically the same as Gemini or ChatGPT would do

I'm very surprised by this, in my tests E2B has very limited general knowledge.

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

#35
post #32

The Gemma models really are amazing. I was on a flight a few days ago and used E2B to do some basic research on the place I was going to, running the model locally on my Pixel 10 Pro. It gave me basically the same as Gemini or ChatGPT would do when I landed

May I ask what setup you used to run it on your phone and if it's satisfactory (it sounds like it)?

Edge Gallery, which is a bloody terrible name for an app by the way

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

#36

I've had excellent luck using Claude Code to generate "mermaid diagrams" for me, and convert them to .png format headlessly using mmdc/puppeteer. Really helped me out with an engineering proposal I just finished. In past years I would have fumbled around with Visio forever and the result would have been worse.

And yet people here insist that the height of an llm is not being above to draw a pelican or count letters in a word

Just wait if they go public. Claude 5.4 fails the Pelican test stock sheds 20% of value pf news. Wall street wonders if the lack of front wheel means there is something seriously wrong with the stocks underlying value

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

#37
post #34

The Gemma models really are amazing. I was on a flight a few days ago and used E2B to do some basic research on the place I was going to, running the model locally on my Pixel 10 Pro. It gave me basically the same as Gemini or ChatGPT would do when I landed

> It gave me basically the same as Gemini or ChatGPT would do I'm very surprised by this, in my tests E2B has very limited general knowledge.

It was genuinely outstanding for a tiny local model. I'm in Marrakech and it gave 3 separate one-day itineraries that contained most of the same stuff I got from Gemini when I landed. I followed up to ask specifically about souks (markers/bazaars) and it listed the main ones and what types of products you can get from each.

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

#38

Earlier quoted context omitted.

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

it's a security feature. otherwise my malicious site could check for cdn.sensitivephotoswebsite.com and blackmail you if it was cached already

Seem like a solvable problem. Per origin cache control. But actually just load the data locally

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

#39

I've had excellent luck using Claude Code to generate "mermaid diagrams" for me, and convert them to .png format headlessly using mmdc/puppeteer. Really helped me out with an engineering proposal I just finished. In past years I would have fumbled around with Visio forever and the result would have been worse.

do the same.

I just ask Claude code for mermaid to visualize any topic I'm discussing.

Post reply on HN