Skip to content

xenodium/rinku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rinku (リンク) rin-ku [Japanese: link]

A macOS command-line utility for fetching link previews and metadata from URLs:

  • Extract metadata (title, URL, image) from web links.
  • Render visual link previews as PNG images.
  • Cache results for faster subsequent lookups.
  • Return details as JSON.

Installation

Via Homebrew:

brew install xenodium/rinku/rinku

Usage

Render preview image

rinku --preview https://soundcloud.com/shehackedyou

Returns:

{
  "preview": "path/to/preview.png"
}
Rendered preview of SoundCloud link

Fetch metadata

rinku https://soundcloud.com/shehackedyou

Returns:

{
  "title": "she hacked you",
  "url": "https://soundcloud.com/shehackedyou",
  "image": "path/to/preview.png"
}
Metadata thumbnail of SoundCloud link

About

Generate link previews from the command line (macOS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages