The ChatGPT/Codex app bundles a full copy of LibreOffice (simonwillison.net)

279 points by timpera 7 hours ago

xvilka an hour ago

Would be nice if they donate to LibreOffice then, to improve the support of various MS Office features in files, as well as comparison/diffing features. Win-win to everyone.

esperent 7 hours ago

I actually bundle LibreOffice 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.

skinfaxi 2 hours ago

How much money have you contributed back to this seemingly indispensable project?

Bridged7756 5 minutes ago

Contributed? Whats this? Communism?

lgl 7 hours 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?

simonw 7 hours 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.

zatkin 7 hours 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-shape 7 hours ago

ValentineC 6 hours ago

zamadatix 6 hours ago

RomanHauksson 7 hours ago

> why not also install dozens of other apps?

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

isityettime 6 hours ago

The new app is an unbelievable mess. Settings are senselessly organized, too. The whole thing has this aesthetic slickness and then underneath it's like the people who make it have never even used it.

It's not surprising that it's pulled in absolutely massive dependencies, although I'm not sure it's the wrong call on some operating systems. LibreOffice is pretty tried and true.

yeutterg 5 hours ago

Personally, I like the 3-pane organization (sidebar, chat, browser). I turned ChatGPT into my bookkeeper and social post writing/kanban space, and it works well for these script+browser workflows on desktop.

However, all of this is confusing:

- the ChatGPT/Codex split on desktop

- Chat/Work split on mobile

- how you remotely access each chat from your phone (some of my most valuable chats are buried in Remote)

- which chats propagate from device to device, and which remain on that device

RestartKernel 3 hours ago

They removed the global shortcut to show a portable chat overlay. That one entrypoint must've been the source of at least 80% of my chats, yet apparently it was considered too vestigial to keep.

enraged_camel an hour ago

The thing that blows my mind about it is that they straight up copied Claude Code and tried to frame it as some sort of incredible accomplishment. There are no new ideas, no insightful UI/UX paradigms, no killer features. They say money can't buy taste. The ChatGPT/Codex app is proof that it cannot buy creativity either.

written-beyond 4 hours ago

HOW DOES IT WORK FOR YOU PEOPLE?!

Istg on windows, I can't get codex app, new chatgpt or chatgpt classic to work without hanging on even a moderately sized chat. I tried all of the different tricks people recommended but that shit just crawls. It was stable at some point, classic that is, but then it started being a laggy mess.

I've uninstalled new chatgpt/codex app. I can't access phone chats on it, I can't use the desktop allocated chat messages on it. I have to use up codex limits. I am so surprised that OpenAI ships that hot garbage on windows.

johaugum 4 hours ago

Mac Neo can be had for $600 now, and it runs Codex incredibly well!

But even on the Windows machine, if you Tailscale into a free tier VM for the workloads, you'd probably have a much better time.

Just leave Codex itself on your machine, if you set up computer use it will happily set up all of this for you while you have lunch.

jbird99 5 hours ago

Almost like it's... vibe coded.

senectus1 3 hours ago

yeah, that seems obvious by now.

Razengan 4 hours ago

And when you go to their forums it says "This forum is not for discussing the ChatGPT App..."

..like excuse me? Where the fuck else would we post feedback about it?

devy 3 hours ago

Now someone please use ChatGPT/Codex or Claude Code to rewrite the entire LibreOffice source into a single Rust binary already! Just like Jarred Sumner did for Bun [1] or Carmine Paolino did for Fastpotify [2] - granted there are some rough edges for sure, but the slim diet trimmed down and performance gains were wrothy.

[1] https://bun.com/blog/bun-in-rust [2] https://fastpotify.rocks/

what 6 minutes ago

> rewrite the entire LibreOffice source into a single Rust binary already!

Why?

pseudosavant 7 hours 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.

telotortium 6 hours ago

