Linux command
brows 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Launch browsh
browsh
Open a specific URL
browsh --startup-url [https://example.com]
Run in HTTP server mode
browsh --http-server-mode --port [4333]
Use a specific Firefox binary
browsh --firefox.path [/path/to/firefox]
说明
browsh is a fully modern text-based web browser. It renders web pages by running a headless Firefox instance in the background and translating the visual output into text and ANSI art for display in a terminal. This means it supports JavaScript, CSS, video, and virtually all modern web standards. The browser provides both interactive terminal mode and an HTTP server mode that can serve text-rendered versions of web pages to any client. It supports tabs, scrolling, link navigation, and text input.
参数
- --startup-url _URL_
- Open a specific URL on launch.
- --http-server-mode
- Run as an HTTP server that renders pages as text.
- --port _PORT_
- Set the port for HTTP server mode (default: 4333).
- --firefox.path _PATH_
- Path to the Firefox binary.
- --time-limit _SECONDS_
- Limit session duration.
FAQ
What is the brows command used for?
browsh is a fully modern text-based web browser. It renders web pages by running a headless Firefox instance in the background and translating the visual output into text and ANSI art for display in a terminal. This means it supports JavaScript, CSS, video, and virtually all modern web standards. The browser provides both interactive terminal mode and an HTTP server mode that can serve text-rendered versions of web pages to any client. It supports tabs, scrolling, link navigation, and text input.
How do I run a basic brows example?
Run `browsh` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --startup-url _URL_ do in brows?
Open a specific URL on launch.