AutoNext

A VS Code extension to automate `npm run dev` and browser launch for Next.js projects

I always hated running the same commands again and again in the terminal, so I created AutoNext to automate this process. With this extension, when you open a Next.js project it will automatically run the command npm run dev, and open the browser for you.

AutoNext Screenshot on Visual Studio Code Extensions Page
AutoNext Screenshot on Visual Studio Code Extensions Page

😎 Features

Automatic Command Execution - Automatically runs npm run dev when you open a Next.js project.

Dynamic Port Handling - Detects the port on which the Next.js application is running and opens the browser to that URL.

AutoNext Automatically Detects Port
AutoNext Automatically Detects Port

Smart Server Detection - The extension intelligently waits until your Next.js dev server is fully ready before launching the browser. No more "Connection Refused" errors or blank pages.

Only opens browser when ready
Only opens browser when ready

Automatically Browser Opening - Automatically opens the browser to the Next.js application URL.