I have a skill that instructs ChatGPT/Codex to verify the rendering using the Mac versions of Microsoft Office. Even without registering, you still can open files read-only, which is enough. Apparently Office refuses to open some Open Office XML documents that LibreOffice is fine with, so that's another reason to use this. After a few times, Codex ended up storing some memories to stop producing broken files in the first place.

I generated the skill originally for ChatGPT 5.5, so some of these may not strictly be necessary anymore with later models. But posting here in case others find it useful: https://gist.github.com/telotortium/844386f762c4b3bab49999ba...

JLO64 7 hours 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.

zamadatix 6 hours ago

Seems to match the screenshot in the blogpost but libreoffice-headless still shows as 429.7 MB.

bs7280 5 hours ago

What's ironic about this is, afaik there's no programmatic way to get a screenshot of a PowerPoint on windows other than opening up PowerPoint and screenshotting it. I only discovered this when I first tried out Anthropics official PowerPoint skill when it came out this winter.

If anything happens from this, I hope it forces Microsoft to address some of its long standing hostile to power users issues so they can stay relevant in the world of AI tooling.

pseudosavant 4 hours ago

This can absolutely be done programmatically. I just added the ability to do that using PowerPoint for Windows yesterday in my uv/python tool `markdown-pptx`. Codex added the functionality in less than 5 minutes.

https://github.com/pseudosavant/markdown-pptx/

nomel 7 hours ago

> Bundling all of LibreOffice seems like a pretty huge dependency

What's the alternative library you see?

simongg 7 hours ago

Apache POI

nomel 5 hours ago

MikeTheGreat 7 hours ago

pandoc

verdverm 7 hours ago

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

johnsmith1840 3 hours ago

tyre 6 hours ago

tiahura 7 hours ago

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

OutOfHere 7 hours ago

Just the headless version looks to be bundled. The title as posted might be incorrect.

petilon 6 hours ago

There is a serious threat to Microsoft here, if everyone starts using AI for generating and updating Office docs. At some point Office will become just a viewer.

trueno 6 hours ago

im stoked for that outcome, standard document tooling should not live behind subscription models anymore. i dont care that microsoft spent zillions bankrolling education systems and companies to fall into this cultural lock in over the decades

whether they like it or not spreadsheets word docs etc are just ubiquitous parts of existing in society at this point you're gonna need to reach for these tools eventually just to apply for jobs or do homework

watwut 5 hours ago

You assume tokens will be free after these get their monopoly positions? Actual libre office is actual open source running on weak hardware. Truly free.

And I suspect we will look back at MS with nostalgia once Altman and Musk get their ai imperiums.

fg137 4 hours ago

I have not created or read any Word document for a very long time. I only create PowerPoint presentations a few times a year for work, which could be easily replaced with PowerPoint online or Google Slides or even just some markdown files.

But I have a license for the entire office 365 including Copilot premium.

Guess why?

articulatepang 3 hours ago

For Excel?

jags-v 2 hours ago

Haven't used MicrosoftOffice in the past 7 years.

dist-epoch 6 hours ago

Don't worry, they are ahead of this.

Satya said some time ago that they expect soon to have more agents using Microsoft software than humans, and are working on transitioning their focus from serving humans to serving agents.

https://www.news18.com/business/satya-nadella-announces-micr...

petilon 5 hours ago

So they will switch to per-agent pricing instead of per-user. Fine, but that doesn't change the fact that Microsoft Office will become a just bunch of viewers as far as human usage is concerned. As far as generating Office documents, you can do that without using any Microsoft code.

yakz 5 hours ago

dist-epoch 5 hours ago

cromka 5 hours ago

kelvinjps10 5 hours ago

But why would openai and antrhopic pay them if they already libreoffice for free and why would users pay if they already have an Ai subscription

vb-8448 7 hours 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?

thesdev 6 hours ago

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

vb-8448 6 hours ago

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

zamadatix 6 hours ago

