A Dip and a Dive for you! And you! And you!

So I've ended up doing quite a lot of vibe coding. Like many people, I was surprised to realize how much I enjoyed it and, also like many others, I find that I tend to do more AI-empowered coding than my own personal demand for custom software can really keep me busy on. I've done the usual things like asking friends for tasks I could automate for them or coding little apps up for people as a spontaneous gift offering. But by and large, I mostly code on apps that either meet some unmet need of my own or which I feel would be useful to people in the wider world, or rather apps that would be useful if anyone ever found out that they exist. Which I do not expect to ever happen, tbh. Open to being pleasantly surprised on that count, but the expectation is not to ever get noticed by the wider world. For that to happen, you either have to make it a priority or just stumble into it by luck. And I'm not gonna do option number one. So random chance it is.

My vibe coding back catalog runs the gamut from CRM apps to e-book/audiobook readers to games, plus many other things that were conceived of through a combination of a whim and some spark of an idea. Most of them are some flavor of practical and useful, or that was the intention behind them, and they might in fact be quite useful indeed, if anyone ever discovers them...

But, to my surprise, the most useful thing I have coded thus far, by quite a lot, is a Chrome extension, which I made to improve my experience of watching YouTube videos.

I watch quite a bit of YouTube. It's my version of flipping through the channels to see what's on. I tend to watch a lot of edutainment style content, videos that seek to inform the viewer about various topics, including a lot of tech news and more general interest videos that attempt to explain or convey some type of information to the viewer.

It's probably not news to anyone, but I have found that the YouTube recommendation algorithm is extremely disappointing in its capabilities, especially given the machine learning bona fides and resources that Google has to improve it with. It tends to recommend videos that are nearly or exactly like videos I've watched in the past and it doesn't matter how many times I've scrolled past a video and declined to watch it; if YouTube thinks I should want it, it will just keep serving me that same video over and over again until I finally give up and click "not interested" to signal to the algorithm my apparent lack of interest is due to... wait for it... a lack of interest.

But all videos that I'm not interested in watching are not created equal. There are videos I've already watched, videos I know that I don't want to watch, videos covering a topic that I've already had explained to me multiple times, and all of those are pretty obvious categories, but there's another one that accounts for quite a few videos, and that is videos whose title or thumbnail causes me to want to know what is the answer to the question that it is either implicitly or explicitly asking, but which I do not think I want to watch 10, 20, or 30 minutes of video simply to know the answer to the question posed by the title. Sure, I'd like to know what makes this open source JEV clone different from the other 500 JEV clones I've learned about in the last few weeks, but that doesn't mean that I want to invest 20 minutes of my life into finding out that answer.

Previously I would have just ignored the video or perhaps Googled or ChatGPT'ed the topic. Mostly, though, I just ignored the question and moved on. "Not interested", even though for these videos I was actually; I just wasn't interested enough. But it occurred to me that I have functionally nearly unlimited access to the GPT-6 Luna model through my OpenAI subscription. And while it's not a world beater in terms of intelligence, it's more than adequate to the task of summarizing the contents of a YouTube video. Also I knew that by default YouTube auto-generates captions for every video that's uploaded and those transcripts can be accessed programmatically by an agent. So that was interesting and I thought there might be something there, but it took me a bit of brainstorming to figure out the right shape for the project.

First I had to figure out how to invoke Luna programmatically and to route that usage through my subscription so that I didn't have to get an OpenAI API key. And I also have an Anthropic subscription, so I wanted to get Haiku included as an option. Long story short, it is possible to invoke Luna and Haiku through a programmatic function that runs through your subscription. How does it work? I have no idea. That's why I'm a vibe engineer and not a real engineer. Suffice to say that either Claude or Codex figured it out for me.

But I didn't really want to get taken away to another tab on my browser to have a chat about every video when I was really mostly curious just to know what the overall gist was. What was the answer to whatever statement or question it was that the video's title or thumbnail posed, which I wanted the answer to? How to deliver the answer in a format compact enough to coexist with my browsing tab and thorough enough to satisfy my curiosity when I wanted to know a little bit more? I realized that the side panel functionality that Chrome offers would be ideal for giving me a place to put the answer and some controls in Chrome without taking me out of the YouTube home screen I was browsing. I knew that I wanted to be able to just take a dip into a subject to satisfy my most basic curiosity, but also have the possibility of doing a deeper dive to understand more of the topic and its various implications. And that framing helped me to decide one of the least important questions I needed to answer, which was, "What should I call it?" I would call it "Dip'n'Dive", obviously.

The initial shape of it was pretty straightforward. There would be four modes. Both a "Dip" option (concise summary) and a "Dive" option (more verbose) and I would have each option available for either provider, Anthropic or OpenAI. I would put an address bar near the top so that I could paste in the URL of a video manually, but the main method for invoking it would be right-clicking on the thumbnail or title of a YouTube video and selecting the "Dip'n'Dive" entry from the context menu. Whatever was selected, either dip or dive from either of the two providers, would be persistent and it would stay in that mode whenever I opened the extension until I next selected a different mode. That gave me two buttons for each provider, which I would put to the left and right, and in the center I added a button that would take the YouTube transcript and open it as a prompt in a ChatGPT temporary chat so that I could ask questions without having every video I was curious about become a new entry in my chat history.

It required coding a small helper program, because a Chrome extension can't run programs by itself. I decided to put the helper on my iMac, which is always on as a backup destination/server and I would have the extension, installed on my Windows laptop and MacBook, reach out to the iMac over Tailscale, and I would run the helper app there, instead of installing it on each client, using the extension, so that I would only have one application to maintain and so that the history from all my different machines would live in one place. (I had decided that I would save both the YouTube transcripts and the generated summaries, so that if I wanted to refer back later to something I learned from one of these dips or dives, I would have a record and because text is cheap to store, it wouldn't amount to much in terms of storage space.)

Sometimes a project takes quite a while to come together and achieve a form that is in fact useful for its intended purpose. This was not one of those times. Dip'n'Dive almost instantly became one of the most high usage programs in my life. I was suddenly freed from having to watch lengthy videos to scratch the itch of my curiosity, and the other consideration that usually prevented me, which was adding them to my watch history and thus influencing the recommendation algorithm, was also eliminated as a concern.

Which is not to say that there was nothing to improve. Without belaboring every observation and decision I made in finalizing the project, I'll just tell you what I changed that is represented in the quasi final version of the extension. I realized that when a dip is insufficient to answer the question I was most curious about regarding a topic, simply expanding the dip into a dive would cause the LLM to just be more verbose on all aspects of the topic, not just the one that I was curious about. And so I ended up not using the dive functionality hardly at all. Likewise, the launching of the temporary chat opened a new tab and took me away from the browser tab that I was trying to stay on. So I got rid of the dive buttons and I added a search bar at the bottom of the side panel with a dictation button so that I could click and talk without needing to reach for my keyboard, and the questions would be answered against the full transcript of the video by the same model which wrote the dip. That way I could answer the specific question I was curious about without needing to read a bunch of unspecific information on the topic and without leaving the current browser tab.

Also the address bar worked fine as a means of summarizing a video without requiring a link that I could right-click, but I felt I could lower the friction there for when I decided I wanted to summarize a video that was already open. Initially, the only way to get a video summarized was by right-clicking on the link or pasting the URL into the address bar. I added a button to summarize the currently open video and placed it where the temporary chat launching button had been, in the center between the dip and dive buttons. The dive buttons were replaced with a simple up and away arrow which would take me to claude.ai or chatgpt.com where I could have a more expansive chat about the video and add the topic to my chat history. I also added functionality to play the video silently in the background so that the algorithm would know that I had watched that video. And also buttons to put a like or dislike on the video.

And that's pretty much it. I'm happy with the extension as it currently is configured. And I think lots of people would find it useful if I had an easy way to inform them that it's available. But that's not a surprise. Discovery is the bête noire of turning vibe coding from a hobby into a productive enterprise. I'm not the only one with a vibe coded app that I'd like to share with the world. And I'm not really sure how to inform the world about my projects without having that effort take over my life and still not be guaranteed to succeed.

You can find the extension on GitHub with the link here. And FYI, you don't need to install Tailscale or have an always-on iMac. That was simply how I configured my setup, but the helper program can easily run on the same machine that the extension is installed on. The helper app is a Mac OS app. So, if anybody decides to adapt it to run on another OS, I hope that you will consider submitting the Windows or Linux version you create so that I can add it to the repo for anyone to use. And if you do install the extension and you enjoy it, I hope to hear from you. I'm not holding my breath on that count, because it is a very big internet and I don't expect any part of it to notice my humble little Chrome extension, but it would be lovely to hear some feedback from the world, should the world ever pay enough attention to have an opinion.