Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.49k stars 1.95k forks source link

[Feature Request] Provide a Flatpak as software package — for Linux systems #939

Closed x80486 closed 6 years ago

x80486 commented 6 years ago

Flatpak is a technology for building, distributing, installing and running applications – primarily targeted at the Linux desktop and desktop applications.

I use Arch Linux, and while there is an "official" package for Insomnia (though I don't use AUR), it would be awesome to have the option to install it via a Flatpak.

welcome[bot] commented 6 years ago

👋 Thanks for opening your first issue! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. If you're requesting a feature 🎁, please provide real use cases that would benefit. 👪

To help make this a smooth process, please be sure you have first read the contributing guidelines.

mpdeimos commented 6 years ago

Here is some further context as you provide already a Snap and AppImage of Insomnia: On ArchLinux Flatpak is a first-class application distribution method officially supported by the maintainers (you can install the Flatpak packages from the official repositories). Like Insomnia, AppImage and Snap have to be installed from AUR and some users prefer to keep the list of AUR to a minimum (there are no automatic updates unless you fiddle with AUR helpers). Having Insomnia packaged as Flatpak (e.g. on flathub.org) will allow easy installation and updates for Arch Linux and also other distributions like Fedora or RHEL.

baszczewski commented 6 years ago

This is probably affected by bundler used in this project which not provide Flatpak support at the moment. I am not sure what will be best option here. Provide support for Flatpak on electron-builder by new plugin or provide dedicated Flatpak package? The question is electon-builder allows us to create first class integration with Flathub?

baszczewski commented 6 years ago

I just created Flathub package: https://github.com/flathub/flathub/pull/504 We can close this issue probably.

x80486 commented 6 years ago

Pull Request for Insomnia here.

gschier commented 6 years ago

Omg this is awesome @baszczewski!

baszczewski commented 6 years ago

@gschier My pull request was just reviewed and new some actions. So I have few questions here:

x80486 commented 6 years ago

It would be nice if this can move forward. The AppImage doesn't work anymore in my system. It's throwing this error: Aug 19 15:24:52 uplink org.gnome.Nautilus[989]: /tmp/.mount_insomn8plZ5p/app/insomnia: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory.

Looks like it doesn't bundle GTK2+ libraries:

Aug 19 15:24:52 uplink org.gnome.Nautilus[989]: /tmp/.mount_insomn8plZ5p/app/insomnia: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Aug 19 15:24:52 uplink nautilus[11501]: gdkselection-wayland.c:261: error reading selection buffer: Operation was cancelled
Aug 19 15:24:52 uplink gnome-shell[1022]: Object Meta.WindowActor (0x56362bb18be0), has been already finalized. Impossible to get any property from it.
keeferrourke commented 5 years ago

Can this issue be reopened? The PR https://github.com/flathub/flathub/pull/504 was closed and Insomnia is not packaged as a Flatpak. It would be really great if it could be.

doums commented 5 years ago

Hi, I'm also a user of Flatpak and Insomnia is still not available as a package. What is the state of the process ?

WhyNotHugo commented 3 years ago

See https://github.com/flathub/flathub/pull/2406