Despite the title, I'm not sure it's actually bundled. Some of the skills plugins will download it on the first run. So it depends where they are grabbing it from rather than the presence of the binary on the system, but I haven't checked that deep into where they actually grab it.

TZubiri 6 hours ago

The license itself may be present in the cache folder.

Alternatively, ChatGPT might happily disclose authorship and licensing if asked.

I'm not convinced of the argument that the fact that it is not bundled at download or even at install-time, would free them of the GPL responsibilities. And at this point.

I'm also not sure HOW the devs bundled libreoffice, whether they just mentioned in a prompt (use libreoffice), or whether they hardcoded a command (like apt install libreoffice), more likely the former, considering the recursive vibecoding nature of this software.

Whole lotta words to say that I don't know whether this is a GPL violation, but interested in the answer. If it is a violation, the likely fix will probably be yet another prompt that says something like "comply with licensing", which probably already exists, so a more specific "provide attribution (in a way that doesn't bother the user)"

zamadatix 4 hours ago

ars 4 hours ago

I think that depends on if they distribute it with the install package, or if they download it once installed.

monneyboi 5 hours ago

Imagine the enormous complexity of office file formats if your business is literally building coding models/agents and still you choose to bundle LibreOffice.

lennart-rth 5 hours ago

I suspect that it’s used in headless clip mode to reliably convert file formats back and forth.

paaloeye 6 hours ago

First Claude installed 10GB VM [0] without asking, but OpenAI ships LibreOffice. What's next? Somebody ship their monorepo verbatim?

Honestly, not sure it's worth having those app on your localhost at all. I ended up uninstalling all frontier labs bloated apps and start using Google AI Mode + Antigravity CLI / Claude Code sometimes.

[0] https://github.com/anthropics/claude-code/issues/22543

mirzap 6 hours ago

I wonder why they didn't try to discover if the user already has those binaries and use them before downloading.

LtWorf 5 hours ago

Because they vibe coded it.

Lucasoato 5 hours ago

