• Hacker News
  • new|
  • comments|
  • show|
  • ask|
  • jobs|
  • GrollingGrakbor 6 hours

    Looks vaguely interesting. Unfortunately I had to stop reading after 1 minute.

  • samrus 7 hours

    The claudish here got unreadable after a while. The project's thesis really should be written by a human. Shame becuase it seems like an interesting idea

  • fleur-de-lotus 7 hours

    Can this be used as a front-end to an app written in another language or can it call code written in another language?

  • designerarvid 8 hours

    When are those switches in the tutorial on or off? And what do they do?

    “Show boxes”?

    UI used to strive for making it easy for users to understand the software’s mental model, current state, and possible actions. Now it’s about looking cool (the same as the other cool kids).

  • chr15m 5 hours

    If you think this looks good, you should see Hiccup and Reagent.

  • moralcoral 7 hours

    Hyperscript ... anyone?

  • piterrro 6 hours

    Interesting project, few ideas on the landing page:

    - Move docs to llms.txt too

    - Make one click copy prompt button for starting with an agent

    - Explain clearly how it can integrate with React or Vue - if I can embed a module in my already existing app - thats a great way to transition over time.

    - Play the “Agent” card more - these days nobody will learn new DLL, but having a way to quickly test it with my agent would convince more people to give it a try

  • koteelok 9 hours

    Next time you try to build a UI tech, make sure your site isn't ugly.

  • sroerick 6 hours

    This seems very well executed and solves a ton of the problems I've seen in UI with agents so far.

  • agnishom 9 hours

    What has this got to do with AI? I like declarative frameworks, but why is this one special for AI?

  • jauntywundrkind 7 hours

    Heximal looking very interesting on this front. A DOM-ish like system but wasm-driven, wasm-homed. Already virtualized out of the real dom.

  • 9 hours

  • etchalon 7 hours

    I just have a hard time with anyone who thinks you can make good UIs this way. "Declarative" UI has been tried, multiple times. It does not produce interesting UIs. It produces derivative, limited UIs that require deeply weird hacks to handle novel problems.

    XAML was a notoriously bad idea.

    This doesn't look much better than that.

  • mehmetkose 5 hours

    Anything related with UI makes me expect more than a slop look

  • KolibriFly 5 hours

    [flagged]

  • mllev15 7 hours

    It’s REBOL for the web. This is what you get when you don’t realize what your LLM is ripping off.

  • 6 hours

  • Noamc0405 6 hours

    interesting. What can it do?

  • altern8 6 hours

    Site looks pretty bad, with the classic AI gradients and 01, 02, 03 lists.

    Language is extremely annoying.

    I hate it

  • zobzu 9 hours

    neat

  • lofaszvanitt 8 hours

    The totally braindead syntax haunts again. Only rust syntax is uglier than this.

  • boxed 8 hours

    It's not a UI language though, it's a typescript specific tooling system?

  • ttalkkakman 9 hours

    [flagged]

  • TonyAlicea10 53 minutes

    It's extraordinary to me how many people are ok with having horrific Claudish fill the landing pages for their projects.

    For now, I would urge project creators to start using Neon for writing docs and landing pages. It's significantly better out of the box.

    hasbot 44 minutes

    For those that don't know, "Neon" refers to "Gemini 4 Neon." https://blog.google/innovation-and-ai/models-and-research/ge...

  • 9 hours

  • ZeroDayDreamer 5 hours

    [flagged]

  • jarym 1 hours

    [flagged]

  • abrookewood 7 hours

    The LLM language is pretty off putting: "Say what you mean. Exactly" and then in the code comments "// One value, v, and three things that follow it". It's such an awful way of writing.

    ShinyLeftPad 34 minutes

    It's so out of place in open source. I hope people get fed up with this marketingspeak soon and straight old-school websites get trendy again.

    triyambakam 7 hours

    Yes, it's definitely Claude and so dumb. More GPT models seem to do this less. But unfortunately Claude is just otherwise so much better lately.

    bensyverson 59 minutes

    I wish I had a name for the "One value, and three things that follow it" construction. I think the model feels it's being dramatic, but it's borderline nonsense.

    "Two vectors, and the one invariant that binds them." WHAT ARE YOU TALKING ABOUT

  • cryptos 6 hours

    I like the idea somewhat, however, I have the vague feeling that it is not really simpler than actual UI frameworks like Vue.js or Compose[1]. My assumption is that a real framework is even better for AI.

    [1] https://kotlinlang.org/docs/multiplatform/compose-multiplatf...

    KolibriFly 4 hours

    [flagged]

  • silok 5 hours

    Looks very related to A2UI Express, https://developers.googleblog.com/fast-reliable-a2ui/ as well as OpenUI https://www.openui.com/docs/openui-lang/specification

    owebmaster 4 hours

    Never heard of a2ui from Google. That's great! (The fact that it got ignored just like A2A).

  • saidinesh5 7 hours

    I think Qt/QML really reached hit sweet spot for me when it comes to describing UIs (ignore if any syntax errors, doing this from memory):

    For eg. compare this:

    ``` Window { textColor: "slategray" property int v: 40

        ColumnLayout {
            id: layout
            anchors.fill: parent
            spacing: 20
    
            Text {
                id: number
                Layout.alignment: Qt.AlignHCenter
                font.pixelSize: 70
                text: v
            }
    
            ProgressBar {
                id: progressBar
                Layout.alignment: Qt.AlignHCenter
      
                value: v/100
                color: v < 50 ? "dodgerblue" : "turquoise"
            }
        }
    
        MouseArea {
            anchors.fill: parent
            onClick: v = (v+20)%100
        }
    } ```

    with Declare:

    ``` App [ textColor = slategray,

        group: View [ x = center, y = center, width = 80%,
            layout: SimpleLayout [ axis = y, spacing = 20 ],
    
            number: Text [ width = 100%, textAlign = center,
                fontSize = 70, fontWeight = bold, text = { "" + v } ],
    
            bar: Gauge [ width = 100%, value = { v },
                tint = { v < 50 ? cool : warm }, accessibilityLabel = "v" ],
    
            hint: Text [ width = 100%, textAlign = center,
                text = "click anywhere to change v" ]
            ],
    
        v: number = 40,
        cool: Color = dodgerblue,
        warm: Color = turquoise,
    
        onClick() { v = (v + 20) % 100 }
        ]
    
    ```

    pennomi 18 minutes

    QML was really something special. I’m sad that type of syntax never really caught on in the wider UI world.

  • efskap 7 hours

    The cursed green claude dot is now following my cursor for pete's sake

    rogual 6 hours

    What even is that thing? I can't figure out what stylistic or functional purpose it's supposed to serve.

  • skybrian 9 hours

    This looks quite nicely done. I'm reluctant to try it solely because the website has so much marketing-style writing (probably AI-generated) and I'm not sure I want to read more of it.

    It should probably say up front that this is an npm package along with the tooling for it, and the output runs in a browser.

    onemoresoop 8 hours

    There's a disclaimer of sorts right on this webpage:

    "This page is written in it. By an LLM."

    lopatin 6 hours

    It’s not about whether or not it was disclosed. It’s the lack of effort and craftsmanship which gives it away as something not worth our time if the authors themselves didn’t put their time in.

  • joddystreet 9 hours

    I was working on a similar concept - Morpheus

    Snippet -

    ```

    document ::= ( comment | blank )* screen-line body

    body ::= ( element-line | comment | blank )*

    element-line ::= indent kind [ name ] meaning* [ modifiers ]

    ```

    joddystreet 8 hours

    This was take 2

    ```

    document = { template } ;

    template = "@template", identifier, newline, { node }, "@end", line-end ;

    node = group | row ;

    group = "<", identifier, ">", newline, { node }, "</", identifier, ">", line-end ;

    row = atom, { "|", atom }, line-end ;

    atom = reference | component | spacer ;

    reference = "[[", identifier, "]]" ;

    component = "[", label, [ "|", identifier, { "|", property } ], "]" ;

    property = identifier, "=", value ;

    value = json-scalar | binding ;

    label = label-part, { label-part } ;

    label-part = literal-text | escape | binding ;

    binding = "{", identifier, { ".", identifier }, "}" ;

    spacer = "..." ;

    line-end = newline | end-of-file ;

    ```

    Still evolving.

    Core idea is to be able to define interfaces in a minimal language, without going into too much details about attributes, say height, width, etc

    verdverm 9 hours

    Myself too, they are all essentially DSLs with a transpiler to underlying tools and packages in a given language. Mine is different by allowing module developers to control the output technologies and DSL if they want, boiled down to CUE + text/template. Downstream users get a similar experience to this post.

    joddystreet 8 hours

    You might find these interesting -

    - https://github.com/stencil-hq/slab

    - https://github.com/expo/exact

    joddystreet 8 hours

    My focus was essentially to be able to define this and let agents use these to build the interfaces. This `...with a transpiler to underlying tools and packages in a given language.` is an interesting idea, but I just want to focus on the language specs and compiler.

  • DeathArrow 8 hours

    >Just as SQL is a domain-specific language for database queries, Declare is a DSL for user interfaces

    Isn't HTML a DSL for UI? What's wrong with it?

    mejutoco 7 hours

    It is not typed

    voiper1 6 hours

    This is an abstraction, like any other library/front end is one layer up on HTML.

    zaphirplane 7 hours

    there must be a reason there are so many css libraries and UI frameworks

  • mtford 8 hours

    First contact marketing pages and core documentation should be written by a human. This sounded interesting but my eyes glazed over as soon as I detected the AI smell...

    altern8 6 hours

    Same here. They couldn't be bothered to write a couple of pages of text..?

    iamflimflam1 4 hours

    It’s amazingly difficult for people to throw away AI generated text and redo it. I think we still feel sunk cost even when there isn’t any.

    cyanydeez 3 hours

    Is it sunk cost or the dreaded realization your product will never be consumed by humans. At best, it'll be a LLM mediated inspection. Why then would you want to speak to this supposed human when Claude is both the reader and writer.

    Anyway, it's probably more existential dread than laziness. Y'all just gonna point your LLM at it in real world use.

    iamflimflam1 20 minutes

    That is a fair point. “An AI is going to read this anyway -it’s good enough” is probably quite valid nowadays.