Back

The ChatGPT/Codex app bundles a full copy of LibreOffice

88 points1 hoursimonwillison.net
lgl46 minutes ago

Does that really mean that it's bundling those apps from the start or did it just download and install them at some point to do some local work on some prompt or job you ask it to?

I don't see it making much sense to bundle it. I'm sure a LOT of LLM prompts are related with docs, excels, powerpoints etc, etc but don't really see it worth it for it to be bundled on the codex app from the get go, because otherwise, why not also install dozens of other apps?

simonw43 minutes ago

I'm not sure. Someone who hasn't installed the ChatGPT (or Codex) apps yet could confirm this by installing the apps, seeing if that ~/.cache directory exists, then try running a prompt that needs Python or Node.js or LibreOffice and see if it downloads them when needed.

zatkin32 minutes ago

I've never installed the ChatGPT app on my Mac until today. I ran the app, signed in, and I see the same.

% ls ~/.cache/codex-runtimes/codex-primary-runtime/dependencies/native/libreoffice-headless

libreoffice manifest.json

embedding-shape28 minutes ago

On a Windows installation I see this:

    PS C:\Users\user> ls C:\Users\user\.cache\codex-runtimes\codex-primary-runtime\dependencies\native\
    Mode                 LastWriteTime         Length Name
    ----                 -------------         ------ ----
    d-----         8/27/2026  10:09 AM                git
    d-----         6/16/2026   9:18 PM                jxrlib
    d-----         8/26/2026   7:37 PM                libheif
    d-----         6/17/2026   5:32 AM                poppler
    d-----         8/27/2026  10:09 AM                powershell
So doesn't seem bundled with all installs at least.
RomanHauksson43 minutes ago

> why not also install dozens of other apps?

because other apps are less likely to be useful, and there's diminishing returns

pseudosavant58 minutes ago

Is that what it is using to render and manipulate MS Office documents? That'd explain the poor rendering of some of my files. Bundling all of LibreOffice seems like a pretty huge dependency.

JLO6450 minutes ago

For a docker image of mine I was bundling the full version of LibreOffice as well but I managed to get some space savings by bundling just the no-gui version.

nomel54 minutes ago

> Bundling all of LibreOffice seems like a pretty huge dependency

What's the alternative library you see?

simongg50 minutes ago

Apache POI

what_hn18 minutes ago

[dead]

verdverm50 minutes ago

Why not computer use or using the tools the user prefers instead? The primary office suites have APIs/CLIs now

tyre25 minutes ago

Computer use is slow and can take control of the application focus. I’ll be doing things while Claude runs in the background. Suddenly it decides to open the app and try to do something + screenshot it.

verdverm22 minutes ago

That's where the CLIs come in for me, I'm not going to waste tokens on screenshots and input device manipulation

https://devblogs.microsoft.com/microsoft365dev/getting-start...

https://github.com/googleworkspace/cli

MikeTheGreat35 minutes ago

pandoc

edemdogbe34 minutes ago

[flagged]

tiahura31 minutes ago

Yes. If you have word you can instruct to use word via com or AppleScript.

OutOfHere36 minutes ago

Just the headless version is bundled.

vb-844830 minutes ago

Curiously, I didn't find any reference in the Open source licences section of the codex app.

Is this a MPL 2.0 violation?

thesdev23 minutes ago

Copyright violation is the last thing one could accuse ChatGPT of.

vb-84489 minutes ago

Well, this one is particularly obvious, other one are more fuzzy.

esperent43 minutes ago

I actually bundle it with my app too and the reason is reading files, especially old xls files. Since I'm bundling it I'm now using it for everything docs related but the specific reason is those old files. I couldn't find anything else that I could just drop it and feel confident it'll just read anything I give it.

jrflo44 minutes ago

I've noticed that when I have codex read/modify word files the live reasoning snippets often allude to LibreOffice, so that makes sense. I think it was a quick and dirty way for them to interface with docx and xlsx files?

dvduval22 minutes ago

My agent did it? I didn’t do it.

simonw56 minutes ago

