12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- .Dd August 27, 2023
- .Dt OPNK 1
- .Os
- .
- .Sh NAME
- .Nm opnk
- .Nd universal open (like a punk) for offpunk
- .
- .Sh SYNOPSIS
- .Nm
- .Op Ar INPUT ...
- .Nm
- .Fl h | \-help
- .
- .Sh 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
- .Xr netcache 1
- and
- .Xr ansicat 1 ,
- and put them in
- .Xr less 1 .
- If that doesn’t work,
- it will fallback to
- .Xr xdg-open 1 .
- .Pp
- .Xr Offpunk 1
- is a command-line browser and feed reader dedicated to browsing the Web,
- Gemini, Gopher and Spartan.
- .Ss Positional arguments
- .Bl -tag -width Ds -offset indent
- .It Ar INPUT
- path to the file or URL to open.
- .El
- .Ss Keyword arguments
- .Bl -tag -width Ds -offset indent
- .It Fl h , \-help
- Show a help message and exit
- .It Fl \-mode Ar MODE
- MODE to use to render to choose between normal (default), full or source
- .It Fl \-cache-validity CACHE_VALIDITY
- Maximum age (in second) of the cached version before redownloading a new version.
- .El
- .
- .Sh EXIT STATUS
- .Ex -std
- .
- .Sh SEE ALSO
- .Xr ansicat 1 ,
- .Xr migrate-offpunk-cache 1 ,
- .Xr netcache 1 ,
- .Xr offpunk 1 ,
- .Lk https://sr.ht/~lioploum/offpunk/
- .
- .Sh AUTHORS
- .An Lionel Dricot (Ploum) Aq Mt offpunk2 at ploum.eu
|