A beautiful, simple AI chat mini app built with Next.js and thirdweb AI. This mini app provides an amazing chat interface powered by thirdweb's AI service, designed to run as a Base Mini App.
- 🤖 AI Chat Interface - Powered by thirdweb AI
- 🎨 Beautiful UI - Clean, modern design with smooth animations
- 📱 Mini App Ready - Built for Base Mini App ecosystem
- ⚡ Fast & Responsive - Optimized for mobile and desktop
- 🔒 Secure - Built with OnchainKit for secure wallet integration
- Node.js 18+
- A thirdweb API key
- Base Mini App environment (optional for development)
- Clone the repository:
git clone <your-repo-url>
cd thirdweb-ai-mini-app
- Install dependencies:
npm install
# or
yarn install
# or
pnpm install
- Set up environment variables:
cp .env.example .env.local
Add your thirdweb API key to .env.local
:
THIRDWEB_API_KEY=your_thirdweb_api_key_here
- Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 to see the app.
THIRDWEB_API_KEY
- Your thirdweb API key (required)NEXT_PUBLIC_URL
- Your app's URL (for production)
The app is configured in minikit.config.ts
for Base Mini App deployment. You can customize:
- App name and description
- Icons and splash screens
- Categories and tags
- Webhook URLs
- Framework: Next.js 15
- UI Library: Mantine
- Icons: Tabler Icons
- Blockchain: OnchainKit, Wagmi, Viem
- AI Service: thirdweb AI
- Styling: Custom CSS with animations
- Wallet Integration: Seamless wallet connection via OnchainKit
- AI Chat: Real-time AI conversations powered by thirdweb
- Responsive Design: Works perfectly on mobile and desktop
- Smooth Animations: Beautiful transitions and effects
- Error Handling: Robust error handling and user feedback
- Push your code to GitHub
- Connect your repository to Vercel
- Add your environment variables in Vercel dashboard
- Deploy!
- Configure your mini app settings in
minikit.config.ts
- Deploy to your preferred hosting platform
- Submit to Base Mini App directory
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- thirdweb for the amazing AI service
- OnchainKit for blockchain integration
- Mantine for the beautiful UI components
- Base for the Mini App platform
Built with ❤️ for the Base ecosystem