UNPKG

glim-nextjs

Version:

🚀 Premium AI-flavored blog scaffold for Next.js with App Router, TypeScript, Tailwind CSS, and Zustand. Features dark mode, SEO optimization, and ISR support.

96 lines (68 loc) 2.22 kB
# glim-nextjs [![npm version](https://img.shields.io/npm/v/glim-nextjs.svg)](https://www.npmjs.com/package/glim-nextjs) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) > Beautiful Next.js blog in 30 seconds. Zero config, just works. ## Quick Start ```bash # Create Next.js app + Blog in one go npx create-next-app@latest my-blog --ts --app --tailwind --use-npm cd my-blog npx glim-nextjs init --yes npm run dev ``` Visit `http://localhost:3000` - Your blog is ready at `/blog`! 🎉 ## What You Get -**Working blog** with 10 AI-themed sample posts - 🌙 **Dark mode** that actually remembers your preference - 🎨 **Beautiful UI** with gradients and animations - 📱 **Responsive** design that looks great everywhere - 🚀 **Fast** - Static generation with ISR - 🔍 **SEO optimized** out of the box - 📝 **TypeScript** for type safety - 🎯 **Zero config** - everything just works ## Commands ```bash # Check your setup npx glim-nextjs doctor # Initialize blog npx glim-nextjs init # Skip all prompts npx glim-nextjs init --yes # Use custom path npx glim-nextjs init --path blog # Force overwrite npx glim-nextjs init --force ``` ## Options | Flag | Description | |------|-------------| | `-y, --yes` | Skip prompts | | `-f, --force` | Overwrite files | | `--src-dir` | Auto-detect src | | `--path <dir>` | Blog directory | ## Troubleshooting ```bash # Check what's wrong npx glim-nextjs doctor # Missing Tailwind? npm i -D tailwindcss postcss autoprefixer npx tailwindcss init -p # Missing Zustand? npm i zustand ``` ## Why glim-nextjs? - **Zero friction** - One command, working blog - **Production ready** - Not a toy, real quality - **Modern stack** - Next.js 14+, App Router, TypeScript - **Extensible** - Easy to customize and extend - **No lock-in** - Standard Next.js structure ## Coming Soon - 📝 MDX support - 🔍 Search - 📡 RSS feeds - 🏷️ Tags & categories - 📊 Analytics ## License MIT © [Glim Team](https://github.com/glimlang) --- <p align="center">Made with 💜 by developers, for developers</p>