<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: SmitVanani</title>
    <description>The latest articles on DEV Community by SmitVanani (@smitvanani).</description>
    <link>https://dev.to/smitvanani</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3853435%2Fd687086f-76e2-4767-9566-69294d9813d2.png</url>
      <title>DEV Community: SmitVanani</title>
      <link>https://dev.to/smitvanani</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/smitvanani"/>
    <language>en</language>
    <item>
      <title>I Built a Full-Featured AI Browser From Scratch - Here's How</title>
      <dc:creator>SmitVanani</dc:creator>
      <pubDate>Tue, 31 Mar 2026 12:20:51 +0000</pubDate>
      <link>https://dev.to/smitvanani/i-built-a-full-featured-ai-browser-from-scratch-heres-how-441b</link>
      <guid>https://dev.to/smitvanani/i-built-a-full-featured-ai-browser-from-scratch-heres-how-441b</guid>
      <description>&lt;h1&gt;
  
  
  Why I Built a Browser
&lt;/h1&gt;

&lt;p&gt;I wanted a browser that felt built for how I actually work — vertical tabs, workspaces, and a built-in AI that can actually &lt;em&gt;do things&lt;/em&gt;, not just chat. Arc and Zen inspired me, but I wanted to go further with AI integration.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;Nova&lt;/strong&gt;, an open-source desktop browser from scratch.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/smitvanani/browser" rel="noopener noreferrer"&gt;https://github.com/smitvanani/browser&lt;/a&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  The Tech Stack
&lt;/h1&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Runtime&lt;/td&gt;
&lt;td&gt;Electron 41&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;UI&lt;/td&gt;
&lt;td&gt;React 19 + TypeScript&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Build&lt;/td&gt;
&lt;td&gt;Vite 8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI&lt;/td&gt;
&lt;td&gt;Claude API (Anthropic)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Styling&lt;/td&gt;
&lt;td&gt;CSS custom properties, glassmorphism, backdrop blur&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h1&gt;
  
  
  What Can It Do?
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Browser Basics (Done Right)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Vertical sidebar tabs with drag-and-drop
&lt;/li&gt;
&lt;li&gt;Spaces: color-coded workspaces (Personal, Work, Research)
&lt;/li&gt;
&lt;li&gt;Command Palette (&lt;code&gt;Cmd + K&lt;/code&gt;): search tabs, bookmarks, run actions
&lt;/li&gt;
&lt;li&gt;Split View (&lt;code&gt;Cmd + \&lt;/code&gt;): two pages side by side
&lt;/li&gt;
&lt;li&gt;Focus Mode: hide the sidebar for distraction-free browsing
&lt;/li&gt;
&lt;li&gt;Find in Page, Bookmarks, PDF Viewer, Screenshots
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Nova AI: The Core Differentiator
&lt;/h2&gt;

&lt;p&gt;Press &lt;code&gt;Cmd + J&lt;/code&gt; and you get a full AI assistant powered by Claude.&lt;br&gt;&lt;br&gt;
It does not just answer questions — it controls the browser.&lt;/p&gt;

&lt;h3&gt;
  
  
  Browser control
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Open YouTube in a new tab
Close this tab
Search for React tutorials
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Page understanding
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Summarize this page
What are the main points?
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  File system access
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;List files on my Desktop
Read ~/Documents/notes.txt
Save this to a file
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  System commands
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;What&lt;span class="s1"&gt;'s my battery level?
Run git status in ~/Projects/myapp
Send a notification
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The AI also has persistent memory. Tell it to remember something and it will recall it next session.&lt;/p&gt;

&lt;p&gt;Under the hood, this uses Claude's tool-use API. The main process defines ~15 tools (open tab, read file, run command, etc.), and Claude decides which tool to call based on your message.&lt;/p&gt;




