Next.js Clerk Shadcn Starter with OpenRouter LLM Integration
Welcome to the Next.js Clerk Shadcn Starter with OpenRouter LLM Integration! This project combines the power of Next.js, Clerk, Shadcn UI, and OpenRouter to provide a seamless and intelligent conversational experience.
π Overview
This template is based on two primary sources:
β¨ Features
- Next.js: A powerful React framework for building server-side rendered and statically generated web applications.
- Clerk: Provides user authentication and management.
- Shadcn UI: A collection of accessible and customizable UI components.
- OpenRouter: Integration with OpenRouter API for access to cutting-edge Large Language Models (LLMs).
- Tailwind CSS: A utility-first CSS framework for rapid UI development.
- TypeScript: A statically typed superset of JavaScript.
π οΈ Tech Stack
- Next.js: Version 13+
- React: Version 18+
- TypeScript
- Tailwind CSS
- Clerk
- Shadcn UI
- OpenRouter API
π₯οΈ Getting Started
Prerequisites
- Node.js (v14 or later)
- npm or yarn
- An OpenRouter API key
Installation
- Clone the repository:
- Install dependencies:
- Set up environment variables:
- Run the development server:
git clone https://github.com/your-username/next-clerk-shadcn-starter.git
cd next-clerk-shadcn-starter
npm install
# or
yarn install
Copy .env.example
to .env.local
and fill in your OpenRouter API key and other required variables.
npm run dev
# or
yarn dev
Open http://localhost:3000 in your browser to see the application.
π₯οΈ Usage
- Enter your message in the chat input field.
- Press "Send" or hit Enter to submit your message.
- The AI will process your input and provide a response.
- Continue the conversation as desired.
π Deployment
This project is set up for easy deployment on Vercel:
- Push your code to a GitHub repository.
- Connect your GitHub account to Vercel.
- Select the repository and configure your environment variables.
- Deploy!
For more detailed instructions, check out the Next.js deployment documentation.
π€ Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
π License
This project is MIT licensed.
π Acknowledgements
π Demo
Check out the live demo: Demo Link
π Special Thanks
A heartfelt thank you to Sharon for her incredible work on the OpenRouter LLM Integration. Your contributions have been invaluable to this project!
Made with β€οΈ by Cyril Monkewitz