frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: HJX – An AI-Native Web Language Unifying HTML, CSS and JavaScript

https://github.com/loayabdalslam/hjx
2•loayabdalslam•1h ago
Show HN: HJX – A Unified Web Language Designed for AI-Native Code Generation

Hi HN,

I’ve been exploring a language design where structure, style, and logic live in one authoring unit — to reduce token fragmentation when AI models generate frontend code.

HJX is a compiled UI language that unifies *structure*, *style*, and logic into a single `.hjx` file. It compiles to clean, dependency-free HTML + CSS + JavaScript — no virtual DOM, no runtime overhead, no framework lock-in. :contentReference[oaicite:1]{index=1}

Here’s a real example from the README:

```hjx component Counter state: count = 0 layout: view#root.card: text.title: "Count: {{count}}" button.primary (on click -> inc): "Increase" style: .card { padding: 16px; border: 1px solid #ddd; border-radius: 12px; } .primary { padding: 10px 14px; border-radius: 10px; cursor: pointer; } handlers: inc: set count = count + 1 ```

Happy to answer questions about the hjx and open for pr -Loaii abdalslam

Comments

loayabdalslam•1h ago
Thanks for checking out HJX!

A bit of backstory: I started building this after noticing how much context switching LLMs do when generating UIs across HTML, CSS, and JS. Instead of three syntactic domains, HJX tries to unify structure, style, and interactivity into a single block-based syntax that still compiles down to plain HTML/CSS/JS.

Right now it’s an early prototype with a basic compiler design. I’d love to hear: - Does this unified syntax reduce token/context fragmentation for AI models? - Any suggestions on grammar design or compiler targets? - Use cases you’d want to see supported?

Happy to iterate based on feedback.

verdverm•52m ago
Why do I want a bespoke language generated by an Ai, as compared to JSX + tailwind which I see as basically the same "html/css/js" without context switching (all in the same file), and something the Ai have seen significant amounts of during training?

If I use something bespoke, then I have to do in-context learning, so am I really saving tokens in the long-run? (before we even get to more frequent failures / hallucinations that come with the bespoke)

Publishing a Simple Paper as an Undergraduate

https://mathoverflow.net/questions/313961/publishing-a-simple-paper-as-an-undergraduate
1•paulpauper•1m ago•0 comments

SvarDOS – an open-source DOS distribution

http://svardos.org/
2•d_silin•9m ago•0 comments

Show HN: Agent Forge – Persistent memory and desktop automation for Claude Code

https://github.com/WeberG619/agent-forge
1•WeberG619•11m ago•0 comments

Fujitsu AI-Driven Software Development Platform

https://global.fujitsu/en-global/pr/news/2026/02/17-01
1•linguae•12m ago•1 comments

'Like a Virgin' songwriter Billy Steinberg dies at 74

1•poojagill•12m ago•1 comments

Anderson Cooper Reportedly Steps Away from 60 Minutes After Nearly 20 Years

1•poojagill•13m ago•0 comments

How Michael Abrash doubled Quake framerate

https://fabiensanglard.net/quake_asm_optimizations/
1•guiambros•14m ago•0 comments

Show HN: Alexa-like voice interface for OpenClaw

https://github.com/sachaabot/openclaw-voice-agent
1•sachaa•25m ago•0 comments

Xbox UI Portfolio Site

https://gabrielcabrera.co/
2•valgaze•34m ago•0 comments

The AI productivity take-off is finally visible (Erik Brynjolfsson)

https://www.ft.com/content/4b51d0b4-bbfe-4f05-b50a-1d485d419dc5
1•ryan_j_naughton•34m ago•0 comments

mirror.hoobly.com

http://209.126.127.252
1•1vuio0pswjnm7•36m ago•0 comments

AI Agents and the Rise of Judgment-Powered Software

https://www.digitvibe.com/ai-agents-and-the-rise-of-judgment-powered-software/
1•keyhanimo•36m ago•0 comments

My first blog post: On the Conversational AI Audio Pipeline

https://www.wallacecorp.ai/content
1•financypants•37m ago•2 comments

Ask HN: How does the cost of CPU-bound computations scale in cloud computing?

1•jason_s•38m ago•0 comments

Epicurrents – an open-source web browser application for scientific research

https://www.sciencedirect.com/science/article/pii/S2467981X26000107
1•XzetaU8•40m ago•0 comments

Grug Meets His Match – Or – Grug, Claude, and Big Snap Man

https://robertkarl.net/blog/articles/grug-meets-his-match-or-grug-claude-and-big-snap-man/index.html
1•robertkarl•42m ago•0 comments

China's CXMT and YMTC to expand memory output amid global crunch

https://kr-asia.com/chinas-cxmt-and-ymtc-to-massively-expand-memory-output-amid-global-crunch
1•walterbell•49m ago•1 comments

Smart-KNN: A production-focused, feature-weighted KNN optimized for CPU

1•Jashwanth01•49m ago•3 comments

Hidden Epstien videos list 2600 links

https://pastebin.com/fUP7PdMF
4•applestone•51m ago•1 comments

The AI Trilemma

https://www.foreignaffairs.com/united-states/ai-trilemma
4•ph4rsikal•52m ago•1 comments

Confect: Use Effect with Convex

https://confect.dev/getting-started/introduction
1•handfuloflight•53m ago•0 comments

Show HN: Come check out my game I'm live testing

https://hovertag.io/
1•petersonh•53m ago•0 comments

Show HN: AI ID Photo – Generate passport/ID photos from selfies

https://apps.apple.com/kr/app/%EB%AC%B4%EB%A3%8C-%EC%A6%9D%EB%AA%85%EC%82%AC%EC%A7%84-%EC%83%9D%E...
1•yanggadev•53m ago•5 comments

Show HN: CoolWulf AI – A personal AI assistant built in Go, optimized for macOS

http://coolwulfAI.com
1•coolwulf•55m ago•1 comments

Show HN: Python UI-Me – Turn functions into web forms with one decorator

https://github.com/livetheoogway/python-uime
1•tusharnaik•56m ago•0 comments

Hunterizer: Hunting layer intelligence for season,zone and land-status awareness

https://hunterizer.com/apps/seasons/
1•vladpowerman•57m ago•1 comments

Choose Boring Technology

https://boringtechnology.club/
1•ValentineC•58m ago•2 comments

Why I'll never give up my DVD collection

https://www.whathifi.com/streaming-entertainment/why-ill-never-give-up-my-dvd-collection
6•nickt•1h ago•4 comments

Ask HN: I have an analytical solution for 3D Navier-Stokes, how to verify?

1•EvgenyStupakov•1h ago•0 comments

Russia's economy has entered the death zone

https://www.economist.com/by-invitation/2026/02/16/russias-economy-has-entered-the-death-zone
3•toomuchtodo•1h ago•4 comments