&lt;h1&gt;
  
  
  Privacy and Productivity
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Ad and tracker blocker (shows per-site tracker counts)
&lt;/li&gt;
&lt;li&gt;Screen time tracking with bar chart per domain
&lt;/li&gt;
&lt;li&gt;Site notes (write notes attached to any website)
&lt;/li&gt;
&lt;li&gt;Pomodoro timer (built-in focus timer)
&lt;/li&gt;
&lt;li&gt;Reading mode and Picture-in-Picture
&lt;/li&gt;
&lt;li&gt;Custom CSS injection (restyle any site)
&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  Customization
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;12 accent colors
&lt;/li&gt;
&lt;li&gt;Dark / Light mode
&lt;/li&gt;
&lt;li&gt;Custom quick links on the new tab page
&lt;/li&gt;
&lt;li&gt;Choice of search engine (Google, DuckDuckGo, Bing, Brave)
&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  Architecture Overview
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nova-browser/
├── index.js              # Main process (~1700 lines)
├── preload.js            # IPC bridge
├── ai-inject.js          # AI overlay injected into web pages
├── src/renderer/         # React UI (25+ components)
│   ├── components/
│   │   ├── Sidebar/      # Tabs, spaces, actions
│   │   ├── Panels/       # AI, settings, notes, screen time
│   │   ├── Widgets/      # Pomodoro, bookmarks, page insights
│   │   └── Overlays/     # Loading, toasts, zoom, screenshots
│   └── hooks/
│       └── useBrowser.tsx # Central state (React Context)
├── newtab.html           # New tab page
└── onboarding.html       # 8-step onboarding
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The main process handles everything: window management, tab lifecycle, session restore, ad blocking, AI chat, file system access, and all IPC communication.&lt;/p&gt;

&lt;p&gt;The renderer is pure React + TypeScript, communicating with the main process through a contextBridge preload script.&lt;/p&gt;




&lt;h1&gt;
  
  
  The Onboarding Experience
&lt;/h1&gt;

&lt;p&gt;Nova has an 8-step onboarding flow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Welcome&lt;/strong&gt; — cinematic logo reveal with orbiting dots
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your Name&lt;/strong&gt; — live preview of the new tab greeting
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pick Your Vibe&lt;/strong&gt; — accent color with a live mini-browser preview
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Search Engine&lt;/strong&gt; — choose your default
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Import&lt;/strong&gt; — one-click import from Chrome, Firefox, Safari, Edge
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quick Links&lt;/strong&gt; — pick your top 6 sites
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Meet Nova AI&lt;/strong&gt; — interactive demo that greets you by name
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ready&lt;/strong&gt; — confetti and a personalized summary
&lt;/li&gt;
&lt;/ol&gt;




&lt;h1&gt;
  
  
  Lessons Learned
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Electron is powerful but heavy.&lt;/strong&gt; Managing webviews, IPC channels, and security takes real effort.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool-use AI beats chat-only AI.&lt;/strong&gt; Giving Claude tools makes it 10× more useful.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Onboarding matters.&lt;/strong&gt; A polished first-run experience makes people actually want to use the app.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CSS can do a lot.&lt;/strong&gt; Glassmorphism, backdrop blur, cubic-bezier animations — no animation library needed.
&lt;/li&gt;
&lt;/ol&gt;




&lt;h1&gt;
  
  
  Try It Out
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/smitvanani/browser.git
&lt;span class="nb"&gt;cd &lt;/span&gt;browser
npm &lt;span class="nb"&gt;install
cp&lt;/span&gt; .env.example .env
&lt;span class="c"&gt;# Add your Anthropic API key&lt;/span&gt;
npm run build:renderer
npm start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You will need an Anthropic API key for the AI features.&lt;/p&gt;




&lt;h1&gt;
  
  
  What's Next
&lt;/h1&gt;

&lt;p&gt;I am actively working on this and would love feedback.&lt;br&gt;&lt;br&gt;
What features would you want in a browser like this? Drop a comment or open an issue on GitHub.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/smitvanani/browser" rel="noopener noreferrer"&gt;https://github.com/smitvanani/browser&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>electron</category>
      <category>react</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
