Skip to content

api: Add a flow3r seed which can be used for app installation

rahix requested to merge rahix/flow3r-seed into main

The flow3r seed is a code that can be entered on the badge to install an app. This means it needs to be unique and stable for each app.

The idea is that we generate this by hashing the repository slug. From the hash, we extract 8 numbers between 0 and 4. The web interface will

  • show instructions for tapping the petals to enter this code
  • have the option to play the code as DTMF tones.

TODO: Find an elegant way to check for collisions and handle them.

Merge request reports