@trq212: whoops I hit send and went to a meeting, didn't realize the repo wasnt public- it is now! it's a chrome extension I use…

X AI KOLs Timeline Tools

Summary

开源 Chrome 扩展 AI Homepage 正式公开源码,它用 Anthropic API 代理读取用户的浏览历史和页面内容,自动生成可自定义风格的个性化新标签页主页。

whoops I hit send and went to a meeting, didn't realize the repo wasnt public- it is now! it's a chrome extension I use every day now https://github.com/ThariqS/ai-newtab…
Original Article
View Cached Full Text

Cached at: 10/08/26, 10:23 PM

whoops I hit send and went to a meeting, didn’t realize the repo wasnt public- it is now! it’s a chrome extension I use every day now https://github.com/ThariqS/ai-newtab…


ThariqS/ai-newtab

Source: https://github.com/ThariqS/ai-newtab

AI Homepage

A new tab that reads the internet for you.

AI Homepage replaces Chrome’s new-tab page with one that’s written for you. An agent looks at what you’ve actually been browsing, opens the pages you follow (signed in as you), and writes a fresh homepage from what it finds there. It rebuilds itself in the background, so each new tab is up to date.

An example homepage in a morning-newspaper style Illustration. Your homepage is built from your own browsing, so its stories will be different.

A morning newspaper is just one look. You can describe any look and the next build follows it: a quiet one-column digest, a dense dashboard, a green-on-black terminal, a zine.

Privacy, up front. To build your homepage, the extension sends a summary of your browsing history (top domains, visit counts, a few page titles) and the cleaned-up HTML of up to 8 pages to the Anthropic API, using your own API key. Those pages are loaded in your signed-in browser, so they can include private content. The agent session and every uploaded page are deleted when each build ends. Your API key stays in the extension’s local storage. More detail in ARCHITECTURE.md.


Install

You need Chrome (or another Chromium browser), Node.js 20+, and an Anthropic API key.

git clone https://github.com/ThariqS/ai-newtab.git
cd ai-newtab
npx [email protected] install
npx [email protected] build

(If you already have pnpm, plain pnpm install && pnpm build works too.)

Then load it into Chrome:

  1. Go to chrome://extensions.
  2. Turn on Developer mode (top right).
  3. Click Load unpacked and choose apps/extension/.output/chrome-mv3.

If Chrome asks whether to keep the changed new-tab page, choose Keep it.

Your first homepage

  1. Open a new tab and paste your Anthropic API key.
  2. Click Build today’s homepage.
  3. Watch it work. The progress view walks through each step: preparing the agent, reading your history, opening pages in your browser, analyzing them, and writing your homepage.

The first build takes a few minutes. You can close the tab while it runs, since the build lives in the extension’s background worker and appears in any new tab you open.

Make it yours

Click ⚙️ Settings on the new tab.

Instructions. Anything you write here goes into every build and takes priority over the agent’s own defaults. This box sets both the content and the look:

You writeYou get
“A morning newspaper. Serif type, a big masthead, a lead story, a column of briefs.”A broadsheet front page
“One calm column. No images. Five things worth reading, with one line on why.”A quiet reading list
“Dense dashboard: GitHub PRs and issues first, then Hacker News, then everything else.”A work cockpit
“Green-on-black terminal, monospace, like a 1980s BBS.”Exactly that
“Skip sports and politics. Always show the weather and my next three calendar events.”Your rules, every day

Click Save & rebuild to apply them right away.

Model. Choose which Claude model writes your page:

  • Claude Sonnet 5.5 (default): the best balance of quality and cost.
  • Claude Haiku 5.5: the fastest and cheapest.
  • Claude Opus 5.5: the most careful editor, and the most expensive.

The new model takes effect from your next build.

Rebuild automatically. On by default. Once your homepage is older than the interval you pick (6, 12, 24 or 48 hours), the extension rebuilds it quietly in the background. It only starts after you’ve built once by hand, and it won’t retry a failed build until the next interval, so it never loops.

↻ Rebuild in the top-right corner rebuilds right away.