Also in the newest app I think the transcription feature is unusable. Ok, I can have a shortcut to start and stop recording. Wow, cool! Ok, but where did the transcription go? In my clipboard? To my cursor? Hey? :(

jrflo 7 hours 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?

alex-moon 7 hours 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.

simonw 7 hours ago

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

alex-moon 6 hours 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.

nialse 7 hours ago

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

winstonp 7 hours ago

I think it's overbloating my computer

OutOfHere 7 hours ago

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

alex-moon 7 hours 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.

gfalcao 5 hours ago

Are they at least respecting the licenses (.i.e.: providing a verbatim copy of each license?)

zitterbewegung 6 hours ago

It might be for their new Work product which can produce docx, pdf and pox files.

topaztee 5 hours ago

spinning up an entire copy of libreoffice sounds super heavy?, if someone here is actually using chatgpt to edit docx documents then they can feel free to use us. vespper.com

woadwarrior01 5 hours ago

You want something heavier? They were trashing people's SSDs a few months ago. IDK if it's been resolved, yet.

https://x.com/bdsqlsz/status/2067964486615810369

joquarky 3 hours ago

DNS_PROBE_FINISHED_NXDOMAIN

simonw 7 hours ago

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

benatkin 5 hours ago

Indeed, but that likely wouldn't have stopped someone from submitting it with a misleading title. HN is known to get a lot of misleading titles submitted and to have to change them. The <title> tag is better, it doesn't say "a full copy". In the screenshot it shows "headless" in the filename. I would simply add the tiny detail of headless to the <title> and use this title for HN: Codex Bundles Headless LibreOffice

MattDamonSpace 7 hours ago

frankly how dare you

mrob 7 hours ago

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

embedding-shape 7 hours ago

justsomehnguy 6 hours ago

robomartin 3 hours ago

Last time I used the Windows version it pegged all my cores at 100% usage for some reason. The machine became unusable. Instead I used Codex with JetBrains Rider (doing a C# project) and it worked flawlessly.

dvduval 6 hours ago

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

trentor 7 hours ago

I don't see the problem?

iAMkenough 7 hours ago

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

FailMore 5 hours ago

(I made a similar comment in a different post by Simon Willison yesterday about GPT Work)

I am unsure the direction that AI assisted document creation work will go in. I am opinionated and building something in the space. In this reply I discuss my view + what I have been building.

My opinion is: We now have AI, this new amazing flexible tool. We can throw it at any problem. But in terms of document creation we have a choice between old fashioned siloed document formats (.pptx, .pdf, .xlsx, .docx, etc.) and a freshly rendered - slightly randomly styled - html site with some basic javascript within it. I think these combinations are odd and do not maximise the powers of AI.

I've been building something called SmallDocs [0][1] which is a new take on work documents. It's all Markdown, but it always renders (100% privately) on the SmallDocs site. This means the SmallDocs renderer can convert recognised Markdown combinations into powerful traditional document formats [2]. For example, we convert a ```cells block into an in-line spreadsheet you can export to Excel.

This gives an agent the ability to express itself with a great deal of depth and flexibility. For example, your agent can produce a single data analysis "SmallDoc" with text, charts, spreadsheets, etc. [3] I find that combining formats quickens the speed I can understand a topic.

SmallDocs also have standardised and pretty boring styling. This means you spend less time understanding the layout of a flashy HTML page and more time on the content.

I also believe a pre-determined rendering engine has a lot of advantages over a freslhy built HTML artifact. It allows you to build in lot's of useful defaults that the agent doesn't have to code from scratch. These can be small things, for example, every time your agent renders a Markdown table in SmallDocs you can instantly copy it as a CSV or a PNG. And these can be bigger things, such as a rich slides DSL with solid styling defaults, which saves your agents a lot of tokens and results in consistently attractive HTML slides [4]. (Slides can also be automatically exported to .pdf and .pptx.)

I've been at it for a few months, and am still working on the project. I am looking for feedback and open source collaborators. Thanks for reading!

[0] https://smalldocs.org

[1] https://github.com/espressoplease/smalldocs

[2] https://smalldocs.org/blogs/what-is-a-smalldoc

[3] https://smalldocs.org/s/46fWiAyF77T9c7tqYwAQqp#k=j78ZEOOrgo8...

[4] https://smalldocs.org/s/QrmeWMsULGS871nXQYOacB#k=ubOHH9QtTWp...

(And something totally different, your agent can also use SmallDocs to walk you through code files: https://smalldocs.org/s/JsI_-tWSH0UpSd_YXxVLPm#k=G5jLCYA4JUX...)

wilg 5 hours ago

quotemstr 7 hours ago

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

TZubiri 6 hours ago

Ok, it's probably not a security decision. It's a common pattern with both storage and memory management to push most reservations to initialization, in order to cluster resource insufficiency errors to a specific install-time when the user or admin can do something about it. An excessive just-in-time approach in both storage and memory would cause OOM and Disk exhaustion to occur at many different times.

dvrp 7 hours ago

And wait till you find out about @oai/walnut

bcanzanella 7 hours ago

do tell!

djriley 7 hours 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.

m3kw9 7 hours ago

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

cpursley 7 hours 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.

johnsmith1840 3 hours ago

You should go actually try to make any basic automation work around these systems.

They purposely obscured, google doc is another example they completly hide the dom!

I spent months fighting word processing systems and ended up shipping libre. There's almost zero alternatives without that becoming your entire company.

sudo_cowsay 7 hours ago

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

cpursley 7 hours 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_ick 6 hours ago

verdverm 7 hours ago

nomel 7 hours 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.

andai 7 hours 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.

nikanj 7 hours ago

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

tmp10423288442 6 hours ago

quotemstr 7 hours ago

What makes you think Rust is automatically better?

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

kennywinker 7 hours ago

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

cpursley 6 hours ago

Rust or native is objectively more performant and have smaller binaries than these web apps in Halloween costumes…