(This is more of a tweet than a blog post, it really wasn't written with Hacker News in mind.)

MattDamonSpace51 minutes ago

frankly how dare you

mrob33 minutes ago

How is simonw to blame for somebody else submitting it to HN?

embedding-shape27 minutes ago

True, I feel like the entire HN community is to blame for this, particularly pg and dang.

trentor46 minutes ago

I don't see the problem?

iAMkenough43 minutes ago

Who said it was a problem? This looks like an observation to me, not an accusation.

m3kw926 minutes ago

probably uses it extensively to convert between LLM working on a doc and exporting it out to excel, word etc

quotemstr46 minutes ago

There's no security benefit to doing this versus demand-downloading hashed-locked components on need.

dvrp54 minutes ago

And wait till you find out about @oai/walnut

bcanzanella53 minutes ago

do tell!

djriley31 minutes ago

Walnut is the .NET and OpenXML backend. I think the point parent was trying to make it that it shouldn't be surprising Codex bundles runtimes for damn near everything.

cpursley57 minutes ago

I still don’t understand why with all their cash these companies dont redo their apps in Rust or native. They are all so heavy and dog slow. There are already some very fast cross platform (wasm too!) libraries that can do what poppler does as well as parse and produce various office file formats. Because 2gb is crazy town, these things could be around 100mb, just throw some tokens at the problem.

sudo_cowsay56 minutes ago

Not that easy. Also, they have "priorities." Although their priorities are different than the users'.

cpursley51 minutes ago

Just throw some tokens at the problem. I’ve vibed up a Rust Crux hybrid app that runs well on macOS, iPad and wasm and does some pretty complex xml manipulation and other document work. Absolutely smokes electron and you get native UI.

Ref: https://redbadger.github.io/crux/

doc_ick24 minutes ago

On top of everyone else’s great points, if you make your own “fork” of something, then you have to consistently maintain it. Which can be done with tokens, but an extra cost with something that’s not as user tested.

verdverm48 minutes ago

one does not just "throw tokens" at a problem, Ai is not that capable, and we are talking about MS Office file format, likely a NP hard problem

+1
vb-844825 minutes ago
sigbottle43 minutes ago

I mean, aside from all the NP Hard sub problems (I might not be reading your satire though), the real hard problem is that a "product" is not just software, but an ecosystem and a promise of maintenance of the abstract user experience & quality of it.

nomel51 minutes ago

What % of time, for a an average session, do you think is app overhead vs waiting for tokens? And there's your answer for why it's not a priority.

andai48 minutes ago

Jon Blow's response to this take was, "yes, which is why you have to work even harder to hide latency", instead of adding more on top.

nikanj36 minutes ago

From OpenAIs perspective, resources on your computer are free and wasting them is inconsequential

quotemstr45 minutes ago

What makes you think Rust is automatically better?

(Also, "Rust or native" is a strange dichotomy. What's not native about Rust?)

kennywinker30 minutes ago

I think “or native” is a gesture at swift/objc for mac and C# or whatever people write windows apps in.

alex-moon49 minutes ago

Someone may need to explain to me what is wrong with this sorry. Is it because it bloats the app with functionality that some users will never use? I feel like that is fairly usual for productivity/business apps generally.

simonw43 minutes ago

I don't see anything wrong with it, I just think it's interesting.

alex-moon22 minutes ago

Oh right, yeah I agree. It's the kind of thing I can imagine the harness downloading in the background anyway (or instructing the user to do) at some point so I can see the sense in just skipping that bit. Kind of comforting they just do it the same way the rest of us do - if it ain't broke and so on.

nialse33 minutes ago

It does, however, introduce a potentially enormous attack surface into ChatGPT, along with creative opportunities for less security conscious individuals and LLMs.

winstonp34 minutes ago

I think it's overbloating my computer

OutOfHere35 minutes ago

Actually, people do use and require the functionality, which is the point. The title as posted might be incorrect.

alex-moon30 minutes ago

Yes, that's what I mean - maybe that didn't come across cos I said "bloats". I work for a business that builds web apps for corporates - LibreOffice is bundled in most of the repos of ours that I've seen, a bit like Imagick is in the broader sector.