Good to know

  • Cost. Each build is a single agent session billed to your API key. What it costs depends on the model and on how much it reads. Haiku is the cheapest choice, and you can turn off automatic rebuilds to build only when you ask.
  • What it can see. It ranks the sites in your history and opens up to 8 of them per build. It skips search engines, webmail, banking and logged-out marketing pages. Anything it can’t open is reported, not hidden.
  • Links are real. Every link on the page comes from a page the agent actually read. It’s told never to invent a URL.
  • Interrupted builds. If Chrome closes mid-build, the new tab offers Resume interrupted build next time.
  • Updating. After pulling new code, run npx [email protected] build again, then click the reload icon on the extension in chrome://extensions.

How it works

  1. getHistory: the agent gets a ranked summary of your most-visited domains.
  2. getPageHtml: it picks up to 8 pages, which the extension opens in a background window, cleans up, and mounts into the agent’s sandbox as files.
  3. grep / read: the agent pulls headlines, posts and links out of those files inside its sandbox.
  4. write: it writes one React component, which the new tab renders.

The extension’s background worker drives a Claude Managed Agents session directly, with no server in between. The two custom tools run in the extension because they need chrome.history and chrome.tabs. Everything else happens in the agent’s sandbox, where shell access is off: scraped pages are untrusted input.

See ARCHITECTURE.md for the event flow, the layout, and the gotchas worth knowing.

Development

packages/agent-core   the agent loop: host-agnostic, no chrome.* or node:*
apps/extension        the MV3 extension (WXT + React)
harness               Bun scripts that run agent-core outside Chrome, and test the built extension
pnpm dev                 # WXT with hot reload
pnpm typecheck           # all packages
pnpm test                # unit tests (no API calls; needs Bun)
pnpm extension:test      # loads the built extension into headless Chrome (no API calls)

cp .env.example .env     # add ANTHROPIC_API_KEY, then:
pnpm agent:run           # a full build against the real API, with fixture history
pnpm agent:verify        # check the output actually renders

Status

Early and experimental. It’s a tool you run yourself with your own key. Don’t publish it to a store as-is: anyone with access to the browser profile can read the stored API key.

License

MIT

Thariq (@trq212): you now get Claude API credits with your MAX plans ($100, or 200 matching your plan) every month, use this to build more personal AI for yourself!

I made an AI homepage that’s generated everyday based on sites I read and replaces my ‘new tab’ page in Chrome

Similar Articles

@XAMTO_AI: Wow! Just found a crazy plugin — after installing it, you can directly see the tech stack of any webpage! Front-end frameworks, backends, CDNs all exposed. Click on names to jump to official sites. Even getting a quick overview is this intense in the AI era? Jump on it and research before others leave you in the dust. https://github.com/setube/stac…

X AI KOLs Timeline

Introducing StackPrism, a browser extension that automatically identifies the tech stack of web pages, including front-end frameworks, backends, and CDNs. Supports Chrome/Edge/Firefox, built on Manifest V3, collects clues through multiple channels and presents them in a categorized view.

@axichuhai: This Alibaba open-source project, Page-Agent, allows you to control web interfaces using natural language. It has already garnered 18.7K stars on GitHub. It injects an AI agent directly into web pages, and you can use natural language to instruct it to click buttons, fill out forms, and navigate workflows. It doesn't need a headless browser, screenshots, OCR, or multimodal models.

X AI KOLs Timeline

Alibaba's open-source project, Page-Agent, lets you directly control web interfaces with natural language, with no need for headless browsers or multimodal models. It has earned 18.7K stars on GitHub.

@Ryrenz: Install this extension, and strangers on the same webpage can chat directly — 2.4K stars on GitHub. See a great article and want to find someone to discuss, but the comment section is either closed or quiet; stumble upon a niche website and want to know if anyone else is viewing it like you, but there's no way. WebChat adds a temporary layer to every website...

X AI KOLs Timeline

WebChat is an open-source browser extension that uses WebRTC for peer-to-peer end-to-end encrypted communication, allowing strangers browsing the same webpage to chat anonymously without a central server. Supports Chrome, Edge, and Firefox.

@CycleDecoded: Guys doing automation and scraping can throw away their previous solutions. An open-source project called Index (built by the AI developer platform Laminar team) suddenly went viral on GitHub, turning the web browser directly into a callable API. In essence, it's an ultra-smooth “AI browser Agen…

X AI KOLs Timeline

Index is an open-source AI browser Agent developed by the Laminar team that turns any website into a callable API, supports vision models such as Claude and Gemini, and achieves 92% accuracy on WebVoyager.