gopeed icon indicating copy to clipboard operation
gopeed copied to clipboard

[feature request] add flatpak support

Open DarkReaperBoy opened this issue 2 years ago • 5 comments

Description(required)

already on title, because it's suffering in immutable distros to install stuff

OS Version(required)

fedora silverblue

DarkReaperBoy avatar Oct 24 '23 09:10 DarkReaperBoy

I don't know anything about flatpak, do you have any suggestions for publishing on flatpak?

monkeyWie avatar Oct 25 '23 01:10 monkeyWie

i am no expert so i'll put the official explanations https://docs.flatpak.org/en/latest/introduction.html basically, it's a software as a container (with sandbox) (like android's apk) most useful in immutable distros (like, you can't access android's root location or modify it, because your os is kinda like a frozen image), also useful where you want to get rid of dependency hell

as for publishing... the repo that you can publish is flathub https://flathub.org/ they have most of the flatpaks, i searched and found this to be how you publish https://docs.flathub.org/docs/for-app-authors/submission/ once you publish on flatpak's repo, it will be universal in linux distros, as long as they are able to run flatpak, they can run your application everywhere

(off-topic: also i forgor to write this, what you published for linux was just the .deb file, which is debian/ubuntu based only, not an generic binary or an appimage (basically, you make the entire application into one exe for linux), i know i can compile myself, but i like flatpak install gopeed alot better 👀)

DarkReaperBoy avatar Oct 25 '23 08:10 DarkReaperBoy

Actually I'm not an expert on Linux, but your advice has inspired me. I researched Flatpak and AppImage, and I'll try to build them for the next release.

monkeyWie avatar Oct 26 '23 07:10 monkeyWie

If using the flatpak version, browser extensions are likely to be useless unless using RPC, similar to Aria2.

pugaizai avatar Dec 03 '23 03:12 pugaizai

Using RPC is a better solution. RPC is platform-agnostic and can be used as a download server. For example, you can remotely call the company server from home through RPC to download files without needing to SSH login to the company server and input download commands.

Bit0r avatar Dec 17 '23 10:12 Bit0r

Done

monkeyWie avatar Mar 29 '24 04:03 monkeyWie