I built an ad-free, split-screen YouTube coding workspace (and why tab switching was killing my flow)
Every developer learning from YouTube knows the exact moment their flow state breaks:
You are 14 minutes into a deep tutorial (Node.js, Python, or C++). You pause the video, hit Alt + Tab to switch to your code editor, type the snippet, run into a syntax error, debug it, and then hit Alt + Tab again to go back to YouTube.
Except when you go back, YouTube shows 3 algorithmic recommendations on the sidebar, an ad starts playing, and 20 minutes later you find yourself watching tech drama instead of coding.
On single-monitor setups—or especially on mobile devices—this friction makes consistent practice almost impossible.
To fix this for myself, I built MyTube.
What is MyTube?
MyTube is an ad-free, split-screen coding workspace engineered to keep you locked in focus mode:
- Watch & Code on One Screen: The video tutorial plays simultaneously above/beside your code editor.
- In-Browser Multi-Language Sandbox: Write and execute code directly inside the browser (JavaScript, Python, C++, and more) without configuring heavy local runtimes.
- Zero Distraction Engine: No algorithmic feed trap, no comment rabbit holes, and zero video ads interrupting your learning.
- Mobile-First Android Workspace: Built with custom tactile symbol strips so you can write and test code from your phone when you are away from your desk.
- Local-First Privacy: Written code snippets and progress stay saved directly on your local device.
The Tech Stack Under the Hood
To ensure sub-second latency and smooth playback on lower-spec hardware, the architecture is lean:
- Framework: Next.js (App Router) & TypeScript
- Deployment & Edge Telemetry: Cloudflare Pages with Web Analytics
- Styling: Tailwind CSS with a dark neon cyan UI design
- Sandboxed Execution: Client-side sandboxing and lightweight execution engines
Try it Live & Feedback
I built this as a completely free solo utility for students, self-taught devs, and anyone tired of tab fatigue.
👉 Live Workspace: mytub.me
I’d love to get feedback from the Dev.to community:
- What programming runtimes or sandbox environments should I integrate next?
- Would you find community notes or sharable code snippets useful?
Drop your thoughts below!