beakerbrowser / homebase

Self-deployable tool for hosting hyper:// websites

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Read configuration file from dat archive

brechtcs opened this issue · comments

I'm thinking it could be useful to read the configuration file from a dat archive, rather than just the local file system. If this were possible, I could build a Beaker app to graphically manage my homebase settings. Then you could start Homebase like so, and it would watch any changes in configuration just like it currently does with the local config file:

homebase --config="dat://1234...789/homebase.yml"

When starting Homebase like this, the web API would have to be disabled, because the server probably doesn't have write access to the archive in question (at least until multiwriter lands).

Would you be interested in a PR that implements this feature?

Yeah I love the idea, go for it

I will probably be moving to a hyperdrive-daemon + Nginx setup in the near feature, so I probably won't be looking into this anymore. Feel free to close if you think this is not a priority anymore.