You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Update the AppImage build and make it truly universal #125
I think we should move forward and take a modern approach to appimages, which would basically be discarding the classic approach and betting on a new rising standard.
Istead of using FUSE and classic dependencies we could use sharun and other dependencies as shown in that template
This approach works, and it works very well; it is lightweight, it is efficient, and most importantly: it is more universal than the current appimage. With this, we would solve issue #117 without having to add an additional build or think about a flatpak for the time being; it would be a minimum-effort solution that could favor the adoption of our software.
I offer to try, although the task might be beyond me, idk, so, I will accept any help.
Examples where this works
This can be seen in several appimages of the "Portable Linux Apps" project like:
After thinking about it and looking at the situation, honestly my proposal is solving a problem we don't even have, I think we can just improve the current AppImages and musl support without having to make a massive change like this.
Quick question, would it be easier on musl systems with flatpaks? Like, if this was available on flathub, would it be easier for folks using Alpine or other musl systems?
Quick question, would it be easier on musl systems with flatpaks? Like, if this was available on flathub, would it be easier for folks using Alpine or other musl systems?
Well, probably yeah, and I think it's the most viable way because it doesn't mean just focusing on musl, musl compatibility if we have a flatpak would just be a small win along the way without necessarily being the end goal.
Tbh a native package is always better and more compact than a flatpak and all its dependencies, but for musl it'd be ok
Tbh, I haven't gone deep enough into this and I don't think I'm clued up enough to do it easily, do you think that building the tarball and then using the Anylinux AppImages tools to package it up is a decent approach?
If we want to make a github action that does this for us, I'd happily set that up. @nubesurrealista, you'll have to do the actual local testing and give me the set of shell commands to do this. I'm uncertain if I'll be able to run these executables even if I do everything right.
@Samueru-sama Silly question but, do I need a glibc Linux to create an AnyLinux appImage? for local testing I only have a musl system, Alpine Linux, my main OS and the only one I use tbh
@Samueru-sama Silly question but, do I need a glibc Linux to create an AnyLinux appImage? for local testing I only have a musl system, Alpine Linux, my main OS and the only one I use tbh
You will have broken hardware acceleration with nvidia users, and it is not like they can use nouveau since installing the prop nvidia driver disables the nouveau kernel module.
Also you really need electron builder to give you a .deb or .tar.gz here, I don't think it supports musl.
Well, I cloned the Anylinux template and adapted it to compile our stuff, it's not perfect, it's a bit hacky, but I managed to generate an artifact. An AppImage that's actually universal, our regular appimage is around 115mb I think, and this one is 125, considering it packs more stuff, it's not really a big increase. Pros? it runs on musl, we can integrate it into CI with small tweaks, it's predictable and modern, cons? mmmm, I guess sometimes and in certain contexts, and depending on the hardware, it could use up more resources (cpu/ram) than the normal appimage, but from what I understand that's rare and only happens in setups like mine where my machine has some limitations, the average user shouldn't notice any difference, right @Samueru-sama ? Though in my case the resource usage feels pretty much the same as my personal native build, I don't notice any difference, the usage is decent, it runs smooth. The locales, it'll be in English by default on a musl system, but luckily our app has a language selector. This isn't final or anything, just a proof of concept, @CrystalSplitter please take a look when you can or if you can compare both appimages in your environment and see how it works for you.
Also, if you want to check out how we could integrate this, we're currently using two scripts, one that pulls the dependencies or compiles what's needed, another that creates an appimage, and it all comes together in a workflow. Links:
Also, now they're offering their own Arch Linux Docker image with basic dependencies already installed, and they have their own actions, which would make it super easy to integrate into our CI. Tbh, I think the only random part would be building locally, idk how we could include that in our build guide since it seems like the best experience is using CI, Docker, and all that.
I'm no expert at this but I'm down to maintain it, though of course any ideas, fixes, modifications, are totally welcome, the goal is, if everyone on the project agrees, to integrate this into our repo and put the process in our CI and effectively replace the standard AppImage, but for now it'll be in a separate repo for testing
I guess sometimes and in certain contexts, and depending on the hardware, it could use up more resources (cpu/ram) than the normal appimage, but from what I understand that's rare and only happens in setups like mine where my machine has some limitations, the average user shouldn't notice any difference, right @Samueru-sama ?
In your specific case because you have a very old gpu that is no longer supported by mesa, you only have softpipe as the opengl renderer.
Mesa has another software renderer called llvmpipe but this one is not ship in our builds of mesa due to it linking to LLVM (massive library).
That means apps will lag more when using softpipe instead of llvmpipe, but really neither should be daily driven. softpipe does not really use more resources than llvmpipe though, it is single threaded though so you will see one core being hammered instead of several.
Now checking the appimage:
Releases are broken due to this line being changed to include *.AppImage*, this causes a metadata file to not be uploaded and the release action to fail.
You really want to use ./AppDir/bin/*here instead, since electron bundles ship support binaries and libraries that are not being deployed right now.
I guess sometimes and in certain contexts, and depending on the hardware, it could use up more resources (cpu/ram) than the normal appimage, but from what I understand that's rare and only happens in setups like mine where my machine has some limitations, the average user shouldn't notice any difference, right @Samueru-sama ?
In your specific case because you have a very old gpu that is no longer supported by mesa, you only have softpipe as the opengl renderer.
Mesa has another software renderer called llvmpipe but this one is not ship in our builds of mesa due to it linking to LLVM (massive library).
That means apps will lag more when using softpipe instead of llvmpipe, but really neither should be daily driven. softpipe does not really use more resources than llvmpipe though, it is single threaded though so you will see one core being hammered instead of several.
Now checking the appimage:
* Releases are broken due to [this line](https://github.com/nubesurrealista/fluentflame-appimage-test/blob/fad9933823f881b3b52f20d3b622fcd2702d47c7/.github/workflows/appimage.yml#L33) being changed to include `*.AppImage*`, this causes a metadata file to not be uploaded and the release action to fail.
* You really want to use `./AppDir/bin/*` [here](https://github.com/nubesurrealista/fluentflame-appimage-test/blob/fad9933823f881b3b52f20d3b622fcd2702d47c7/make-appimage.sh#L16) instead, since electron bundles ship support binaries and libraries that are not being deployed right now.
btw I forgot to mention, if you are already manually copying the .DirIcon and .desktop files to the AppDir you don't have to set the DESKTOPand ICON vars.
Activity
nubesurrealista commentedon Mar 31, 2026
After thinking about it and looking at the situation, honestly my proposal is solving a problem we don't even have, I think we can just improve the current AppImages and musl support without having to make a massive change like this.
CrystalSplitter commentedon Apr 1, 2026
Quick question, would it be easier on musl systems with flatpaks? Like, if this was available on flathub, would it be easier for folks using Alpine or other musl systems?
nubesurrealista commentedon Apr 2, 2026
Well, probably yeah, and I think it's the most viable way because it doesn't mean just focusing on musl, musl compatibility if we have a flatpak would just be a small win along the way without necessarily being the end goal.
Tbh a native package is always better and more compact than a flatpak and all its dependencies, but for musl it'd be ok
Samueru-sama commentedon Apr 29, 2026
👀
nubesurrealista commentedon Apr 29, 2026
@Samueru-sama Oh, hi!
Do you think it'll work? What do you reckon?
Tbh, I haven't gone deep enough into this and I don't think I'm clued up enough to do it easily, do you think that building the tarball and then using the Anylinux AppImages tools to package it up is a decent approach?
Samueru-sama commentedon Apr 29, 2026
If this is an electron app all you have to do is get electron-builder to produce you a
.debor.tar.gz.Then you extract its contents on
./AppDir/binand runquick-sharun ./AppDir/bin/*That's what every single appimage repo of electron apps we have does.
And this is no unique to us, when you see flatpaks or snaps of electron apps they just do the same steps 😹
CrystalSplitter commentedon May 3, 2026
Thank you for the advice! It's very helpful.
If we want to make a github action that does this for us, I'd happily set that up. @nubesurrealista, you'll have to do the actual local testing and give me the set of shell commands to do this. I'm uncertain if I'll be able to run these executables even if I do everything right.
nubesurrealista commentedon May 9, 2026
@Samueru-sama Silly question but, do I need a glibc Linux to create an AnyLinux appImage? for local testing I only have a musl system, Alpine Linux, my main OS and the only one I use tbh
Samueru-sama commentedon May 9, 2026
You can make the appimage on alpine but I do not recommend that
You will have broken hardware acceleration with nvidia users, and it is not like they can use nouveau since installing the prop nvidia driver disables the nouveau kernel module.
Also you really need electron builder to give you a
.debor.tar.gzhere, I don't think it supports musl.nubesurrealista commentedon May 11, 2026
Well, I cloned the Anylinux template and adapted it to compile our stuff, it's not perfect, it's a bit hacky, but I managed to generate an artifact. An AppImage that's actually universal, our regular appimage is around 115mb I think, and this one is 125, considering it packs more stuff, it's not really a big increase. Pros? it runs on musl, we can integrate it into CI with small tweaks, it's predictable and modern, cons? mmmm, I guess sometimes and in certain contexts, and depending on the hardware, it could use up more resources (cpu/ram) than the normal appimage, but from what I understand that's rare and only happens in setups like mine where my machine has some limitations, the average user shouldn't notice any difference, right @Samueru-sama ? Though in my case the resource usage feels pretty much the same as my personal native build, I don't notice any difference, the usage is decent, it runs smooth. The locales, it'll be in English by default on a musl system, but luckily our app has a language selector. This isn't final or anything, just a proof of concept, @CrystalSplitter please take a look when you can or if you can compare both appimages in your environment and see how it works for you.
Also, if you want to check out how we could integrate this, we're currently using two scripts, one that pulls the dependencies or compiles what's needed, another that creates an appimage, and it all comes together in a workflow. Links:
Also, now they're offering their own Arch Linux Docker image with basic dependencies already installed, and they have their own actions, which would make it super easy to integrate into our CI. Tbh, I think the only random part would be building locally, idk how we could include that in our build guide since it seems like the best experience is using CI, Docker, and all that.
nubesurrealista commentedon May 11, 2026
I'm no expert at this but I'm down to maintain it, though of course any ideas, fixes, modifications, are totally welcome, the goal is, if everyone on the project agrees, to integrate this into our repo and put the process in our CI and effectively replace the standard AppImage, but for now it'll be in a separate repo for testing
Samueru-sama commentedon May 11, 2026
In your specific case because you have a very old gpu that is no longer supported by mesa, you only have
softpipeas the opengl renderer.Mesa has another software renderer called
llvmpipebut this one is not ship in our builds of mesa due to it linking to LLVM (massive library).That means apps will lag more when using
softpipeinstead ofllvmpipe, but really neither should be daily driven.softpipedoes not really use more resources than llvmpipe though, it is single threaded though so you will see one core being hammered instead of several.Now checking the appimage:
Releases are broken due to this line being changed to include
*.AppImage*, this causes a metadata file to not be uploaded and the release action to fail.You really want to use
./AppDir/bin/*here instead, since electron bundles ship support binaries and libraries that are not being deployed right now.Besides that good job.
nubesurrealista commentedon May 11, 2026
Thank u very much!, the releases are working now: https://github.com/nubesurrealista/fluentflame-appimage-test/releases. I implemented what you told me, all fine now it seems
Samueru-sama commentedon May 11, 2026
btw I forgot to mention, if you are already manually copying the
.DirIconand.desktopfiles to theAppDiryou don't have to set theDESKTOPandICONvars.