News for hackers. Stuff that matters.

postpress

This is excellent!

The Web Platform is great for agents, especially given the browser already is the user's agent itself. Give Prompt API (or other providers, Transformers.js, LiteRT-LM) a try. You can have agents communicate over WebRTC as well: https://xt-ml.github.io/shadow-claw/

Re:Mesh LLM: distributed AI computing on iroh on Sunday July 12, 2026 @10:38AM (#48881540)
This got me thinking about experiments with models talking to each other over WebRTC: https://xt-ml.github.io/shadow-claw/

Its sort of a "P2P mesh" :-) Watch four instances of the harness running together and collaborating on checking the weather: https://www.youtube.com/watch?v=h1les1A3gcg

Re:Web Components: The Framework-Free Renaissance on Friday February 20, 2026 @03:01PM (#47093120)
Even at only v1, along with the "don't break the web" mentality, Web Components are an extremely important stepping stone. We should cheer the implementers of these proposal on and help!

We can now render whatever content we want confidently, inside of other apps. Less than an iframe, but enough isolation (or not if you want) with all of the important benefits of being baked into the current document.

Example: https://kherrick.github.io/block-garden/

Same custom element running inside Angular: https://kherrick.github.io/apps/playground/block-garden

Re:Your Face as a QR Code on Tuesday December 02, 2025 @05:03PM (#46127559)
Re:Show HN: Sprite Garden - HTML Canvas 2D sandbox and farming on Saturday October 11, 2025 @10:59PM (#45554790)
Screencast automating the player from DevTools -: https://gist.github.com/kherrick/d73f2245e704f9e5465b08c3e4e...

Example source automateSpriteGardenFullscreenDig.js - https://gist.github.com/kherrick/7f8cc9d7bfdc9a6951657df8f13...

Re:Show HN: Sprite Garden - HTML Canvas 2D sandbox and farming on Saturday October 11, 2025 @07:33PM (#45553706)
I've tested https://kherrick.github.io/sprite-garden/ by pressing, "W", "↑", or "space bar" to get started moving in the game. Afterwards the other functionality seems to work as expected in Firefox on Linux with the following versions:

- 140.3.1esr (64-bit)

- 143.0.4 (64-bit)

- 145.0a1 (2025-10-02) (64-bit)

Are you able to describe what issue you are seeing in particular?

Show HN: Sprite Garden - HTML Canvas 2D sandbox and farming

https://kherrick.github.io/sprite-garden/

Sprite Garden: https://kherrick.github.io/sprite-garden/A 2D sandbox exploration and farming game that runs entirely in the web browser. As a fully HTML, CSS, and JavaScript game, it is highly readable, hackable, and customizable. Included on "globalThis" is the "spriteGarden" global object with the game config and state readily available. Drawing with tiles is as easy as opening dev tools (use...

( Read More... | 3 comments | 2 points | on HN )
Re:Zig and WASM on Wednesday July 13, 2022 @12:25PM (#32084878)
I think as the tooling matures, it will find more adoption. I've used it in a few personal projects and found it useful.

- https://news.ycombinator.com/item?id=22622341

- https://kherrick.github.io/pwgen/

- https://plainandeasy.com/

Re:The Failure of the iPad on Thursday January 30, 2020 @08:49PM (#22198236)
> I wish there were more work done in the area of composable GUIs, where the core logic of applications is scriptable and where these elements can be combined in ways that could be even more expressive than Unix pipes are. Every now and then I have thoughts about taking a modern Smalltalk implementation and writing a suite of composable GUI apps as a demonstration of this idea.

Where the browser is the platform, you might consider using custom elements to fill this role: https://html.spec.whatwg.org/multipage/custom-elements.html#...

Re:Ask HN: What did you work on in 2017? on Sunday December 31, 2017 @03:53PM (#16042905)
JavaScript; Server side rendering an app shell (React / Redux) that uses the WordPress REST API:

https://github.com/kherrick/postpress/