nextjs-templater

command module
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2025 License: MIT Imports: 18 Imported by: 0

README


Next.js Templater

TUI to scaffold Next.js projects with shadcn/ui components and authentication.

Screenshot 2025-09-25 at 11 43 37 PM

go version   bubble tea   license

Justification

I built this for several reasons (Not in order of importance);

  1. Im learning how to build apps in GO
  2. CharmBracelet gives you a lot of tools to do that and learn how to do that well (I think?)
  3. I make a lot of Next.js projects, I spend a lot of time looking up commands and trying to remember how to install stuff.
  4. Wanted to see how BetterAuth devx was, I use Clerk for most of my apps auth - no real opinions, I just like it and easy to use.
  5. Ummm, yeah, building TUI's is fun. thanks if you read this much.

Stayed tuned for me building more shit

^ ^ () () O: |___|

Features

  • TUI - Built with Bubble Tea framework
  • Responsive Design - Adapts to terminal size
  • File Browser - Navigate directories with search

  • Themes - Choose from shadcn/ui template configurations

  • Authentication - Clerk, Better Auth, or no authentication (Maybe will add more later, any good ideas?)

Installing...

Screenshot 2025-09-25 at 11 46 28 PM

Installation

brew install willyv3/tap/nextui

Option 2: Go Install

go install github.com/WillyV3/nextjs-templater@latest

Option 3: Download Binary

# macOS (Apple Silicon)
curl -L https://github.com/WillyV3/nextjs-templater/releases/latest/download/nextui-darwin-arm64.tar.gz | tar xz
sudo mv nextui /usr/local/bin/

# macOS (Intel)
curl -L https://github.com/WillyV3/nextjs-templater/releases/latest/download/nextui-darwin-amd64.tar.gz | tar xz
sudo mv nextui /usr/local/bin/

# Linux
curl -L https://github.com/WillyV3/nextjs-templater/releases/latest/download/nextui-linux-amd64.tar.gz | tar xz
sudo mv nextui /usr/local/bin/

Option 4: Build from Source

git clone https://github.com/WillyV3/nextjs-templater
cd nextjs-templater
go build -o nextui
sudo mv nextui /usr/local/bin/

Prerequisites

  • Node.js 18+ and npm (for the generated Next.js projects)
  • Git (for project initialization)

Quick Start

After installation, simply run:

nextui

If running locally for dev you can use:

go build .

go run .

How It Works

  1. Enter App Name - Enter Next.js app name
  2. Select Directory - Select directory to create project
  3. Choose Theme - Select from shadcn/ui templates
  4. Select Auth - Choose Clerk, Better Auth, or skip authentication
  5. Monitor Progress - Installation with output

Templates

  • Default - Next.js with shadcn/ui
  • Dashboard - Dashboard template
  • Landing Page - Site template
  • E-commerce - Store template
  • Blog - Blog template

Authentication

  • Clerk - Authentication platform with social logins and MFA
  • Better Auth - Auth library with Kysely + SQLite integration
  • None - Skip authentication setup

Built With

Developer

WillyV3 More from Willy: www.Willyv3.com

Contributing

Submit Pull Requests for contributions.

License

This project is licensed under the MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL