0.1.0 • Published 7 months ago

next-lite-framework v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Next-Lite šŸš€

A lightweight, high-performance alternative to Next.js that prioritizes speed and simplicity. Built with esbuild at its core, Next-Lite offers a streamlined development experience while maintaining the essential features modern web developers need.

Why Next-Lite? šŸ¤”

  • Blazing Fast āš”ļø - Built on esbuild, offering build times up to 100x faster than traditional bundlers
  • Zero Config šŸ“¦ - Start coding immediately with sensible defaults
  • Minimal Footprint 🌱 - Small bundle sizes and minimal dependencies
  • Developer Friendly šŸ’» - Great DX with hot module replacement and instant feedback

Core Features šŸŽÆ

  • āš”ļø Lightning Fast Development

    • Near-instant builds with esbuild
    • Hot Module Replacement (HMR) for rapid development
    • Fast refresh for React components
  • šŸ“ Intuitive File-Based Routing

    • Automatic route generation based on your file structure
    • Dynamic routing support
    • API routes for backend functionality
  • šŸŽØ Modern Styling Solutions

    • CSS Modules support out of the box
    • Scoped styles with zero configuration
    • PostCSS integration
  • šŸ’Ŗ TypeScript First

    • First-class TypeScript support
    • Automatic type generation
    • Enhanced developer experience with type safety

Quick Start šŸƒā€ā™‚ļø

# Create a new Next-Lite app
npx create-next-lite-app my-app

# Navigate to your app
cd my-app

# Start the development server
npm run dev

Visit http://localhost:3000 to see your app in action!

Project Structure šŸ“‚

my-app/
ā”œā”€ā”€ pages/           # Your application pages
│   ā”œā”€ā”€ index.tsx    # Homepage
│   ā”œā”€ā”€ about.tsx    # About page
│   └── api/         # API routes
ā”œā”€ā”€ public/          # Static files
└── package.json

Development Commands šŸ› ļø

# Start development server with HMR
npm run dev

# Build for production
npm run build

# Start production server
npm start

# Clean build files
npm run clean

Performance Comparison šŸ“Š

FeatureNext-LiteNext.js
Dev Startup Time~300ms~3s
Production Build~2s~20s
Bundle Size (Base)~80KB~200KB
Memory Usage (Dev)~200MB~500MB

Contributing šŸ¤

We welcome contributions! Whether it's:

  • šŸ› Bug fixes
  • ✨ New features
  • šŸ“š Documentation improvements
  • šŸŽØ UI/UX enhancements

Please read our Contributing Guide for details on our code of conduct and the process for submitting pull requests.

License šŸ“„

MIT Ā© Teck - See LICENSE for more details.

Support šŸ’¬