Manuel Martín

Live Web API examples in the browser. Run Notification, MediaDevices, View Transitions, File System Access, EyeDropper, and more in the tab. No backend.

Front-end developer at Mobbeel. Browser APIs, tried in public.

Web API labs · Projects

Web API labs

  • CSS overflow carousel example — CSS carousel example with overflow, ::scroll-button, and ::scroll-marker. The browser paints the controls. No slider library.
  • CSS Anchor Positioning example — CSS Anchor Positioning example. Name an element with anchor-name, then position another against it. Tooltips and menus without JS coordinates.
  • Customizable select example — Customizable select example with appearance: base-select. Native picker, options that can hold images, styled in CSS.
  • HTML usermedia element example — HTML usermedia, camera, and microphone elements. The browser draws the permission control and returns the stream. An alternative to getUserMedia().
  • Notifications API example — Notifications API example: Notification.permission, requestPermission(), new Notification(), tag, events, and close(). Run it in the tab.
  • Sanitizer API example — Sanitizer API example. setHTML() filters untrusted HTML in the browser so you do not assign a string to innerHTML.
  • CSS Custom Highlight API example — CSS Custom Highlight API example. Paint a Range with HighlightRegistry and ::highlight(). No extra DOM spans.
  • EyeDropper API example — EyeDropper API example. EyeDropper.open() reads a pixel from the screen after a gesture and returns sRGBHex.
  • BarcodeDetector API example — BarcodeDetector API example. Detect QR codes and barcodes from a camera frame with the OS shape-detection stack.
  • Translator API example — Translator API example. On-device language translation in the browser with Translator.create(). The model stays on the machine.
  • Face Landmarker example — Face Landmarker example in the browser. MediaPipe reads 478 face points from the camera and draws them live.
  • Gesture recognition example — Hand gesture recognition in the tab. MediaPipe classifies a wave, a fist, and other poses from the camera.
  • OffscreenCanvas API example — OffscreenCanvas API example. transferControlToOffscreen() moves canvas painting off the main thread so the page stays responsive.
  • View Transitions API example — View Transitions API example. document.startViewTransition() names an element and the browser animates the DOM update.
  • MediaRecorder API example — MediaRecorder API example. Record a MediaStream with a chosen codec, then download the Blob. A stream is not a file.
  • Web Audio API example — Web Audio API visualizer. AnalyserNode FFT from the microphone, drawn on canvas. Frequency data the audio element will not give you.
  • Web Speech API example — Web Speech API example. SpeechRecognition in, speechSynthesis out. A transcript, then a spoken string. No assistant object.
  • CSS Container Queries example — CSS container queries example. @container watches the component box, not the viewport. compact, split, and open from the same markup.
  • File System Access API example — File System Access API example. showOpenFilePicker() returns a handle. Read and write the real file. Not an upload.
  • Document Picture-in-Picture API example — Document Picture-in-Picture API example. documentPictureInPicture.requestWindow() floats a document, not a video.
  • ImageCapture API example — ImageCapture API example. grabFrame(), drawImage(), and createImageBitmap() from the same camera. Six grabs, timed.
  • MediaDevices API example — MediaDevices API example: getSupportedConstraints(), enumerateDevices(), getUserMedia(), getDisplayMedia(), selectAudioOutput(), devicechange.

Projects

  • Hooli Shot — Hooli Shot takes screenshots and records the screen from the macOS menu bar. You can capture an area, a window, or the display, mark the image up, and save an MP4. Apple silicon and Intel.
  • Hooli Klip — Hooli Klip keeps a local history of what you copy on the Mac. Open it from the menu bar, search the list, and paste an older item back. Apple silicon and Intel.
  • Toastive — Toastive is a native web component for toasts. showToastive() from any stack. About 6 kB. No runtime dependencies.
  • Simtip — react-simtip is a small React tooltip. Zero extra packages. Wrap a trigger, pass content, place it with props or CSS.
  • Portal — Portal is a P2P mesh in the browser. Share text, links, and files up to 1 GB across the room. No accounts, no cloud.