A futuristic, crystal-clear new tab dashboard for Chromium browsers featuring Apple WWDC 2025 Liquid Glass refraction physics, live Radar news, daily web browsing screen-time analytics, modular drag-and-drop widgets, and an intelligent Pomodoro focus shield.
Key Features โข Installation Guide โข Widgets & Capabilities โข Liquid Glass Physics โข Controls & Customization โข Special Thanks & Credits โข Privacy & Permissions
- โก Animated Boot Reveal & Zero-FOUC: Zero flash of unstyled content on page refresh or tab open! Features an ultra-smooth animated splash unveil where a centered search/glass emblem scales down and glides upward directly into the search bar while dissolving the dark curtain to reveal your widgets.
- ๐ Dedicated Analytics & Focus Studio: A minimalist, high-contrast analytics dashboard (
analytics.html) crafted with clean developer aesthetics ("vibe coded", non-glassmorphic, fast & distraction-free) to keep the home page uncluttered. - ๐ท๏ธ Smart Website Categorization: Automatically groups visited domains into intuitive categories:
- ๐ Study & Learning (Coursera, LeetCode, edX, Khan Academy, Wikipedia, .edu portals)
- ๐ฌ Research & Academic (arXiv, Google Scholar, PubMed, ScienceDirect, ResearchGate)
- ๐ป Development & Coding (GitHub, StackOverflow, MDN, Dev.to, Vercel, AWS)
- โก Productivity & Work (Notion, Google Docs, Figma, ChatGPT, Claude, Slack)
- ๐ฌ Entertainment & Media (YouTube, Netflix, Twitch, Spotify, Disney+)
- ๐ฌ Social Media (X / Twitter, Reddit, Instagram, Discord, LinkedIn)
- ๐ฐ News & Reading (Hacker News, TechCrunch, The Verge, BBC)
- ๐ Other & Utilities + instant one-click custom category re-assignment!
- ๐ Interactive Visual Charts:
- ๐ฉ Category Donut / Pie Chart: SVG-rendered interactive wheel with slice hover highlights, central duration readout, and dynamic percentage legends.
- ๐ Category Time Bar Chart: Proportional horizontal distribution bars comparing minutes across categories.
- ๐ฏ Post-Session Accomplishment Logger: Prompted immediately after every focus sprint on the New Tab page to log what you accomplished (e.g. solved 3 problems, summarized paper, fixed auth bug).
- ๐ Focus Accomplishment History & Management: Chronological timeline of all completed study sessions with duration pills, accomplishment quotes, category tags, search filters, single item removal, and one-click Clear History with confirmation.
- โ Manual Focus Session Logging & Data Export: Log offline study sessions manually and export your complete browsing analytics and focus history as JSON anytime.
- ๐ Instant Theme Switcher (Normal Liquid Glass โ OLED Dark Mode):
- Normal Liquid Glass Mode (Default): Vibrant cosmic nebula / aurora background, atmospheric ambient lighting blobs, high-translucency glass cards, and luminous cyan/purple accents.
- OLED Dark Mode (Optional Feature): Pitch-black minimal aesthetic (
#080808), flat charcoal cards, tight 6px corners, zero distractions, and battery-friendly contrast. - Dedicated one-click topbar toggle button (
#themeToggleBtn) and segmented theme controls in Settings.
- โก Zero-Dependency Vanilla Architecture: Built entirely with Vanilla HTML5, CSS3 Custom Properties, and ES2024 JavaScript. Zero npm runtime dependencies, sub-20ms instant cold boot.
- ๐ก๏ธ Pomodoro Focus Shield with Site Blocker: Native Chrome
declarativeNetRequestrule engine dynamically blocking distracting domains during focus sprints. - ๐ Modular Freeform Canvas: Seamlessly toggle between a structured responsive grid and a freeform drag-and-drop canvas where every widget can be freely positioned and resized (
โ).
Works natively on Google Chrome, Microsoft Edge, Brave, Opera, Vivaldi, and Arc.
git clone https://github.com/Akash7037/Glass-Widget-.git(Alternatively, click Code โ Download ZIP on GitHub and extract the folder to your preferred directory).
- Open your browser and navigate to the Extensions manager:
- Chrome:
chrome://extensions - Brave:
brave://extensions - Edge:
edge://extensions - Arc:
arc://extensions
- Chrome:
- Toggle on Developer mode (switch located in the top-right corner).
- Click the Load unpacked button in the top-left toolbar.
- Select the cloned folder (
Glass-Widget-orliquid-glass-newtab). - Open a new tab (
Ctrl + Ton Windows/Linux orCmd + Ton macOS) to experience your new liquid glass dashboard!
| Widget / Feature | Capabilities |
|---|---|
| Google Lens Search | Native visual reverse-image search integrated into the search bar. Drag & drop images, upload from disk, paste direct image URLs, or paste from clipboard (Ctrl + V). |
| Analytics & Focus Studio | Dedicated standalone dashboard (analytics.html) featuring minimalist developer styling, auto domain categorization (Study, Research, Coding, etc.), and interactive charts. |
| Category Visual Charts | Interactive SVG Donut / Pie chart with dynamic slice hover readouts and percentages, paired with comparative category duration bar graphs. |
| Accomplishment History | Post-focus completion modal prompting you to log what you accomplished. Searchable history timeline with category badges, duration pills, and one-click Clear History. |
| Clock & Greetings | Crisp liquid glass time display with live seconds, weekday, calendar date, timezone, quick 12H/24H toggle, and randomized inspirational vibe-coding quotes. |
| News Radar | Live real-time headline aggregator featuring 3 categorized feeds (AI Tech, Vibe Coding, World Breaking) with Hacker News live API integration and manual refresh. |
| Weather | Real-time weather and 5-day forecasts powered by Open-Meteo with zero API key required. Geolocation auto-detection or instant city search with ยฐC / ยฐF switching. |
| Today (Tasks) | Lightweight task organizer featuring instant add, inline completion check, task deletion, and remaining task counter. |
| Saved Links | Full CRUD bookmark manager: add new sites, click the pencil icon (โ) to edit existing titles and URLs, delete items, and auto-fetch favicons. |
| Notes | Autosaving liquid glass scratchpad for code snippets, markdown, or thoughts with immediate local storage synchronization. |
| Focus Timer | Pomodoro session timer integrated with Chrome's native declarativeNetRequest rules to block distracting websites during focus sprints. |
Unlike standard CSS backdrop-filter: blur(), true Liquid Glass models how light actually bends when passing through curved convex optical glass:
Light Source (Ray at ฮธ = -60ยฐ)
\
\ Specular Highlight Peak
v /
_____________________.-''''-._____________________
| / Bevel \ |
| | Refract | |
| | Shadow | |
|===================\==========/===================|
| Liquid Glass Body |
| Backdrop Wallpaper refracted by Snell's Law |
|__________________________________________________|
Light incident from inside the glass medium (
The bezel utilizes Apple's signature curvature profile:
Light splitting along the edges creates spectral rainbow dispersion:
- Cyan Sheen (
#38bdf8): Primary refractive dispersion on the light-facing rim. - Violet Sheen (
#c084fc): Secondary chromatic refraction on the counter-angled rim. - Pure White Crest (
#ffffff): Luminous specular reflection aligned to the light source vector.
Click the Gear Icon (โ) in the top right to open the Settings Drawer:
- Glass Appearance:
- Blur (0px โ 40px): Slide down to 0px for pure crystal transparency; slide up to 40px for deep frosted glass.
- Opacity (2% โ 90%): Adjusts optical glass density without muddy color tinting.
- Radius (8px โ 44px): Adjusts corner curvature from tight squircle to pill capsule.
- Accent Color Picker: Dynamically re-themes buttons, progress bars, and highlights.
- Wallpaper Engine: 4 curated gradients or upload any custom high-resolution photo.
- Liquid Glass Physics:
- Refraction Scale (5px โ 60px): Calibrates internal optical caustic depth.
- Bezel Width (10px โ 44px): Expands or contracts the physical 3D bevel edge and chromatic rim stroke.
- Rim Gleam (5% โ 100%): Adjusts the intensity of the pure white specular reflection.
- Rim Saturation (0x โ 12x): Adjusts the vibrancy of the rainbow chromatic dispersion.
- Light Angle (-180ยฐ โ 180ยฐ): Rotates the physical 3D light vector around the widgets in real time.
| Shortcut | Action |
|---|---|
E |
Toggle Edit Layout Mode (drag widgets and resize freely) |
/ |
Instantly focus the Search Bar |
Esc |
Close Settings Drawer / Exit Edit Mode |
Click on Clock |
Instant toggle between 12-Hour and 24-Hour format |
Click on ๐ฒ |
Reroll the inspirational Vibe Coding Greeting |
Glass-Widget-/
โโโ manifest.json # Chrome Extension MV3 Manifest
โโโ newtab.html # Semantic HTML5 layout and widget architecture
โโโ newtab.css # Hardware-accelerated CSS3 liquid glass design system
โโโ newtab.js # Core application state, Google Lens, Focus accomplishment prompt
โโโ analytics.html # Standalone minimalist Analytics & Focus Studio page
โโโ analytics.css # High-contrast, non-glassmorphic responsive dashboard styles
โโโ analytics.js # Category taxonomy engine, interactive SVG charts & history manager
โโโ liquid.js # Liquid glass physics engine, Snell's law SDF & ray-tracing
โโโ background.js # Service worker (screen time logging, Lens upload, focus blocker)
โโโ blocked.html # Custom motivational landing page for blocked sites
โโโ blocked.css # Styling for focus-blocked notification screen
โโโ blocked.js # Logic and countdown timer for blocked page
โโโ icons/ # High-res extension icons (16px, 32px, 48px, 128px)
โโโ .gitignore # Git ignore rules for clean repository state
โโโ README.md # Comprehensive project documentation
Glass Widget is built with a strict privacy-first architecture:
- 100% Local Storage: All settings, notes, tasks, bookmarks, and screen time statistics are stored exclusively in your browser via
chrome.storage.local. - Zero Telemetry: No third-party trackers, no tracking pixels, and no analytics SDKs.
- Zero External CDNs: All scripts, fonts, and stylesheets are bundled locally for offline security and instant page loads.
- Minimal Permissions:
storage: Preserves your layout, tasks, notes, and custom preferences.declarativeNetRequest: Enables non-intrusive domain redirection for the Focus blocker.topSites/tabs: Powers the private Web Screen Time analytics widget locally.
A massive, heartfelt shoutout and credit to:
- kube.io for their seminal, ground-breaking research article:
๐ Liquid Glass in the Browser: Refraction with CSS and SVG
Which laid out the foundational mathematics of Snell's Law ray-tracing, Apple Squircle surface normals, dynamic 2D displacement maps, and specular lighting in modern web browsers. - Z1Code/glass-refraction and the open-source web optics community for pioneering experiments translating physical refractive shaders into accessible CSS and SVG graphics.
- Apple Design Team for the visionary Liquid Glass aesthetic introduced at WWDC 2025.
Contributions, feature suggestions, and bug reports are warmly welcomed!
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m "Add some AmazingFeature") - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.