This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
User experience on different deployments #1088
thomaseizinger
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have been talking about providing various deployments of the
taker
. The three most recent ones are:tauri
These environments are fairly different in how they need to be configured. For example, umbrel provides us with a seed that we can use to initialize our wallet, whereas in a desktop environment, we need take care of this ourselves by either providing a seed file, integrating with OS-native keychains or the like.
This discussion thread is about designing the user experience on how we the product to behave on these various platforms. The goal here is to eventually do #984 but for that we need decisions on desired experience on these platforms.
Umbrel experience:
APP_SEED
env variable either by reading the env var directly or by having a binary that accepts an argument (as currently done)Desktop experience
We cannot rely on commandline parameters for desktop apps because they are not launched from the terminal.
SecretService
to store secrets in a secure way.Standalone service
The big problem to solve here is deciding, how many different binaries do we actually produce and what do we supply as configuration to via parameters.
To start the discussion, I would suggest the following configurations:
taker
binary that is specific for use within docker (and thus umrel). Configuration takes place via commandline parameters. Use of file system should be avoided as much as possible because it is not particularly docker friendly. For example, it would be nice if users would supply a DB connection string here instead of us assuming SQlite so they could use a dedicated postgres for example.taker
binary via tauri for each OS. Minimize configuration altogether. Biggest unknown here is how to handle the seed, also in regards of how users do backup / restore.taker
binary for each OS that is optimized towards running as a background service. Configuration can take place via commandline parameters. Use of filesystem is okay. We can expect users to do backup / restore via filesystem.Beta Was this translation helpful? Give feedback.
All reactions