next-ai-starter  by kleneway

Next.js starter optimized for AI coding tools

Created 9 months ago
484 stars

Top 63.5% on SourcePulse

GitHubView on GitHub
Project Summary

This repository provides an opinionated, "batteries-included" starter kit for building full-stack web applications using Next.js 14 and AI coding assistants. It targets developers looking for a pre-configured, modern stack with integrations for AI, databases, email, and background jobs, aiming to accelerate development with AI coding tools.

How It Works

The stack leverages Next.js 14 with the App Router for a modern React framework. It integrates Supabase for database and authentication needs, Resend for transactional emails, and Prisma as the ORM. tRPC ensures end-to-end type safety between the frontend and backend. UI is handled by Tailwind CSS and Framer Motion, with Storybook for component development. Multiple AI provider integrations (OpenAI, Anthropic, Perplexity, Groq) and background job processing via Inngest are included.

Quick Start & Requirements

  • Install dependencies: npm install
  • Configure environment variables via .env.example.
  • Set up database: npx prisma migrate dev
  • Start development server: npm run dev
  • Prerequisites: Node.js, npm/yarn/pnpm.
  • Official Docs: https://youtu.be/gXmakVsIbF0

Highlighted Details

  • Next.js 14 with App Router.
  • Supabase integration for database, auth, and real-time features.
  • tRPC for end-to-end type-safe APIs.
  • Multiple AI provider integrations (OpenAI, Anthropic, Perplexity, Groq).
  • Inngest for background jobs and scheduled tasks.
  • Tailwind CSS, Framer Motion, Storybook for UI and component development.

Maintenance & Community

This is a personal template; the author states they won't be accepting pull requests for additional features but are available for questions. No specific community channels or roadmap links are provided in the README.

Licensing & Compatibility

  • License: MIT License.
  • Compatibility: The MIT license permits commercial use and linking with closed-source projects.

Limitations & Caveats

The template is described as personal and opinionated, with the author explicitly stating they won't accept feature PRs, suggesting limited community-driven expansion. While Supabase is the default, switching database providers requires manual configuration of DATABASE_URL and DIRECT_URL environment variables.

Health Check
Last Commit

2 weeks ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
11 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Taranjeet Singh Taranjeet Singh(Cofounder of Mem0), and
6 more.

fragments by e2b-dev

0.2%
6k
Next.js template for AI-generated apps
Created 1 year ago
Updated 5 days ago
Starred by Li Jiang Li Jiang(Coauthor of AutoGen; Engineer at Microsoft), Vincent Weisser Vincent Weisser(Cofounder of Prime Intellect), and
9 more.

AgentGPT by reworkd

0.1%
35k
Autonomous AI agent platform in your browser
Created 2 years ago
Updated 6 months ago
Feedback? Help us improve.