Skip to content

pralaynaskar/Nebula-Chat

Repository files navigation

Nebula Chat

Nebula Chat is a modern, multi-modal AI chat application built with Next.js and Genkit. It allows users to have conversations with Google's Gemini models and manage their chat history.

Features

  • Multi-Modal Conversations: Chat with text or upload images for context.
  • Conversation History: All your chats are saved locally and can be accessed from the sidebar.
  • Chat Management: Rename or delete conversations to keep your history organized.
  • Sleek UI: A modern, dark-themed interface built with ShadCN UI and Tailwind CSS.

Tech Stack


Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Installation & Setup

  1. Clone the repository:

    git clone https://github.com/pralaynaskar/nebula-chat.git
    cd nebula-chat
  2. Install dependencies:

    npm install
  3. Set up environment variables: Create a file named .env in the root of your project directory and add your Google AI API key.

    GOOGLE_API_KEY=your_api_key_here
    
  4. Run the application: You need to run two processes in separate terminals.

    • Terminal 1: Start the Genkit AI flows: This command starts the Genkit development server, which handles the AI logic.

      npm run genkit:watch
    • Terminal 2: Start the Next.js development server: This command starts the frontend application.

      npm run dev
  5. Open in browser: Once both servers are running, open http://localhost:9002 in your browser to see the application.

Available Scripts

  • npm run dev: Runs the Next.js application in development mode with Turbopack.
  • npm run genkit:dev: Starts the Genkit server once.
  • npm run genkit:watch: Starts the Genkit server and watches for file changes.
  • npm run build: Creates a production-ready build of the Next.js application.
  • npm run start: Starts the production server for the built application.
  • npm run lint: Lints the codebase using Next.js's built-in ESLint configuration.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages