22 lines
690 B
Markdown
22 lines
690 B
Markdown
# flatpak-repo
|
|
|
|
A minimal HTTP server for hosting an OSTree/Flatpak repository, written in Rust with Axum.
|
|
|
|
Includes a non-standard route for uploading flatpak bundles:
|
|
|
|
curl -v -XPOST -T ./org.example.Example.aarch64.flatpak http://localhost:3000/flatpak-bundle/upload
|
|
|
|
## Missing features
|
|
|
|
flatpak-repo does not generate an ostree folder for you. Create one like this:
|
|
|
|
ostree init --repo=~/my-repo --mode=archive-z2
|
|
|
|
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.
|
|
|
|
add the flatpak remo like this:
|
|
|
|
sudo flatpak remote-add --from <name> https://<url>/flatpakrepo
|