t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[FR] Flathub publishing

Open thomasboom opened this issue 8 months ago • 5 comments

This app would be great if it is on the Flathub app store for Linux. This makes it easier to install and update the app,

thomasboom avatar Mar 07 '26 09:03 thomasboom

I have some experience publishing on Flathub and I'm open to help.

In the best case, AI apps are fully isolated from the system, but the Flatpak runtimes are limited and will not have most development tools, which would limit what agents are capable of doing.

We could let the user add tools with runtime extensions, but it's hard to cover every use case. Perhaps we could provide a user-mode package manager like homebrew and provide instructions to the agent to use it.

Or we could run commands on the host with flatpak-spawn --host. But then there's zero isolation, I don't like that one.

jgillich avatar Mar 07 '26 10:03 jgillich

@jgillich all major IDEs are packaged in Flatpacks and have some sort of AI agents within. Zed is a great example of terminal, native agents + native ACP support, all working perfectly out of the box within Flatpak.

As a side note, Flatpak is also just a convenient and widely supported/known way of software installation, even if one is by design not perfectly isolated.

ExposedCat avatar Jun 19 '26 20:06 ExposedCat

Zed by default does not use sandboxing, so it's actually not a very good example 😄

They want to change that, but it'll break tons of people's workflows due to missing dependencies. I have experimented with mise and I think it's the best option since it is more development-focused than homebrew

jgillich avatar Jun 21 '26 09:06 jgillich

This app would be great if it is on the Flathub app store for Linux. This makes it easier to install and update the app,

I agree, but flathub has strict anit ai policies https://docs.flathub.org/docs/for-app-authors/requirements#generative-ai-policy. They do say Exceptions may be granted for mature, well-maintained projects. though.

Project516 avatar Jul 23 '26 16:07 Project516

You're welcome to fork and build off mine, I've kept changes minimal so it could use more sandbox integration: https://github.com/0cwa/t3-flatpak

0cwa avatar Aug 05 '26 01:08 0cwa