Original documentation: https://github.com/almonk/ogpk
If the optional dependency `timg` is installed, `ogpk` can also display the `og:image` directly in the terminal.
To fetch OpenGraph data from a website:
To display the og:image in the terminal (requires timg):
Output data as JSON:
timgogpk has an optional dependency on timg, a terminal image viewer. If timg is installed and available in the PATH, ogpk can display the og:image directly in the terminal when the --p flag is used.
To install timg, refer to its official documentation.
brew tap almonk/ogpk
brew install ogpkogpk [URL]ogpk [URL] --pogpk [URL] --json