{"slug": "i-built-a-floating-browser-ai-desk-pet-with-chrome-document-picture-in-picture", "title": "I Built a Floating Browser AI Desk Pet with Chrome Document Picture-in-Picture & Web Audio", "summary": "A developer built PochiDesk, a local-first pixel-art AI desk companion that floats above other applications using Chrome's Document Picture-in-Picture API, rendering interactive React components in a mini HTML window via createPortal. The app synthesizes brown noise and desk-rain focus soundscapes entirely in-browser with the Web Audio API, and parses voice or text brain-dumps into prioritized checklists stored only in localStorage, with no server or sign-up required.", "body_md": "We all open 30 tabs, start a Pomodoro timer in one tab, lose it under VS Code five minutes later, and keep scattered todo thoughts in random scratchpads.\n\nSo I built **[PochiDesk](https://pochidesk.vercel.app)** — a 100% local-first pixel AI desk companion that floats on top of your screen while you work and turns messy voice or text brain-dumps into prioritized checklists.\n\nTry it live with zero sign-up: 👉 [https://pochidesk.vercel.app](https://pochidesk.vercel.app)\n\n**Always-On-Top Desk Buddy via Chrome Document Picture-in-Picture API**\n\nUnlike legacy video-only PiP, `window.documentPictureInPicture.requestWindow()` lets a web app spawn a real floating mini HTML window containing interactive React components via `createPortal`:\n\n`Kanso Cat`, `Cyber Shiba`, `Terminal Bot`, `Pixel Capybara`) reacts live to your focus countdown and completed tasks while sitting cleanly in the corner of your desktop over other apps.\n**Synthesized Focus Soundscapes via Pure Web Audio API**\n\nZero external MP3s or audio CDNs. Brown noise and gentle desk rain are synthesized directly in the browser using `AudioContext` white-noise buffers routed through leaky-integrator lowpass/bandpass `BiquadFilterNode` s, plus gentle sine-wave chimes on sprint completion.\n\n**Offline-First Brain-Dump Parser + Optional BYOK (`localStorage` Only)**\n\nSpeak via Web Speech API or paste messy thoughts (e.g. *\"Fix CORS bug urgent, email Sarah tomorrow, buy coffee beans\"*).\n\n`HIGH` / `NEXT` / `SOON` priority tags, time estimates, and one-click `localStorage` — zero middleman server needed.\nWould love feedback on the Document PiP floating pet UX and what desktop buddy behaviors you'd want next!", "url": "https://wpnews.pro/news/i-built-a-floating-browser-ai-desk-pet-with-chrome-document-picture-in-picture", "canonical_source": "https://dev.to/yanqiangyu/i-built-a-floating-browser-ai-desk-pet-with-chrome-document-picture-in-picture-web-audio-2f8p", "published_at": "2026-11-18 05:09:13+00:00", "updated_at": "2026-11-18 05:14:27.318615+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "ai-products"], "entities": ["PochiDesk", "Chrome", "React", "Web Audio API", "Web Speech API"], "also_reported_by": [], "takeaway": "Chrome's documentPictureInPicture.requestWindow() plus React createPortal can render a real interactive always-on-top mini app, and Web Audio noise buffers routed through BiquadFilterNode lowpass/bandpass filters produce focus soundscapes without any audio files.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/i-built-a-floating-browser-ai-desk-pet-with-chrome-document-picture-in-picture", "markdown": "https://wpnews.pro/news/i-built-a-floating-browser-ai-desk-pet-with-chrome-document-picture-in-picture.md", "text": "https://wpnews.pro/news/i-built-a-floating-browser-ai-desk-pet-with-chrome-document-picture-in-picture.txt", "jsonld": "https://wpnews.pro/news/i-built-a-floating-browser-ai-desk-pet-with-chrome-document-picture-in-picture.jsonld"}}