Skip to content

WXT: Browser Extension Framework

Published:

sit down because i need to tell you about WXT and why it’s literally about to revolutionize how we build browser extensions 🤯 like, if you’ve ever tried making a Chrome or Firefox extension the old way, you KNOW the struggle was real fr fr 😭

Table of contents

Open Table of contents

What Even IS WXT? 🤔💭

WXT is described as a next-generation web extension framework that’s open source and designed to make development faster than before. basically, it’s giving “i’m tired of writing the same boilerplate code 500 times” energy and i’m HERE for it 💅

think of it as the glow-up browser extension development desperately needed. we’re talking Vite-powered, TypeScript-first, auto-import everything kind of vibes ✨

Real Extensions Are Using WXT 💼

WXT is battle-tested and ready for production, so this isn’t some experimental thing that’ll break in prod (we’ve ALL been there 😭). actual extensions in the wild are using this and thriving ✨

Who’s This For? 🎯

honestly? everyone building browser extensions rn:

The Vibe Check ✅

WXT is giving:

literally everything we want in a framework periodt 💯

Getting Started is SO Easy 🎮

wanna try it? just run:

bunx wxt@latest init

the CLI is gonna ask you some questions (it’s giving personality quiz energy):

  1. Project name - be creative bestie, this is your baby 👶
  2. Choose your template - pick your main character energy:
  3. 🟦 Vanilla TypeScript - clean and simple
  4. 💚 Vue - if you’re cultured
  5. ⚛️ React - the popular kid (valid choice)
  6. 🧡 Svelte - for the cool kids
  7. 🔵 Solid - if you’re extra trendy
  8. Package manager - pick the one you vibed with earlier

CD Into Your New Project 📁

cd your-project-name

(replace “your-project-name” with whatever you named it, obviously 🙄)

Install Dependencies 📦

bun install

Fire It Up! 🔥

bun run dev

BOOM 💥 WXT literally just opened a browser with your extension already installed??? the serve is IMMACULATE 💅✨


Share this post on:

Previous Post
Obsessed with "Bun" as my main Package Manager
Next Post
My Easiest way to Start with React JS App