import webbrowser


def webdemo(browser: bool = False):
    """Returns the web demo URL or opens in a browser if browser=True."""
    url = "https://pages.btjanaka.net/btjanaka-pypi"
    if browser:
        webbrowser.open(url)
    return url