tools / meme / catalog.sh

meme/catalog.sh

mememedia○ hermeticmeme

Dump the whole meme catalog in one run: meme-cli list --json. Each template's alias is its id, its field count is the length of text_boxes, and its description is name. The image has no shell, so this is its own fraglet rather than a flag on templates.sh.

Use when a caller needs every template at once — alias, field count, description — to choose one.

Run it

1. Once per machine: install fragletc (Docker must already be running).

curl -fsSL https://raw.githubusercontent.com/ofthemachine/fraglet/main/install.sh | sh

2. Fetch the tool and print its contract.

curl -fsSLO https://tools.ofthemachine.com/meme/catalog.sh && chmod +x catalog.sh && ./catalog.sh --fraglet-help

3. Run it.

./catalog.sh

Parameters

nametyperequirementdescription
none

Outputs

stdout

Provenance

image
ofthemachine/meme@sha256:8a3ac29b110b9471e7688bf8d7bdc12fe83fd49da63a084a3db1a41549b6c57f
reach
network=none — a run is a pure function of its inputs; results are safe to memoize.
procedure_hash
sha256:7b2c02b826e3209c5626f2ae829035828127045dbbb1af1912dd4b45f56bcffa
receipt
add --receipt run.json to any run; receipt/attest.py verifies it against this hash without re-running.

Source

catalog.sh · 6 lines · sha256 7b2c02b826e3…
#!/usr/bin/env -S fragletc --image ofthemachine/meme@sha256:8a3ac29b110b9471e7688bf8d7bdc12fe83fd49da63a084a3db1a41549b6c57f
#: d=Dump the whole meme catalog in one run: meme-cli list --json. Each template's alias is its id, its field count is the length of text_boxes, and its description is name. The image has no shell, so this is its own fraglet rather than a flag on templates.sh.
#: when=Use when a caller needs every template at once — alias, field count, description — to choose one.
#: network=none
#: stdin=none
meme-cli list --json