frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Using Claude Code: The unreasonable effectiveness of HTML

https://twitter.com/trq212/status/2052809885763747935
39•pretext•1h ago
Examples: https://thariqs.github.io/html-effectiveness/

Related: https://simonwillison.net/2026/May/8/unreasonable-effectiven...

Comments

BretonForearm•50m ago
Many of us had CC routinely generate HTML ever since it became available. Surprised that it's presented as some kind of novelty.
apsurd•46m ago
Web technologies got so many things right. People complain about it so much but it's amazing.

I worked with a vibe coded app at my last job (and since quit due to it) and because it was a nextjs SPA frontend with a separate API backend, the user facing urls didn't match the backend endpoints. Because AI uses react hooks for everything, state is in-memory, url-based routing isn't a thing unless you design for it. So links aren't free and thus we have no way for users to link to anything other than top-level entry points. LINKS! Especially for internal tools, everything being linkable is vital to collaboration and problem solving.

The need for uniform resource locations and verbs was so well thought out, 30 or 40 some odd years ago.

kulikalov•46m ago
Md and plotly is all you need. The only thing that is truly missing is some sort of Markdown-based forms
gabesullice•42m ago
It's been confusing to me that so many people have treated markdown as the lingua franca for agent instructions when their training corpus must be dramatically biased to HTML instead of Mardown.

Markdown only makes sense for us meatbags becuse it's easy for us to edit and version control, but if you're sharing anything where the audience is an agent publicly, HTML must be just as interpretable.

koolala•38m ago
The unreasonable effectiveness of HtmlX.
jdw64•28m ago
So the argument seems to be that HTML is stronger than Markdown for disposable UI, visualization, and interactive artifacts. It also works well as an external memory object because it can be linked to and opened directly.

For visualization and animation, I do think HTML can be a very good format.

If LLMs become part of the workflow, this can definitely be useful. But on the other hand, maintaining HTML itself is more annoying than it first appears.

I do something somewhat similar. I download good CodePen examples and store them in a GitHub library so I can reuse them later. It works, but version management becomes quite difficult in practice. So I think there are real tradeoffs.

