Lightning is an AI-powered full-stack engineering system that transforms natural language prompts into production-ready code. Built with Next.js, Tailwind CSS, and Shadcn/UI, Lightning is optimized for Vercel, empowering developers to generate modern, secure, and scalable applications from simple instructions.
π Version: 3.5.0
π― Codename: Lightning
π¨βπ» Creator: Likhon Sheikh
Lightning revolutionizes full-stack development with natural language β code generation. It supports multiple AI providers (OpenAI, Together AI, Groq) and generates high-quality apps with strict standards across security, performance, SEO, and accessibility.
Tool | Use Case |
---|---|
Next.js | App Router, SSR, API Routes |
Tailwind CSS | Modern utility-first CSS |
Shadcn/UI | UI components |
TypeScript | Type safety, strict mode |
Supabase | Auth & Database |
Zod | Input validation |
React Query | Data fetching and caching |
NextAuth.js | Authentication flows |
Vercel | Serverless deployments + analytics |
- Node.js (v16+)
- npm or yarn
- Git
git clone https://github.com/likhonsheikh54/Lightning.git
cd Lightning
npm install
npm run dev
Visit http://localhost:3000
"Create a login page with email and password fields, using Shadcn/UI components and Tailwind CSS."
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
export const Login = () => {
return (
<div className="flex items-center justify-center min-h-screen bg-black">
<div className="p-6 bg-white rounded-lg shadow-lg border border-white/10">
<h1 className="text-2xl font-bold mb-4">Login</h1>
<Input type="email" placeholder="Email" className="mb-4" />
<Input type="password" placeholder="Password" className="mb-4" />
<Button variant="ghost">Login</Button>
</div>
</div>
);
};
Configure any or all:
OPENAI_API_KEY=your_openai_api_key
TOGETHER_API_KEY=your_together_api_key
GROQ_API_KEY=your_groq_api_key
File | Role |
---|---|
v0.txt |
Blueprint for folder structure & design rules |
system.txt |
System prompt behavior for secure output |
These files can be dynamically edited via GitHub and auto-loaded at runtime.
graph TD
A[User Prompt] --> B[AI Agent v0]
B --> C[Code Generation]
C --> D[Frontend: Next.js, Tailwind, Shadcn/UI]
C --> E[Backend: Next.js API Routes]
D --> F[Deployment: Vercel]
E --> F
G[Configuration: v0.txt, system.txt] --> B
/app β App Router pages
/api β API routes
/components β UI Components
/lib β Utilities
/hooks β Custom React hooks
/types β TypeScript interfaces/types
/utils β Common helpers
/public β Static assets
/styles β Global CSS
- Black background (
#000000
) - Rounded corners (β₯ 0.5rem)
- Responsive, dark mode, mobile-first
- Accessible (WCAG AA)
- OWASP Top 10
- Zod validation
- CSRF, CSP, rate limiting
- Metadata API
- robots.txt + sitemap
- Open Graph + Twitter cards
- JSON-LD schema
- Core Web Vitals
- Code splitting, lazy loading
- SSR and edge functions
- Image optimization
- Push to GitHub
- Connect GitHub to Vercel
- Add environment variables
- Deploy with 1-click
.github/workflows/deploy.yml
name: Deploy to Vercel
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
- name: Deploy to Vercel
run: npx vercel --token=${{ secrets.VERCEL_TOKEN }}
- Jest β unit tests
- React Testing Library β component tests
- Cypress β E2E testing
- Lighthouse β performance
- axe-core β accessibility
- Vercel Analytics
- Error & performance monitoring
- User analytics
- Fork the repo
- Create a feature branch
- Commit changes
- Open a PR
Join the dev circle:
- Telegram: t.me/likhonsheikh
- GitHub: github.com/likhonsheikh54
- Website: likhon.dev
MIT License β See LICENSE
file.
Just say the word β‘
Built with β€οΈ by Likhon Sheikh.