I am trying to think of use cases for this but I can’t think of one. It’s sort of cool, but I need help figuring out who’s the audience for this here. Why would someone need or want this?
Hey, author here! It’s just for fun :). I think I went too hard on the satire and people thought it was something other than a good time, but it’s just a good time.
I think the main value is buried in the page, and that is it can also render in the terminal, so it’s sort of React for TUI apps? And they built OpenCode with it?
But then why make console.log your main selling point?
Used to think of building something like this for my frontend framework as a way to display help files.
Didn't get to it though and nowadays, the point is moot with AI producing most of the code. Less of a need for framework -help.
The marketing site is entirely satire :). But the framework works and there’s lots of resources to guide you along if you want to render an app in the console.
Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “script-src 'self' 'sha256-0bE0Rzxw6+Rr0Vb1I3B7EN5JZ+NZ9jT+5FiVc5111kE=' 'sha256-5nr3sDO484a+ptnrxPqZmGq9mlgPZRDXnzoSNeOMyJg=' 'sha256-D3lWSzWAu/enrsttp78qOMc3fjgP0Dy4HxDkiZURtVE=' 'sha256-esHsHg/IaqocU5CUjFnT9EU/fiPT0+n92knv+GpsddU=' 'sha256-mKenitUjAI3FLQd3kfGh5iwQOrIytahc0/R5FoT6JKw=' 'wasm-unsafe-eval' https://static.cloudflareinsights.com”
Content-Security-Policy: The page’s settings blocked a JavaScript eval (script-src) from being executed because it violates the following directive: “script-src 'self' 'sha256-0bE0Rzxw6+Rr0Vb1I3B7EN5JZ+NZ9jT+5FiVc5111kE=' 'sha256-5nr3sDO484a+ptnrxPqZmGq9mlgPZRDXnzoSNeOMyJg=' 'sha256-D3lWSzWAu/enrsttp78qOMc3fjgP0Dy4HxDkiZURtVE=' 'sha256-esHsHg/IaqocU5CUjFnT9EU/fiPT0+n92knv+GpsddU=' 'sha256-mKenitUjAI3FLQd3kfGh5iwQOrIytahc0/R5FoT6JKw=' 'wasm-unsafe-eval' https://static.cloudflareinsights.com” (Missing 'unsafe-eval')
Source: HTMLElement.prototype.focus = ((realFocu… textjs.org
It looks like the authors also created opencode, and there’s a page about how opencode uses it - so local TUI for agents seems like a primary use case.