Module phetch::utils

source ·
Expand description

Helper functions and macros.

Functions

Copies data to the system clipboard, if possible. Uses pbcopy on macOS or xclip -sel clip on Linux.
Number of bytes in a human-ish readable format.
Used to open non-Gopher URLs. Runs open command on macOS or xdg-open on Linux.
Opens a media file with mpv or --media.