meme-maker
Search meme templates, suggest formats, and generate local or hosted image memes.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 39w
- Forks
- 8.3w
01 前言 Front Matter
- name
- meme-maker
- metadata
- { "openclaw": { "emoji": "?️", "requires": { "bins": [ "node" ] } } }
- description
- Search meme templates, suggest formats, and generate local or hosted image memes.
02 资源文件 2
- 参考文档references/templates.json12.8 KB
- 脚本scripts/meme.mjs13.0 KB
03 SKILL.md 正文
Meme Maker
Create meme drafts from a curated template registry without bundling copyrighted template images.
Quick start
- Search:
{baseDir}/scripts/meme.mjs search "bad choice" - Suggest:
{baseDir}/scripts/meme.mjs suggest "slow python image scripts" - Local SVG:
{baseDir}/scripts/meme.mjs render drake --text "Repeated downloads" --text "Cached templates" --out /tmp/meme.svg - Local PNG:
{baseDir}/scripts/meme.mjs render drake --text "Maybe API" --text "Local render" --out /tmp/meme.png - Imgflip hosted:
{baseDir}/scripts/meme.mjs render drake --service imgflip --text "before" --text "after"
Modes
localis default. It downloads template images from their source URL with a browser-like user agent, caches them under the user cache dir, embeds the image in an SVG, and writes SVG. If--outends in.png, it renders through an isolated headless browser using OpenClaw's Playwright support. PNG output requires Playwright's Chromium or an installed Google Chrome; SVG output needs no browser.imgflipcalls Imgflipcaption_imageand prints the hosted URL. It requiresIMGFLIP_USERandIMGFLIP_PASSunless supplied via--usernameand--password.
Commands
list [--json]: list the built-in curated templates.search <query> [--json]: search template names, aliases, tags, and use cases.suggest <topic> [--limit N] [--json]: rank templates for the topic.render <template> --text TEXT ... [--out PATH] [--service local|imgflip]: generate a meme.refresh [--limit N] [--json]: fetch current Imgflip top templates for research; do not overwrite the curated registry automatically.
Template registry
- Read
{baseDir}/references/templates.jsonfor the curated 20-template registry. - Each entry includes Imgflip metadata, Know Your Meme link, aliases, tags, fields, and local text placement boxes.
- Prefer
suggestfirst when the user describes a joke but does not know the format.
Hygiene
- Do not ship template image files in the skill.
- Do not use shared or hardcoded Imgflip credentials.
- Keep Know Your Meme lookups out of the render hot path; use KYM links for explanation/provenance only.
- If PNG output fails because the browser is unavailable, use
--out meme.svg(or another.svgpath). Do notnpm installpackages into the skill directory or the OpenClaw tree to enable PNG.
04 同仓库更多 Skills
lobster
暂无简介
xurl
xurl CLI for authenticated X posts, replies, reads/search, DMs, media upload, followers, auth status, or raw v2 API calls.
weather
Current weather and forecasts with web_fetch, falling back to wttr.in curl for locations, rain, temperature, travel planning.
visualize
Create inline visuals for code and explanations, or author persistent OpenClaw dashboard widgets with show_widget.
trello
Manage Trello boards, lists, and cards via the Trello REST API.
tmux
Control tmux sessions/panes for interactive CLIs: list, capture output, send keys, paste text, monitor prompts.