Welcome to my little node on the network! My name is Petar and you can follow along while I try to figure out how computers work.

Recent notes

Copy/Paste for OpenCode with Ghostty and Tmux

I like to work on my remote server in a tmux instance that has all my projects set up and running, and is available from everywhere, including my phone these days. One pet peeve was that copy‑paste wasn’t working in OpenCode. After some debugging, I got it working with:

Ghostty: allow OSC52 clipboard access

copy-on-select = clipboard
clipboard-read = allow
clipboard-write = allow

tmux: allow OSC52 passthrough

# Allow passthrough for OSC52 clipboard sequences
set -g allow-passthrough on

Result: it now works! Go build something beautiful.

Permalink

Recent Posts

The War for Context

OpenAI and Anthropic are winning the war for context. For startups building AI products, the strategic move isn't to compete, it's to integrate....

Read more

Taste

When AI can generate anything in seconds, taste becomes everything. How to avoid creating slop and build something beautiful in the age of cheap generation....

Read more

Running to think

For a few years now, I've been partaking in the age-old ritual of running. I began my journey like many others, swathed in quality athletic wear and armed with a meticulous training schedule...

Read more

Recent reads