Building on cross.stream: SolidJS UI for Clipboard History

Опубликовано: 18 Май 2026
на канале: Andy Gayton
44
4

This screencast demonstrates how to build on cross.stream by adding a SolidJS web UI for viewing clipboard history. The example uses x-macos-pasteboard as a generator to stream raw clipboard events into cross.stream, then maps those events into usable content for display.

What’s covered:
Bootstrapping a cross.stream store
Registering x-macos-pasteboard as a generator
Mapping raw clipboard events into content events
Building a SolidJS UI on top of cross.stream
Viewing and debugging clipboard history (text, images, raw data)
How this setup can serve as a base for Linux clipboard exploration

Requirements:
Deno: https://deno.com
cross.stream (xs): https://github.com/cablehead/xs
x-macos-pasteboard: https://github.com/cablehead/x-macos-...

If you’re curious about extending cross.stream with custom UIs or exploring clipboard data on different platforms, this walkthrough gives you a solid starting point. More discussion here: https://github.com/cablehead/stacks/i...