Barbing•26m ago
(Edit) nvm, the usual Xcancel (https://xcancel.com/trq212/status/2052809885763747935) just links to an article (http://x.com/i/article/2052796100608974848)
ar_turnbull•24m ago
I’ve been prompting my way to all kinds of interactive HTML artifacts the last month or so. It’s way more fun than making decks and static documentation.

I even did a workshop with PartyKit cursors, dot voting, reflection comments, and an individual rating at the end.

Oh, and I can add super lightweight analytics so I know who actually reads my things or interacts with my prototypes. ^_^

alsetmusic•21m ago
> I’ve started preferring HTML as an output format instead of Markdown and increasingly see this being used by others on the Claude Code team, this is why.

This is why I read long agent output either by using VIM and MacOS Quicklook (with a markdown extension for rendering) or paste output into MarkEdit (an editor with a preview pane; I think it’s cross platform?). Worst case, have an agent build you a simple local web page that interprets Markdown and renders it. Markdown was invented as a shorthand for web syntax[0]. That’s what it’s for! I bet you spend more tokens and time asking an agent to convert its native markdown to html than any of these.

0. https://daringfireball.net/projects/markdown/

2001zhaozhao•18m ago
I'm thinking of adding support for GitHub-flavored markdown (including things like Mermaid diagrams) in my agent wrapper tool and then adding something like a skill for Claude Code to always write GitHub-flavored markdown and use its features when communicating with me. Seems a lot better than general Markdown.

Though now I'm wondering: why not just add full HTML embedding support as well? I'm talking not just for specific deliverables, but for any of the agent's responses with the user.

momojo•18m ago
When exploring a new idea or tool, my go to prompt is

``` In a single index.html, no dependencies, sparse styling, create an app that <idea> ```

Even before AI, it's how I built small tools, and there's something lovely about being able to email my friends the tool, and tell them "If you want to make a change, toss it to your LLM!"

postalcoder•14m ago
Yeah, I agree with this. I've been doing the same thing. Whenever I have to do a review, I ask the llm to create a dashboard. It's a godsend for reducing cognitive burden.

I think the reason stuff like this wasn't done earlier was due to fears about context pollution, but post training has gotten so good that you can do virtually anything in the context window and not have it affect the quality of output.

whatever1•12m ago
Do we have local first html renderers that don’t complain about cors and wrong file addresses? I don’t want to spin up a server just to open an HTML file
jaaron•9m ago
For similar reasons, I strongly prefer org-mode to markdown. I find that with org-mode and extensions (such as in-line elisp) I have a _significantly_ more powerful system. For example, specs can have tasks and roadmaps inline which reduces risk of drift. The biggest downside is, unfortunately, not enough folks are emacs proficient.

I hadn't considered HTML and I'm definitely going to try this.

Cherry Kearton – groundbreaking 19th-century nature photographer

https://www.bbc.com/future/article/20260507-cherry-kearton-the-eccentric-influence-on-a-young-sir...
1•jeffwass•2m ago•0 comments

I Will Never Use AI to Code

https://antman-does-software.com/i-will-never-use-ai-to-code-or-write
1•ishanz•3m ago•0 comments

Poka-Yoke

https://en.wikipedia.org/wiki/Poka-yoke
1•the-mitr•4m ago•0 comments

Anthropic weighs fundraising for near $1T valuation, FT reports

https://www.reuters.com/technology/anthropic-weighs-fundraising-near-1-trillion-valuation-ft-repo...
1•giuliomagnifico•6m ago•0 comments

Young people explicitly banned from openSUSE – urgent call for reversal

https://lists.opensuse.org/archives/list/project@lists.opensuse.org/message/6PU6JU2IGKDANYNN3KIXD...
2•robin_reala•7m ago•0 comments

The Birthplace of AI

https://www.cantorsparadise.com/the-birthplace-of-ai-9ab7d4e5fb00
1•tzury•10m ago•0 comments

Show HN: Know Any Good Jokes?

https://6jokes.com
1•dobodob•15m ago•0 comments

Stable Release of OpenClaw

https://agentwatch.aicompass.dev
1•davideuler•16m ago•1 comments

Code with Claude 2026 – San Francisco (playlist) [video]

https://www.youtube.com/watch?v=GMIWm5y90xA&list=PLmWCw1CzcFim2obQ-w3ohbULOfwp5lApR
1•pramodbiligiri•23m ago•0 comments

EU calls VPNs "a loophole that needs closing" in age verification push

https://cyberinsider.com/eu-calls-vpns-a-loophole-that-needs-closing-in-age-verification-push/
7•muse900•25m ago•0 comments

Building an AI-Powered IDE Companion App

https://mesmacosta.medium.com/google-cloud/from-idea-to-execution-building-an-ai-powered-ide-comp...
1•graup•25m ago•2 comments

How empty are the depths of space?

https://bigthink.com/starts-with-a-bang/how-empty-depths-space/
1•Kaibeezy•27m ago•0 comments

Color space conversion that transforms RGB/RYB colors in code/learn mode

https://rybitten.space/
1•jamiecurle•33m ago•0 comments

Perplexity Drops the Academic Integrity Mask

https://www.plagiarismtoday.com/2025/10/27/perplexity-drops-the-academic-integrity-mask/
2•jruohonen•34m ago•0 comments

Show HN: Hacker News Dark Mode Bookmarklet

https://github.com/gorgonian/hn-dark-bookmarklet
1•gorgonian•37m ago•0 comments

What Beijing learned about the U.S. from the Iran war

https://www.politico.com/news/2026/05/08/china-lessons-iran-trump-xi-00912539
2•KnuthIsGod•41m ago•0 comments

Data Visualisation Guide

https://data.europa.eu/apps/data-visualisation-guide/graphic-design-introduction
2•tosh•44m ago•0 comments

How Timeplus AgentGuard dectect realtime threats from Agent

https://timeplus-io.github.io/Presentation---AgentGuard-Introduction/
1•gangtao•46m ago•0 comments

How Axavive Supports Better Wellness Naturally?

1•JackSage•51m ago•0 comments

Whistling-only WhatsApp groups are taking off in Brazil

https://www.theguardian.com/world/2026/may/05/brazil-craze-whistling-only-whatsapp-groups
2•sahar_builds•54m ago•0 comments

Porting Starlark to Pure Python with Claude Code

https://dbohdan.com/starlark-python
1•networked•54m ago•0 comments

[Odds of hitting] a home run off the top of the foul pole

https://www.nytimes.com/athletic/7261633/2026/05/08/oneil-cruz-home-run-foul-pole-pirates/
1•Kaibeezy•1h ago•1 comments

A Technical Dive into Formalization of Chess Tactics

https://lichess.org/@/heroku/blog/gofchess--a-technical-dive-into-formalization-of-chess-tactics/...
2•heroku•1h ago•0 comments

Show HN: My New Projects Website

https://apps.weichart.de
1•surrTurr•1h ago•0 comments

The Making of Steven Spielberg's Jurassic Park (2012)

https://www.blu-ray.com/news/?id=8186
2•susam•1h ago•0 comments

Deepsec: The security harness for finding vulnerabilities

https://vercel.com/blog/introducing-deepsec-find-and-fix-vulnerabilities-in-your-code-base
1•gmays•1h ago•0 comments

Watts Wasting Texas Water [pdf]

https://www.sierraclub.org/sites/default/files/2026-05/texaswaterreport_final.pdf
2•littlexsparkee•1h ago•0 comments

Aurora: A Leverage-Aware Optimizer for Rectangular Matrices

https://blog.tilderesearch.com/blog/aurora
1•sanxiyn•1h ago•0 comments

Snapseed 4.0 – Note from the Team

https://old.reddit.com/r/snapseed/comments/1t7j7yt/snapseed_40_a_note_from_the_snapseed_team/
1•satvikpendem•1h ago•0 comments

Fertilizer time bomb threatens to drive up Europe's food prices

https://www.politico.eu/article/europe-farmer-fertilizer-prices-iran-war-inflation/
1•leonidasrup•1h ago•0 comments