Scroll to navigation

OPNK(1) General Commands Manual OPNK(1)

NAME

opnkuniversal open (like a punk) for offpunk

SYNOPSIS

opnk [INPUT ...]

opnk -h | --help

DESCRIPTION

Opnk is the "universal open (like a punk)". Opnk is a tool that will try to render any file or URL in the terminal, using netcache(1) and ansicat(1), and put them in less(1). If that doesn’t work, it will fallback to xdg-open(1).

Offpunk(1) is a command-line browser and feed reader dedicated to browsing the Web, Gemini, Gopher and Spartan.

Positional arguments

INPUT
path to the file or URL to open.

Keyword arguments

, --help
Show a help message and exit
MODE
MODE to use to render to choose between normal (default), full or source
-CACHE_VALIDITY
Maximum age (in second) of the cached version before redownloading a new version.

EXIT STATUS

The opnk utility exits 0 on success, and >0 if an error occurs.

SEE ALSO

ansicat(1), migrate-offpunk-cache(1), netcache(1), offpunk(1), https://sr.ht/~lioploum/offpunk/

AUTHORS

Lionel Dricot (Ploum) <offpunk2 at ploum.eu>

August 27, 2023 Debian