MCPcopy Index your code
hub / github.com/Arindam200/logo-ai

github.com/Arindam200/logo-ai @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
54 symbols 218 edges 49 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

LogoAI - AI-Powered Logo Generator

LogoAI

LogoAI is a modern web application that leverages artificial intelligence to generate unique, professional logos. Built with Next.js, TypeScript, and powered by Nebius AI, it offers a seamless experience for creating custom logos for businesses and personal brands.

Features

  • AI-Powered Logo Generation: Create unique logos using advanced AI models
  • Multiple AI Models: Choose between different AI models including FLUX and Stability AI SDXL
  • Rate Limiting: Limited to 10 logo generations per month per user
  • Customization Options:
  • Multiple style presets (Minimal, Tech, Corporate, Creative, Abstract, Flashy)
  • Custom color selection
  • Various size options (256x256, 512x512, 1024x1024)
  • Quality settings (Standard, HD)
  • User History: Track and manage previously generated logos
  • Public Gallery: Browse logos created by other users
  • Secure Authentication: User authentication powered by Clerk
  • Database Integration: PostgreSQL with Drizzle ORM for reliable data storage

Tech Stack

  • Frontend: Next.js, TypeScript
  • Styling: Tailwind CSS, Shadcn UI
  • Authentication: Clerk
  • Database: PostgreSQL (NeonDB)
  • Rate Limiting: Upstash Redis
  • ORM: Drizzle ORM
  • AI Integration: Nebius AI
  • Animations: Framer Motion
  • Analytics: Umami
  • Deployment: Vercel
  • Observibility: Helicone

Getting Started

Prerequisites

Before you begin, you'll need to create accounts and obtain API keys from the following services:

Environment Variables

Create a .env.local file in the root directory with the following variables:

# Database (from NeonDB)
POSTGRES_URL=your_postgres_connection_string

# AI (from Nebius AI Studio)
NEBIUS_API_KEY=your_nebius_api_key

# Auth (from Clerk Dashboard)
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key

# Rate Limiting (from Upstash)
UPSTASH_REDIS_REST_URL=your_upstash_redis_url
UPSTASH_REDIS_REST_TOKEN=your_upstash_redis_token

# Observability (from Helicone)
HELICONE_API_KEY=your_helicone_api_key

# Development
NEXT_PUBLIC_DEVELOPMENT_URL=http://localhost:3000

Installation

  1. Clone the repository:
git clone https://github.com/Arindam200/logo-ai.git
cd logo-ai
  1. Install dependencies:
npm install
# or
yarn install
  1. Run database migrations:
npm run db:migrate
# or
yarn db:migrate
  1. Start the development server:
npm run dev
# or
yarn dev
  1. Open http://localhost:3000 with your browser to see the result.

Docker Deployment

  1. Build the Docker Compose image:
# Start all services in detached mode
docker compose up -d --build

# Check logs
docker compose logs -f app

# Check http://localhost:3000
  1. Or, build the Docker image and run the container:
# 1. Build the Docker image
docker build -t logoai .

# 2. Run the container
docker run -p 3000:3000 \
  -e NEBIUS_API_KEY=$NEBIUS_API_KEY \
  -e NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=$NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY \
  -e CLERK_SECRET_KEY=$CLERK_SECRET_KEY \
  logoai

# Check http://localhost:3000

Project Structure

├── app/
│   ├── actions/        # Server actions
│   ├── gallery/        # Public gallery page
│   ├── generate/       # Logo generation page
│   ├── history/        # User history page
│   └── page.tsx        # Landing page
├── components/         # UI components
├── db/
│   ├── index.ts        # Database configuration
│   └── schema.ts       # Database schema
├── lib/
│   ├── domain.ts       # Domain configuration
│   └── upstash.ts      # Rate limiting configuration
├── public/            # Static assets
└── middleware.ts      # Rate limiting middleware

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed - see the LICENSE file for details.

Acknowledgments

Special thanks to:

  • Nebius AI for powering our logo generation with their cutting-edge AI models and generous free credits
  • Aman Bairagi for his contributions to the UI design.

Support

For support, please open an issue in the GitHub repository or contact the maintainers.

Extension points exported contracts — how you extend this code

LogoCardProps (Interface)
(no doc)
components/logo-card.tsx
TextProps (Interface)
(no doc)
components/fancy/letter-swap-forward-anim.tsx
LogoImageProps (Interface)
(no doc)
components/ui/logo-image.tsx
State (Interface)
(no doc)
hooks/use-toast.ts
AnimatedShinyTextProps (Interface)
(no doc)
components/ui/animated-shiny-text.tsx
ButtonProps (Interface)
(no doc)
components/ui/button.tsx
BadgeProps (Interface)
(no doc)
components/ui/badge.tsx

Core symbols most depended-on inside this repo

cn
called by 40
lib/utils.ts
toast
called by 11
hooks/use-toast.ts
dispatch
called by 5
hooks/use-toast.ts
useCarousel
called by 4
components/ui/carousel.tsx
useToast
called by 4
hooks/use-toast.ts
downloadImage
called by 3
app/actions/actions.ts
mergeTransition
called by 2
components/fancy/letter-swap-forward-anim.tsx
addToRemoveQueue
called by 2
hooks/use-toast.ts

Shape

Function 47
Interface 7

Languages

TypeScript100%

Modules by API surface

hooks/use-toast.ts9 symbols
components/fancy/letter-swap-forward-anim.tsx4 symbols
app/actions/actions.ts4 symbols
app/history/page.tsx3 symbols
app/gallery/page.tsx3 symbols
components/ui/logo-image.tsx2 symbols
components/ui/badge.tsx2 symbols
components/ui/animated-shiny-text.tsx2 symbols
components/logo-card.tsx2 symbols
app/generate/page.tsx2 symbols
lib/utils.ts1 symbols
components/ui/toaster.tsx1 symbols

Datastores touched

logoaiDatabase · 1 repos

For agents

$ claude mcp add logo-ai \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact