HeyPuter / puter

🌐 The Internet OS! Free, Open-Source, and Self-Hostable.
https://puter.com
GNU Affero General Public License v3.0
24.55k stars 1.58k forks source link

Self Hosted welcome configuration screen (OOBE) #588

Open Zac0511 opened 1 month ago

Zac0511 commented 1 month ago

I was thinking of a feature for self hosted, which could maybe replace the default account thing. When the Puter server has been started for the first time (and so there is 0 account), the config OOBE will be displayed to anyone that connects to Puter, and it could look something like that (its a badly made prototype, made with MS Paint) :

puter_oobe_prototype_start

Then, the user will be asked to set up some things, like the system language (default language for new users), set the system clock (date and time, time zone, wether to sync time and date from internet or not...), and most of all, the user creation screen, whick will create, if #580 gets added, an admin account... but a special admin account : the owner account. The owner haves complete control on the server, he can shutdown it, restart it, or reset it (delete all accounts, including himself, and sets the system settings back to default, and OOBE will show again at start). The owner account cannot be deleted by normal admins. If an admin tries to delete the owner, he will see this :

image

In case its needed, the owner can click the "transfer property" button on an user in the user list in the settings (related to #580), and this user will become the owner (and so an admin).

Update 1 : The OOBE will also ask for the server name (the one showed in the settings and login screen)

jelveh commented 1 month ago

This is a great suggestion and we're definitely going to implement it. In addition to what you mentioned, we're also gonna give the user the ability to pick whether they want to use puter.com or their own backend, provide keys for outside services (OpenAI, etc), ... an much more.