desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Flatpak support

Open reesericci opened this issue 2 years ago • 17 comments

I was wondering if the HTTPie project would consider supporting Flatpak as the packaging solution for Linux. It has slowly been taking over as the main universal packaging format for Linux. One of the big advantages over your current solution, AppImage, is that there is no need for a helper package like AppImageLauncher to properly integrate into a system. The other main advantage is that HTTPie can be distributed & discovered through a main app center, Flathub. Flathub is available from a variety of sources, including their website as well as native application stores like GNOME Software & Elementary OS' AppCenter.

Thanks for considering this proposal!

--reese

reesericci avatar Jun 28 '22 00:06 reesericci

@reesericci thank you for your suggestion! Alternatives to AppImage is something we'll definitely look for at some point

claudiatd avatar Jul 19 '22 13:07 claudiatd

Where I work we have a mix of linux and Mac workstations/laptops. Homebrew seems to be the one package manager people are happiest with.

YAMLcase avatar Aug 11 '22 13:08 YAMLcase

@YAMLcase thanks for the feedback — Homebrew casks are coming soon!

jkbrzt avatar Aug 11 '22 17:08 jkbrzt

Homebrew is not well supported on Linux. Nobody uses it.

reesericci avatar Aug 12 '22 05:08 reesericci

Homebrew is not well supported on Linux. Nobody uses it.

Source?

YAMLcase avatar Aug 12 '22 11:08 YAMLcase

Find a source for a major linux distro shipping with homebrew out of the box.

reesericci avatar Aug 12 '22 16:08 reesericci

I'm also interested per a Flatpak package. Some major GNU/Linux distributions proposes immutable flavor or their OS ( Fedora Silverblue, OpenSuse MicroOS, ChromeOS, EndlessOS, VanillaOS ... ) and the philosophy is to not permit to touch the host system (generally auto-updated w/ rollback if failures), then the user choice is mostly (and sometime exclusively) relayed to Flatpak for security reasons and portability (it's not totally the case of AppImage). Thank you!

lakano avatar Feb 19 '23 20:02 lakano

Homebrew is not well supported on Linux. Nobody uses it.

Source?

Do you really need a source? Nobody ships it. Nobody talks about it. Nobody supports it. Homebrew is for macOS, and while homebrew exists on Linux it's like running nix on macOS, while possible it does not see widespread support in the community.

Flatpak however has multiple advantages, it would be dumb to not leverage them. There are a few issues with the AppImage they ship today.

  1. It cannot be used on distributions using alternatives to glibc such as musl (see AlpineLinux, VoidLinux etc)
  2. Iffy support for pinning applications in desktop environments and cooperation with existing software. Example: Launching HTTPie, right clicking and pinning to task bar doesn't work. If I close the application and click it again it will error because the mount doesn't exist (as intended). AppImages don't play nice with firewalls, for instance opensnitch, I need to approve requests every single time I launch any AppImage because the binary and its mount changes every time the application opens, not the biggest deal in the world but big enough for it to be considered a nuisance and if I don't notice it the approval will timeout and result in all requests from the application to be denied.

asjur avatar Apr 28 '23 10:04 asjur

Yeah, a flatpak would be nice.

TheComputerM avatar Jun 23 '23 19:06 TheComputerM

I've been using httpie at work for awhile and love it (Mac OS).

At home I use Fedora Linux and I install the Flatpak version of most apps for ease of maintenance and a bit more security.

Both Insomnia & Postman have official versions uploaded to https://flathub.org/

Speaking for myself (and maybe others), software adoption on Linux in 2023 depends heavily on Flatpak availability.

Please reconsider this request. Thank you.

joematthews avatar Oct 22 '23 16:10 joematthews

Homebrew is not popular on Linux.

+1 Flatpak

AdsonCicilioti avatar Nov 30 '23 11:11 AdsonCicilioti

I'm using Homebrew on Fedora Silverblue as my main package manager. However, that doesn't matter, because Brew Casks are only supported on macOS.

flexagoon avatar Dec 27 '23 14:12 flexagoon

I have packaged httpie as a Flatpak and submitted a PR for it to be added to Flathub:

https://github.com/flathub/flathub/pull/4819

If the httpie maintainers would like to take ownership of the flatpak and make it official, I'd be glad to do that

flexagoon avatar Dec 29 '23 12:12 flexagoon

That's great to hear! I'll leave this issue open until HTTPie decides if they will take ownership or not.

reesericci avatar Jan 07 '24 05:01 reesericci

HTTPie is now on Flathub!

https://flathub.org/apps/io.httpie.Httpie

flexagoon avatar Jan 25 '24 13:01 flexagoon

Can we have aarch64 too?

HTTPie is now on Flathub!

https://flathub.org/apps/io.httpie.Httpie

driverkt avatar Jan 26 '24 00:01 driverkt

@driverkt done! The aarch64 version is now on Flathub as well.

flexagoon avatar Jan 26 '24 12:01 flexagoon