Skip to content

tushargr0ver/genie

Repository files navigation

🧞 Genie

Your Unified AI Assistant for smarter conversations with multiple AI models.

License: MIT
Vercel Deploy
Last Commit


✨ Overview

Genie is a powerful, open-source AI assistant chatbot that connects you with multiple LLMs (Large Language Models) — all in one place.
Built with Next.js 14, NeonDB, TypeScript, and Vercel AI SDK, it delivers a mobile-responsive, dark mode-friendly, unified AI interface that scales.

🔗 Live Demo: trygenie.xyz


🔥 Features

  • 🔥 Unified AI Interface: Access OpenRouter, OpenAI, and Gemini APIs seamlessly.
  • 📱 Mobile Responsive: Fully optimized for phones, tablets, and desktops.
  • 🌑 Dark Mode: Smooth, native dark mode UI.
  • Advanced Reasoning: Intelligent, deep conversation flows.
  • 🔎 Real-Time Search: Find conversations instantly.
  • 🔐 Secure OAuth: Sign in with Google or GitHub (via NextAuth).
  • 🎯 Credit-Based System: 10 Free Credits + Earn More Through Rewards.
  • 🛡️ MIT Licensed: Use, modify, and distribute freely.
  • 💻 Markdown Rendering: Support for different programming languages and styling in chat.
  • 🧠 Improved Prompting: Fine-tuning the prompt system for enhanced performance and user experience.

🧠 Available AI Models

  • GPT 3.5 Turbo
  • GPT 4o Mini
  • GPT 4.1 Nano
  • GPT 4.1 Mini
  • o1 Mini
  • o3 Mini
  • o4 Mini
  • Gemini 2.5 Pro
  • Gemini 2.0 Flash / Flash Lite
  • Gemini 1.5 Flash / Flash 8B
  • Gemini 1.5 Pro
  • Meta Llama 4 Scout
  • Meta Llama 4 Maverick
  • Meta Llama 3.3 70B Instruct
  • Qwen2.5 Coder 32B Instruct
  • DeepSeek V3

(More models added regularly!)


⚙️ Tech Stack


🚀 Installation & Local Setup

Follow these simple steps to run Genie locally:

1. Clone the repository

git clone https://github.com/tushargr0ver/genie.git

2. Move into the project folder

cd genie

3. Install dependencies

npm install

(or use pnpm install / yarn install)

4. Set up environment variables

Create a .env.local file:

touch .env.local

Add the following:

AUTH_SECRET=your_auth_secret
AUTH_GOOGLE_ID=your_google_oauth_id
AUTH_GOOGLE_SECRET=your_google_oauth_secret
DATABASE_URL=your_database_connection_url
OPENAI_API_KEY=your_openai_api_key
GOOGLE_GENERATIVE_AI_API_KEY=your_google_genai_api_key
AUTH_GITHUB_ID=your_github_oauth_id
AUTH_GITHUB_SECRET=your_github_oauth_secret
OPENROUTER_API_KEY=your_openrouter_api_key

5. Run the development server

npm run dev

Go to http://localhost:3000 🚀


🎯 Credit System

  • 1 Credit = 1 Message to any LLM.
  • Free Bonus: 10 Credits on Signup.
  • Earn More: Complete small tasks like:
    • ⭐ Follow on GitHub
    • 🤝 Connect on LinkedIn
    • 🐦 Follow on X (Twitter)
    • 📢 Share Genie with friends
  • (Each task gives +5 credits — one-time per user.)

🛣️ Roadmap

  • 💳 Add payments to buy credits.
  • 🗂️ Create multiple "New Chats."
  • 📸 Improve multimedia (images, documents, etc).
  • 🧠 Smarter search and better reasoning.
  • 🚀 Add even more AI models.

🤝 Contributing

We welcome contributions! 🚀

  • Fork the repository.
  • Create a new branch (git checkout -b feature/yourFeature).
  • Commit your changes (git commit -m 'Add your feature').
  • Push to the branch (git push origin feature/yourFeature).
  • Open a Pull Request.

📜 License

This project is licensed under the MIT License.
Genie is fully open-source. Build with it, fork it, improve it. 🌟


🙌 Connect with the Creator

Made with ❤️ by Tushar Grover


About

Genie is an open-source AI assistant chatbot integrating multiple language models, offering advanced reasoning, dark mode, markdown rendering, and a credit-based system for interactive conversations.

Topics

Resources

License

Stars

Watchers

Forks

Contributors