← 返回命令列表

Linux command

phetch 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Launch with the default Gopher page

phetch

Open a specific Gopher URL

phetch [gopher://example.com]

Use a custom media player for audio/video

phetch -m [mpv]

Open a URL with TLS encryption

phetch -s [gopher://example.com]

Open a URL through Tor

phetch -o [gopher://example.com]

Print raw Gopher response without interactive mode

phetch -r [gopher://example.com]

Connect to local Gopher server

phetch -l

说明

phetch is a small, fast Gopher protocol client for the terminal written in Rust. It supports Gopher searches, text and menu pages, file downloads, opt-in history tracking, TLS encryption, and Tor support. Navigation is entirely keyboard-driven with both jump-to-link and incremental search options.

参数

-s, --tls
Try to open Gopher URLs securely with TLS.
-o, --tor
Use local Tor proxy to open all pages.
-S, -O
Disable TLS or Tor.
-w, --wrap _COLUMN_
Wrap long lines in text views at COLUMN.
-m, --media _PROGRAM_
Set the media player for opening audio and video files.
-M, --no-media
Just download media files, don't play them.
-a, --autoplay
Autoplay media files without prompting.
-A, --no-autoplay
Prompt before playing media files.
-r, --raw
Print raw Gopher response only.
-p, --print
Print rendered Gopher response only.
-l, --local
Connect to 127.0.0.1:7070.
-e, --encoding _ENCODING_
Render text documents in CP437 or UTF8.
-c, --config _FILE_
Use FILE instead of ~/.config/phetch/phetch.conf.
-C, --no-config
Don't use any config file.
-t, --theme _FILE_
Use FILE for color theme or print current theme.
-h, --help
Show help screen.
-v, --version
Show version.

FAQ

What is the phetch command used for?

phetch is a small, fast Gopher protocol client for the terminal written in Rust. It supports Gopher searches, text and menu pages, file downloads, opt-in history tracking, TLS encryption, and Tor support. Navigation is entirely keyboard-driven with both jump-to-link and incremental search options.

How do I run a basic phetch example?

Run `phetch` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -s, --tls do in phetch?

Try to open Gopher URLs securely with TLS.