Skynet AI is a full-featured AI SaaS platform that bundles five generation tools behind one clean dashboard. Chat with an AI assistant, generate code, create images, compose music, or produce video — all in one place. New users get a free trial quota, and a Pro subscription (billed through Stripe) unlocks unlimited usage.
- 💬 Conversation — chat with an AI assistant
- 👨💻 Code generation — generate code snippets with Markdown rendering
- 🖼️ Image generation — create images from text prompts
- 🎵 Music generation — turn prompts into audio
- 🎬 Video generation — generate short video clips
- 🎚️ Free-tier counter — track remaining free generations
- 💳 Pro subscription — unlimited access via Stripe billing
- 🔐 Authentication — managed sign-in/sign-up with Clerk
- 🛟 Live support — built-in Crisp customer chat
| Layer | Technologies |
|---|---|
| Framework | Next.js (App Router), React, TypeScript |
| Auth | Clerk |
| AI | OpenAI, Replicate |
| Database | Prisma ORM |
| State | Zustand |
| Payments | Stripe |
| Support | Crisp |
| UI | Tailwind CSS, Radix UI, shadcn/ui, Lucide |
- Node.js 18+ and npm
- A database supported by Prisma
- Accounts for: Clerk, OpenAI, Replicate, Stripe
# 1. Clone the repository
git clone https://github.com/Keshavkumar04/Skynet.git
cd Skynet
# 2. Install dependencies
npm install
# 3. Set up environment variables (see below)
cp .env.example .env
# 4. Apply the database schema
npx prisma db push
# 5. Start the dev server
npm run devOpen http://localhost:3000 in your browser.
Create a .env file in the project root (confirm exact key names against the source):
DATABASE_URL=""
# Clerk
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=""
CLERK_SECRET_KEY=""
# AI providers
OPENAI_API_KEY=""
REPLICATE_API_TOKEN=""
# Stripe
STRIPE_API_KEY=""
STRIPE_WEBHOOK_SECRET=""
# App
NEXT_PUBLIC_APP_URL="http://localhost:3000"
# Crisp support chat
NEXT_PUBLIC_CRISP_WEBSITE_ID=""| Command | Description |
|---|---|
npm run dev |
Start the development server |
npm run build |
Build for production |
npm run start |
Run the production build |
npm run lint |
Lint the codebase |
Skynet/
├── app/
│ ├── (auth)/ # Clerk sign-in / sign-up
│ ├── (dashboard)/ # Tool routes: code, conversation, image, music, video
│ ├── (landing)/ # Marketing landing page
│ └── api/ # Generation endpoints + Stripe webhook
├── components/ # UI components (incl. shadcn/ui)
├── hooks/ # Custom hooks (pro modal, etc.)
├── lib/ # API limits, Stripe, subscription, Prisma
└── prisma/ # Database schema
Built with ⚡ by Keshav Kumar