Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ MCP through the most universal interface there is: the UNIX shell.
- 🪶 **Lightweight** - Minimal dependencies, works on Mac/Win/Linux, doesn't use LLMs on its own.
- 💸 **Agentic payments** - Experimental support for the [x402](https://www.x402.org/) protocol on [Base](https://www.base.org/).

![mcpc screenshot](https://raw.githubusercontent.com/apify/mcpc/main/docs/images/mcpc-demo.gif?v=2)
![mcpc screenshot](https://raw.githubusercontent.com/apify/mcpc/main/docs/images/mcpc-demo.gif?v=3)

## Table of contents

Expand Down
Binary file modified docs/images/mcpc-demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/vhs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ ffprobe -v error -show_entries format=duration -of csv=p=0 mcpc-demo.gif
ffmpeg -y -ss 12 -i mcpc-demo.gif -vframes 1 /tmp/frame.png

cp mcpc-demo.gif ../images/mcpc-demo.gif # refresh the README hero

# shrink ~60% with no visible quality loss before committing:
gifsicle -O3 --lossy=200 -b ../images/mcpc-demo.gif *.gif
```

## Style conventions
Expand Down
Binary file modified docs/vhs/grep.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/vhs/proxy.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/vhs/quickstart.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/vhs/scripting.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/vhs/tools.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions skills/record-demo/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,28 @@ Check each frame class: empty state, stdio connect + session list, tools-list,
JSON, remote connect (**token NOT visible**), tool-call result, close. Then
**revoke the token.**

## Optimize the GIF size (do this before committing)

VHS GIFs are large (the hero is ~5 MB raw). Shrink them losslessly-ish with
`gifsicle` ([kornel.ski/lossygif](https://kornel.ski/lossygif)) — `--lossy`
drops imperceptible inter-frame detail and **cuts ~60%** off a text-terminal GIF
with no visible quality loss:

```bash
# in place; lossy=200 ≈ 60% smaller, text stays crisp (verified by frame diff)
for f in docs/images/mcpc-demo.gif docs/vhs/*.gif; do
[ "$f" = docs/vhs/mcpc-demo.gif ] && continue # ignored raw hero
gifsicle -O3 --lossy=200 -b "$f"
done
```

After optimizing, re-extract a colored frame (`ffmpeg -ss 12 …`) and eyeball it —
lossy=200 is the sweet spot; going much higher smears the antialiased text.
When the optimized hero lands on `main`, **bump the README cache-buster**
(`mcpc-demo.gif?v=N` → `?v=N+1`): GitHub's camo image proxy caches by full URL,
so a new `?v=` is what makes it re-fetch the smaller file instead of serving the
old cached copy.

## What's committed

- `docs/images/mcpc-demo.gif` — the README hero (canonical copy).
Expand Down
Loading