惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The Cloudflare Blog
U
Unit 42
F
Fortinet All Blogs
雷峰网
雷峰网
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
Y
Y Combinator Blog
罗磊的独立博客
V
Visual Studio Blog
大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
爱范儿
爱范儿
B
Blog RSS Feed
aimingoo的专栏
aimingoo的专栏
有赞技术团队
有赞技术团队
T
Tailwind CSS Blog
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
I
InfoQ
博客园 - 叶小钗
博客园 - 聂微东
Last Week in AI
Last Week in AI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I built an offline Chrome extension that reads webpages a...
Lavelle Hatc · 2026-05-11 · via DEV Community

Lavelle Hatcher Jr

Every text-to-speech Chrome extension I tried had one of two problems. Either it sent my text to a server, or it used the browser's built-in voices that sound like a GPS from 2012.

I wanted TTS that stays on my machine and doesn't sound terrible. So I built one.

What it does

GlowReadTTS is a Chrome extension that reads text aloud using AI voices bundled directly in the extension package. No cloud, no accounts, no API keys, no network calls at all.

Two ways to use it:

Right-click mode: Select text on any webpage, right-click, choose "Read with GlowReadTTS." It reads the text aloud and highlights each sentence on the page as it goes. A floating stop button appears at the top-right of the page so you can halt playback without opening the popup.

Popup mode: Open the extension popup, paste or type text, hit play.

15 AI voices (American and British English), speed control from 0.25x to 2x, streaming playback so audio starts quickly.

How a 96MB model fits in a Chrome extension

The AI voice model is about 96MB and ships entirely inside the .crx package. After install, there are no runtime downloads and no network calls. You can turn off wifi and it still works.

The voices sound significantly better than built-in browser TTS. 15 voices are bundled covering American and British English.

Architecture

The whole thing is vanilla JavaScript. No React, no build step, no bundler. Manifest V3.

background/    → service worker, context menu, message routing
content/       → in-page sentence highlighting, floating stop button
offscreen/     → audio playback + TTS inference
popup/         → extension UI (voice picker, text input, controls)
options/       → settings (speed, voice, performance toggle)
libs/          → bundled AI voice model + inference code

Enter fullscreen mode Exit fullscreen mode

The offscreen/ part is worth explaining. Chrome extensions can't play audio from a service worker, so an offscreen document handles the TTS inference and pipes audio out. This is a Manifest V3 pattern that trips people up if you haven't seen it before.

The performance toggle

Cold-starting a 96MB model takes a few seconds. To avoid that delay on the first right-click read of a session, GlowReadTTS can optionally pre-warm the model whenever you select text on a page. This is on by default.

If you'd rather keep idle RAM minimal, switch it off in Settings. The first read will be slower, but subsequent reads in the same session stay fast.

Privacy

This is the whole point of the project.

  • Zero data collection. No analytics, no telemetry, no tracking.
  • Text never leaves the device. 100% local processing.
  • No accounts. No sign-up, no API keys.
  • The extension doesn't even have permission to make network requests. If you're reading a article nothing gets sent anywhere.

Status

  • License: Apache 2.0
  • Source: github.com/lavellehatcherjr/GlowReadTTS
  • Chrome Web Store: Submitted, pending review. I'll update this post with the install link once it's approved. If you find it useful, a ⭐ on the repo helps more than you'd think.

What's next

Additional language support is on my radar. The architecture is designed for it, so stay tuned.


Questions, feedback, or bugs? Open an issue.