holzschu / holzschu/a-shell

Feature Request: Python and WebView

Open
#708 5 comments 0 reactions 0 assignees View on GitHub
fix committed
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

How difficult would it be to register a new browser type in https://docs.python.org/3/library/webbrowser.html that would open the url in a popover web view? Similar to the `view` command, but, directed to the URL the code provides.

I'm thinking if this exists, then someone can write a "web server" in python, and trigger open the web view to connect to the web server hosted in the background. No special security rules needed for the web view, because it will just be using the normal http/https communication.

Python also supports the `webbrowser` command so that this could be used from shell scripts and/or lua. `python -m webbrowser -t "https://www.python.org"`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.