← 返回命令列表

Linux command

offpunk 命令

文本

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

常用示例

Launch the browser

offpunk

Open a specific URL

offpunk [gemini://example.com]

Synchronize all bookmarked content

offpunk --sync

Synchronize with a specific depth

offpunk --sync [2]

Access the built-in tutorial

offpunk --tutorial

说明

offpunk is a command-line and offline-first browser and feed reader supporting Gemini, Gopher, Spartan, and Web protocols. It allows you to synchronize content once and then browse and organize it while disconnected. Inside the interactive shell, enter URLs or link numbers to navigate. Use `ls` to list bookmarks, `add` to bookmark pages, and `help` for the full command list. Content is rendered in the terminal using ANSI formatting. Offline content is cached in ~/.cache/offpunk/ as plain text files. The tool includes subcomponents: netcache for network caching, ansicat for terminal rendering, and opnk for file handling.

参数

--sync _depth_
Synchronize bookmarked content for offline use. Optional depth controls how many levels of links to follow (default 0).
--tutorial
Open the built-in tutorial page.
--assume-yes
Automatically answer yes to prompts (useful for cron-based sync).
--disable-http
Disable fetching of HTTP/HTTPS content.
--version
Show version information.

FAQ

What is the offpunk command used for?

offpunk is a command-line and offline-first browser and feed reader supporting Gemini, Gopher, Spartan, and Web protocols. It allows you to synchronize content once and then browse and organize it while disconnected. Inside the interactive shell, enter URLs or link numbers to navigate. Use `ls` to list bookmarks, `add` to bookmark pages, and `help` for the full command list. Content is rendered in the terminal using ANSI formatting. Offline content is cached in ~/.cache/offpunk/ as plain text files. The tool includes subcomponents: netcache for network caching, ansicat for terminal rendering, and opnk for file handling.

How do I run a basic offpunk example?

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

What does --sync _depth_ do in offpunk?

Synchronize bookmarked content for offline use. Optional depth controls how many levels of links to follow (default 0).