• 0 Posts
  • 14 Comments
Joined 3 years ago
cake
Cake day: June 28th, 2021

help-circle
  • ᗪᗩᗰᑎ@lemmy.mltoLinux@lemmy.mlFlathub has passed 2 billion downloads
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    2
    ·
    edit-2
    8 days ago

    Offline/internal network installs can be handled with flatpak create-usb - https://docs.flatpak.org/en/latest/usb-drives.html

    One can distribute flatpaks along with their dependencies on USB drives (or network shares, etc.) which is especially helpful in situations where Internet access is limited or non-existent.

    Cache/mirroring would be great for those who need it.

    Edit:

    Thinking about it, I wonder if there’s enough “core features” with ‘create-usb’ that its just matter of scripting something together to intercept requests, auto-create-usb what’s being requested and then serve the package locally? If a whole mirror is required, it may be possible to iterate over all flathub packages and ‘create-usb’ the entire repo to have a local cache/mirror? Just thinking “out loud”.