Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Showcases how it is possible to host a F-Droid repo on a static site hosting service like GitHub Pages

License

NotificationsYou must be signed in to change notification settings

litetex/fdroid-pages

Repository files navigation

Showcases how it's possible to provide anF-Droid repo on a static site hosting service like GitHub Pages.

It currently is configured to containNewPipe-nightly andNewPipe-refactor-nightly.

Openhttps://litetex.github.io/fdroid-pages for a live demo.

Initial setup

Important

If you want tocreate your own repo and use this repo as a base, make sure to remove/customize all assets like images, links and names!

You need a few secrets that are used for verifying the repo.

To generate these you have to run thefdroid-repo-generator-Docker image offline.

  1. Ensure that you have Docker installed
  2. Checkout the repo and open in your terminal
  3. Select the directoryfdroid-repo-generator usingcd fdroid-repo-generator
  4. Build the image offline:docker build --tag fdroid-repo-generator . (the dot at the end is important)
  5. Launch the containerdocker run --rm -it --entrypoint=/bin/bash -v %cd%/temp-repo:/repo -w /repo fdroid-repo-generator
    • This will create a new directorytemp-repo, if this is already present you may need to clean it
    • After the container is launched a console should be visible
  6. Executefdroid init to initialize the repo
  7. When this is done exit the container with typingexit

You now should have a fresh F-Droid repo initialized intemp-repo.

Now we need to get the following secrets and store them in GitHub Action secrets:

What?Secret nameNotes
keystore.p12KEYSTORE_BASE64Needs to be converted to base64.
Easiest way:cat keystore.p12 | base64 > keystore_b64.txt
config.ymlrepo_keyaliasREPO_KEYALIAS
config.ymlkeystorepass orkeypass (identical)KEYPASSkeystorepass andkeypass are usually identical
config.ymlkeydnameKEYDNAME

Updating

Updates are checked for every nightusing GitHub Actions.If an update is found, the repo is rebuilt.

Mirroring

This example uses mirroring toCodeberg.

The mirrored Codeberg site is available at:https://litetex.codeberg.page/fdroid-pages

Similar projects

About

Showcases how it is possible to host a F-Droid repo on a static site hosting service like GitHub Pages

Topics

Resources

License

Security policy

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp