npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vibenext

v0.1.2

Published

AI-powered coding assistant that runs as a sidecar to your Next.js application

Readme

Vibe Next

AI-powered coding assistant that runs as a sidecar to your Next.js app

Make changes to your codebase on isolated Git branches using Claude — keeping your main branch safe.

npm version License: MIT TypeScript Next.js

Getting Started · Features · Configuration · Contributing


Overview

Vibe Next adds an AI coding assistant overlay to your Next.js development environment. Each conversation creates an isolated Git branch where Claude can make changes, test ideas, and iterate — all without touching your main branch.

Vibe Next Demo

Getting Started

Prerequisites

  • Node.js 18+
  • A Next.js 14+ application
  • Claude Code installed and authenticated with a Claude subscription

Installation & Setup

npm install -D vibenext
# or
pnpm add -D vibenext
# or
yarn add -D vibenext

Integration Steps

Create or update .env.local:

VIBENEXT_PASSWORD=your_secret_password

Create app/actions/vibe.ts:

"use server";

import {
  authenticate as _authenticate,
  checkAuth as _checkAuth,
  createThread as _createThread,
  adoptThread as _adoptThread,
  getCurrentBranch as _getCurrentBranch,
  getThreadState as _getThreadState,
  sendPrompt as _sendPrompt,
  mergeThread as _mergeThread,
  pushThread as _pushThread,
  listThreads as _listThreads,
  switchThread as _switchThread,
  checkHealth as _checkHealth,
} from "vibenext/server-actions";

export async function authenticate(password: string) {
  return _authenticate(password);
}

export async function checkAuth() {
  return _checkAuth();
}

export async function createThread(baseBranch?: string) {
  return _createThread(baseBranch);
}

export async function adoptThread(branchName: string) {
  return _adoptThread(branchName);
}

export async function getCurrentBranch() {
  return _getCurrentBranch();
}

export async function getThreadState(id: string) {
  return _getThreadState(id);
}

export async function sendPrompt(id: string, message: string) {
  return _sendPrompt(id, message);
}

export async function mergeThread(id: string) {
  return _mergeThread(id);
}

export async function pushThread(id: string) {
  return _pushThread(id);
}

export async function listThreads() {
  return _listThreads();
}

export async function switchThread(id: string) {
  return _switchThread(id);
}

export async function checkHealth() {
  return _checkHealth();
}

Note: Next.js 14+ requires explicit async function definitions in "use server" files. Re-exports like export * from "..." are not supported.

Update app/layout.tsx:

import { VibeOverlay } from "vibenext";
import {
  authenticate,
  checkAuth,
  createThread,
  adoptThread,
  getCurrentBranch,
  getThreadState,
  sendPrompt,
  mergeThread,
  pushThread,
  listThreads,
  switchThread,
  checkHealth,
} from "./actions/vibe";

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html>
      <body>
        {children}
        <VibeOverlay
          actions={{
            authenticate,
            checkAuth,
            createThread,
            adoptThread,
            getCurrentBranch,
            getThreadState,
            sendPrompt,
            mergeThread,
            pushThread,
            listThreads,
            switchThread,
            checkHealth,
          }}
        />
      </body>
    </html>
  );
}

Note: Pass individual functions as a plain object. The overlay automatically disables itself in production.

In your package.json, replace the dev script:

- "dev": "next dev",
+ "dev": "vibenext",

Then start your app as usual:

npm run dev

This starts both the Control Plane (port 3001) and Next.js (port 3000).

Tip: You can also run npx vibenext directly without modifying package.json.

Features

| Feature | Description | | ---------------------- | ---------------------------------------------------------- | | Isolated Branches | Each session creates a new branch (feat/vibe-{id}) | | Branch Selection | Start from main, branch from current, or continue existing | | Auto-commit | Changes automatically committed after each AI response | | Session Management | Switch between multiple unfinished sessions | | Push to Remote | Push branches to create PRs | | Merge to Main | One-click merge when you're happy | | HMR Resilient | Control plane survives Next.js hot reloads | | Production Safe | Automatically disabled in production |

Branch Selection

Configuration

| Variable | Required | Default | Description | | ---------------------------- | :------: | ----------------------- | ------------------------------ | | VIBENEXT_PASSWORD | Yes | — | Password to access the overlay | | VIBENEXT_PORT | No | 3001 | Control plane port | | VIBENEXT_CONTROL_PLANE_URL | No | http://127.0.0.1:3001 | Control plane URL |

Security

Vibe Next is a development-only tool with automatic production protection:

  • VibeOverlay returns null in production builds
  • All API functions refuse to execute in production
  • Control plane only binds to localhost (127.0.0.1)
  • Password authentication via HTTP-only cookies

Development

# Install dependencies
pnpm install

# Build the package
pnpm build

# Type check
pnpm typecheck

# Clean build artifacts
pnpm clean

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT


For technical architecture details, see Design.md

Developed with ♥️ by Lemonberry Labs