Generate memes from the terminal. Wraps the Memegen.link API.
# Auto-generate — API picks the best template
memelink "when the code finally compiles"
# Template-based — specify template ID + text lines
memelink drake "tabs" "spaces"
# Custom background
memelink custom --background https://example.com/bg.jpg "top" "bottom"
# Copy to clipboard and open in browser
memelink drake "before memelink" "after memelink" -c -o
# JSON output for scripting
memelink --json "deploy on friday"
memelink "text" -- auto-select template, generate meme (default command)memelink "top" "bottom" -- generate from specific templatememelink custom --background "text" -- custom background imagememelink templates -- list templates; interactive fuzzy picker in TTY (alias: ls)memelink templates -- show template detailmemelink templates --filter -- filter templatesmemelink fonts -- list available fontsmemelink config path|list|get|set|unset -- manage configmemelink version -- print version infoCommand aliases: generate → gen, g; templates → ls
--format png|jpg|gif|webp / -f -- output format--font -- font name--layout default|top -- text layout--width N / --height N -- image dimensions--style -- template style (repeatable)--text-color -- text color per line (repeatable)--background -- custom background (with 'custom' template)--center x,y / --scale N -- overlay position and scale--safe -- filter NSFW content--copy / -c -- copy URL to clipboard--open / -o -- open in browser--output / -O -- download image--preview / --no-preview -- inline terminal previewConfig file: ~/.config/memelink/config.json
memelink config set default_format png
memelink config get default_format
memelink config list
Keys: default_format, default_font, default_layout, safe, auto_copy, auto_open, preview, cache_ttl
MEMEGEN_API_KEY -- optional API key for higher rate limits--json -- JSON output (pipe-friendly)--no-input -- disable interactive prompts--verbose -- debug logging--color auto|always|never -- color outputbrew install dedene/tap/memelink-cli
共 1 个版本