Stream: services-flake

Topic: Does it make sense to add `open-browser` as a service?


view this post on Zulip Shivaraj B H (Jun 13 2024 at 05:55):

open-browser will use xdg-open on Linux and open on macOS to open the browser once the website is up. This is useful to ensure the user doesn’t have to go through the logs/option definitions. See a case where this can be used: https://github.com/juspay/services-flake/pull/219#issue-2345406734

I think that it doesn’t make sense to add it as a service but instead just document how to create such a process using settings.processes, similar to pgweb example here.

Any thoughts?

view this post on Zulip Srid (Jun 13 2024 at 14:10):

Let's not prematurely add trivial services. Let's start by documenting them, even using them in examples. And later down the lines we can add them to the official list of services if there's clear value.


Last updated: Oct 12 2024 at 22:33 UTC