Metadata-Version: 2.4
Name: stagetui-web
Version: 0.1.0a6
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Environment :: Console
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Rust
Classifier: Topic :: Internet :: WWW/HTTP :: Browsers
Classifier: Topic :: Terminals
Requires-Dist: stagetui>=0.1.0a4
Summary: The web add-on for stagetui: a real web page in a pane, from your own Chrome or Chromium.
Keywords: tui,terminal,web,browser,chromium,stagetui,add-on
License-Expression: MIT OR Apache-2.0
Requires-Python: >=3.11
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://github.com/artisanv/stagetui/blob/main/docs/plugins.md
Project-URL: Homepage, https://github.com/artisanv/stagetui

# stagetui-web

The web add-on for [stagetui](https://github.com/artisanv/stagetui): a real web
page in any pane, shown by the Chrome, Chromium, Edge or Brave already on your
computer (nothing is downloaded).

```bash
pip install stagetui-web      # also installs stagetui itself
```

```python
from stagetui import StageApp, StagePane


class Browse(StageApp):
    def compose(self):
        return [StagePane("web", url="https://example.com")]


Browse().run()
```

Click, scroll and type right in the page — in any language. **Ctrl+L** types an
address, **Alt+← / Alt+→** go back and forward, **F5** reloads.

Pages look best in a terminal with real pictures (Ghostty, Kitty, WezTerm, foot,
iTerm2, Windows Terminal); in other terminals stagetui can open the page in one of
those for you.

See the [add-ons guide](https://github.com/artisanv/stagetui/blob/main/docs/plugins.md).

