8 comments

  • _the_inflator 23 minutes ago
    Someone has to do it:

    Please auto-ban any "We gave Claude/Gemini/Grok/OpenAO/Qwen/Mistral/WhateverLLMAI the spec and..."

    "and..." resolves to:

    - "and now we have this impressive result you won't believe!"

    100% of the time this is attention seeking, live debugging - no value at all.

    Don't waste people's time. Any sound and reasonable story about results without misusing the public's eye is welcome, for example:

    - One year after - 10 hard problems we found - extensive pro/contra comparison with other solutions - maintaining such a AI app for one year

    Otherwise: please auto-ban.

  • mediumdeviation 6 hours ago
    Ah these poor fools. Having built this exact product (OOXML compatible editor in React) before, it took all of two minutes to find a bug. The issue is that the OOXML spec is not in fact definitive - Word is, and trying to implement it from the spec will produce something that works maybe 80% of the time then fall over completely when you hit one of hundreds of minor, undocumented edge cases. Assuming of course that CC did not just hallucinate something. And then there's the more fundamental problem that HTML/CSS has unresolvable incompatibilities with OOXML. This is why Google Docs for instance use canvas for rendering.
    • thisisjedr 6 hours ago
      Fair point, we know the editor isn't yet 1:1 with Word. When you built yours, was Word your source of truth (reverse-engineering sense), or did you stick to MS-OE376? And any recommended process for systematically uncovering those undocumented edge cases?
      • mediumdeviation 5 hours ago
        We went out and used our editor against our and customer's documents. The Open part of OOXML makes as much sense as the Open in OpenAI. Microsoft made OOXML available to fend off an antitrust lawsuit, there is no incentive for them to make it actually easy to build competing editors off their specification.

        FWIW the bug I found is that your comment parser assumes the w:date attribute represents a useful timestamp of when comments are made. It does not - a bug in Word causes it to save it as ISO8601 local time but _without timezone_, rendering it useless if more than one user across different timezone edits the document. Instead, you need to cross reference the comment with a newer comment part and find a dateUtc attribute. The above is, of course, completely undocumented.

        • mickael-kerjean 3 hours ago
          Can you say the name of the editor your worked on?
    • jimjimjim 2 hours ago
      I feel your pain. PDF applications have the same problem. The thousand page PDF spec isn't actually the spec, Acrobat is the spec.
    • nayroclade 4 hours ago
      When you built this exact product, how long did it take you to reach 80% compatibility?
      • thisisjedr 4 hours ago
        We don’t have a formal '% compatibility' metric yet, but it’s on our radar as a feedback loop mechanism for self-improvement.

        For now, we mostly rely on testing with our own and customer docs. In practice, we were seeing solid results after a couple of days of keeping Claude working in the loop and giving lots of feedback: .docx files along with screenshots annotated to highlight what didn’t work.

  • chenmx 17 minutes ago
    The fact that you used an AI agent loop to iterate on this is honestly the most interesting part. OOXML is notoriously painful to implement correctly, and using Claude Code with Playwright tests as the feedback signal is a clever way to grind through the spec without losing your mind. Curious how you handled the undocumented Word behaviors that deviate from the spec.
  • ryanackley 1 hour ago
    How far can Claude can take this beyond a cool demo.

    Does it become exponentially harder to add the missing features or can you add everything else you need in another two days? I'm guessing the former but would be interested to see what happens.

    Are you going to continue trying? I ask because it's only been two days and you're already on Show HN. It seems like if you waited for it to be more complete, it would have been more impressive.

  • creata 58 minutes ago
    Two very minor suggestions for the demo:

    1. I don't know what the "Docxtemplater" button does, but it eats my document without warning and that's annoying.

    2. It would be nice if the page came with some example .docx files we could see it work on.

  • lewisjoe 2 hours ago
    Excellent work! To put out the importance of the project - as of today there is not many google docs/word online alternative that is completely open source.

    I'm yet to dig the code on how pagination is implemented but if the page breaks mimick word's - this is huge!

  • pipeline_peak 3 hours ago
    So it’s like Google Docs? What am I looking at exactly?
    • thisisjedr 3 hours ago
      Yes, it's like Google Docs for .docx files. It's open-source, MIT-licensed, and runs fully in JS, so you can embed it in your app.

      Every other JS DOCX editor I found was either abandoned or commercial. I couldn't find a solid MIT-licensed option.

    • arxari 3 hours ago
      More vibe coded slop on Show HN
      • fastily 3 hours ago
        Would be more impressive if this was done for something obscure like Microsoft Visio. Theres countless oss ms word editors/libs Claude probably ripped off
        • pipeline_peak 3 hours ago
          The schema Visio’s files save to is very complex.

          There’s stuff like diagrams.net, but that’s not compatible.

          • fastily 2 hours ago
            Yup that’s why I suggested it. The vsdx schema is notably complex and I don’t see a lot of code examples in the wild. I seriously doubt an llm would be able to output working code for it. Docx is a common use case and a quick google search yields multiple popular libraries that understand the format. Anyways, cool that an llm was able to output a functional docx editor, but that’s certainly not impressive or a groundbreaking feat by any means
  • nubg 3 hours ago
    Whats a Ralph loop?