Skip to content
Source
Sign inSign up
pingdotgg/t3code

[FR] Flathub publishing #311

Closedthomasboom(GitHub profile, opens in a new tab) opened this issue 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,

  1. 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.

  2. @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.

  3. 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

  4. 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.

  5. 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

Sign in to join this conversation.