Skip to content

Pratham-Prog861/ai-quote-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

✨ AuraQuote: The AI Wisdom Engine

AuraQuote is a premium, full-stack AI quote generator designed to inspire and elevate. Built with a modern event-driven architecture, it combines the analytical power of Google Gemini AI with a cinematic, glassmorphic user interface.

🚀 Features

  • Neural Synthesis: Quotes generated in real-time by Google Gemini 2.5 Flash.
  • Cinematic UI: A state-of-the-art glassmorphic design built with Tailwind CSS v4 and Framer Motion.
  • Hybrid Persistence: Dual-layer storage using Redis (via Motia.dev) and a local binary fallback for 100% uptime.
  • Optimistic Interactions: Instant "Like" feedback and asynchronous architectural syncing.
  • Deep Exploration: Built-in showcase sections for different philosophical categories.

🛠️ Tech Stack

  • Frontend: Next.js 15 (App Router), TypeScript, Framer Motion, Lucide React.
  • Styling: Tailwind CSS v4 (Modern Design Tokens).
  • Backend Engine: Motia.dev (High-performance event-driven framework).
  • AI Engine: Google Generative AI (Gemini).
  • Infrastructure: Docker & Redis.

🏁 Getting Started

1. Prerequisites

  • Node.js: v18 or higher.
  • Docker: For running the Redis event bus.
  • Gemini API Key: Get one from the Google AI Studio.

2. Infrastructure Setup

AuraQuote uses Redis to handle high-concurrency event syncing. Start the container:

docker run -d -p 6379:6379 redis:latest

3. Server Configuration

Navigate to the server/ directory and configure your environment:

cd server
npm install

Create a .env file in server/:

GEMINI_API_KEY=your_actual_key_here
MOTIA_DISABLE_MEMORY_SERVER=false
MOTIA_REDIS_HOST=localhost
MOTIA_REDIS_PORT=6379

Start the backend:

npm run dev

4. Client Setup

Open a new terminal, navigate to the client/ directory:

cd client
npm install

create .env.local file in client/ directory

NEXT_PUBLIC_API_URL=http://localhost:3001

Start the frontend:

npm run dev

📜 License

MIT License - Created with ❤️ by the Pratham Darji

About

AuraQuote is a premium, full-stack AI quote generator designed to inspire and elevate. Built with a modern event-driven architecture, it combines the analytical power of Google Gemini AI with a cinematic, glassmorphic user interface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors