From a7c166349136c9d28b9cbea4ff372636dd908318 Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Thu, 27 Aug 2026 23:08:30 +0200 Subject: [PATCH] Expand README.md --- README.md | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 04af39d..5cac18f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,17 @@ A minimal HTTP server for hosting an OSTree/Flatpak repository, written in Rust Includes a non-standard route for uploading flatpak bundles: - curl -v -XPOST -T ./org.example.Example.aarch64.flatpak http://localhost:3000/flatpak-bundle/upload + curl -v -XPOST -T \ + ./org.example.Example.aarch64.flatpak \ + http://localhost:3000/flatpak-bundle/upload?key= + +Set the api key using `FR_API_KEY=`. + +See `flatpak-repo --help` for a full list of env/cli arguments. + +## Building + + docker build . -t flatpak-repo ## Missing features @@ -14,8 +24,15 @@ flatpak-repo does not generate an ostree folder for you. Create one like this: flatpak-repo does not generate gpg keys for you. -flatpak-repo does not generate a `flatpakrepo` file for you, but expects one to be places in the repo folder. +flatpak-repo does not generate a `flatpakrepo` file for you, but expects one to be placed in the repo folder root. -add the flatpak remo like this: +Example `flatpakremote`: + + [Flatpak Repo] + Title=example.com + Url=https://flatpak-repo.example.com + GPGKey= + +add the flatpak remote like this: sudo flatpak remote-add --from https:///flatpakrepo