
mcptest_tarotsnap
A mystical tarot card reading web application built with Next.js and Tailwind CSS
Repository Info
About This Server
A mystical tarot card reading web application built with Next.js and Tailwind CSS
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
# TarotSnap **๐ LIVE & FULLY OPERATIONAL:** https://tarot-snap.vercel.app A modern AI-powered tarot card reading web application with an Agatha Harkness-inspired dark witchcraft theme. Features OpenRouter AI integration for authentic mystical readings using Llama 3.1-8B-Instruct. **โจ Experience the future of tarot:** An AI spiritual advisor that remembers your journey and provides increasingly personalized guidance over time. ## ๐ฏ **Current Status - January 2025** **โ FULLY FUNCTIONAL & PUBLICLY ACCESSIBLE** - Complete end-to-end tarot reading experience - AI-powered interpretations with contextual chat - Rate limiting (3 readings + 10 follow-ups daily) - Comprehensive analytics tracking - Authentication system with mystical theming - 100% responsive design (desktop, tablet, mobile) **๐งช THOROUGHLY TESTED:** Complete user journey verified with browser automation testing ## Quick Start ### ๐ **Try It Live** Visit **https://tarot-snap.vercel.app** - no setup required! ### ๐ ๏ธ **Local Development** 1. Clone the repository: ```bash git clone https://github.com/yourusername/TarotSnap.git cd TarotSnap ``` 2. Install dependencies: ```bash npm install ``` 3. Set up environment variables: ```bash cp .env.example .env.local # Add your OPENROUTER_API_KEY to .env.local ``` 4. Run the development server: ```bash npm run dev ``` 5. Open [http://localhost:3000](http://localhost:3000) in your browser ## โจ **Core Features** ### **๐ฎ AI-Powered Readings** - Authentic tarot interpretations using OpenRouter AI with Llama 3.1-8B-Instruct - 99% cost savings compared to premium AI models while maintaining quality - Multiple interpretation sections: Guidance, Energy, Timeframe ### **๐ญ Interactive Experience** - Mystical card selection with smooth reveal animations - Step-by-step reading flow: Question โ Draw โ Card Reveal โ Interpretation - Beautiful Agatha Harkness-inspired dark theme with gold accents ### **๐ค AI Oracle Chat** - Context-aware follow-up conversations - AI remembers your original question and card drawn - Natural, mystical language that feels authentic - Deeper exploration of your reading's meaning ### **๐ Freemium Business Model** - 3 free readings per day + 10 follow-up questions - Rate limiting with upgrade path to unlimited access - Analytics tracking for conversion optimization ### **๐จ Beautiful Design** - Responsive design optimized for all devices - Mystical particles and scrolling symbol animations - High contrast readability with professional UI/UX - Custom mystical color palette (navy/gold theme) ## ๐ช **Reading Experience** 1. **Question Input**: Ask the universe for guidance on any topic 2. **Card Drawing**: Mystical card selection from the complete tarot deck 3. **Card Reveal**: Smooth animation reveals your chosen card with imagery 4. **AI Interpretation**: Personalized reading with multiple insight sections 5. **Follow-up Chat**: Natural conversation with the AI Oracle for deeper understanding 6. **Reading Memory**: Coming soon - AI remembers your spiritual journey ## ๐ ๏ธ **Technologies** ### **Frontend** - **Next.js 14**: React framework with App Router for modern web development - **TypeScript**: Type-safe, scalable development - **Tailwind CSS**: Utility-first styling with custom mystical theme - **Shadcn/UI**: Modern component library built on Radix UI - **Framer Motion**: Smooth animations and transitions ### **Backend & AI** - **OpenRouter API**: AI service with multiple model options (Llama 3.1-8B-Instruct) - **Supabase**: Authentication and database for user management - **Next.js API Routes**: Server-side logic and AI integration ### **Deployment & Analytics** - **Vercel**: Production deployment platform optimized for Next.js - **Google Analytics 4**: Comprehensive user behavior tracking - **Custom Analytics**: Reading completion, chat engagement, conversion events ## ๐ **Project Structure** ``` TarotSnap/ โโโ app/ # Next.js 14 App Router โ โโโ page.tsx # Landing page with question input โ โโโ reading/single/page.tsx # Single card reading interface โ โโโ api/reading/route.ts # OpenRouter AI integration endpoint โ โโโ components/ # React components โ โ โโโ reading/ # Reading-specific components โ โ โโโ ui/ # Reusable UI components โ โโโ data/cards.ts # Tarot card definitions and metadata โ โโโ layout.tsx # Root layout with SEO and analytics โ โโโ robots.ts # Dynamic robots.txt generation โ โโโ sitemap.ts # Dynamic sitemap generation โโโ lib/ # Utility functions and services โ โโโ openrouter.ts # OpenRouter AI client configuration โ โโโ prompt-templates.ts # AI prompts for authentic readings โ โโโ analytics.ts # Google Analytics integration โ โโโ services/ # Business logic services โโโ docs/ # Comprehensive project documentation โโโ public/ # Static assets including card images โโโ middleware.ts # Authentication and route protection ``` ## ๐งช **Development** ### **Testing** Run the test suite: ```bash npm test ``` Watch mode: ```bash npm run test:watch ``` ### **Quality Assurance** - โ Complete browser automation testing with Playwright - โ End-to-end user journey verification - โ Cross-device responsiveness testing - โ AI response quality validation - โ Rate limiting and analytics verification - โ Automated image validation (`npm run check:images`) ## ๐ **Analytics & Business Intelligence** ### **Tracking Events** - Reading completions and user engagement - Chat interactions and session duration - Rate limit encounters (premium conversion signals) - User journey funnel analysis - Technical performance metrics ### **Business Metrics** - Daily/Monthly Active Users - Reading completion rates - Premium conversion indicators - User retention patterns ## ๐จ **Custom Mystical Theme** The application features a carefully crafted **Agatha Harkness-inspired** aesthetic: - **Color Palette**: Deep navy blues with mystical gold accents - **Typography**: Clean, readable fonts with magical flourishes - **Animations**: Subtle mystical particles and symbol scrolling - **Visual Elements**: Witchcraft symbols, runes, and tarot imagery - **Interaction Design**: Smooth transitions that enhance the mystical experience ## ๐ **Recent Achievements (January 2025)** - โ **Public Launch**: Fully accessible at https://tarot-snap.vercel.app - โ **Complete Testing**: End-to-end user journey verified - โ **Analytics Integration**: Google Analytics 4 operational - โ **SEO Foundation**: Dynamic robots.txt, sitemap, structured data - โ **Performance Optimization**: Fast loading, smooth AI responses - โ **Rate Limiting**: Freemium model working for conversion ## ๐ฎ **Future Vision - The Remembering Reader** TarotSnap is evolving beyond one-off readings to become a **personal spiritual advisor with memory**: ### **Planned Features (2025)** - **Reading History**: Personal spiritual journey tracking - **AI Memory System**: Contextual readings that build upon your past - **Relationship Building**: AI that grows with your spiritual evolution - **Advanced Spreads**: Celtic Cross, relationship readings, and more - **Premium Insights**: Enhanced AI personalities and deeper analysis ## ๐ **License** This project is licensed under the [MIT License](LICENSE). ## ๐ **Support & Troubleshooting** ### **Common Issues** 1. **Slow loading**: Clear browser cache and reload 2. **AI responses**: Ensure stable internet connection 3. **Rate limiting**: Free tier includes 3 readings + 10 questions daily 4. **Mobile issues**: Refresh page, check latest browser version ### **Technical Requirements** - Node.js 18+ for local development - Modern browser (Chrome, Firefox, Safari, Edge) - Stable internet connection for AI features ### **Getting Help** - Check existing documentation in `/docs` - Review troubleshooting guides - Report issues via GitHub Issues --- **๐ Experience the magic of AI-powered tarot at https://tarot-snap.vercel.app** *Transform your spiritual journey with an AI that remembers.*
Quick Start
Clone the repository
git clone https://github.com/peelchann/mcptest_tarotsnapInstall dependencies
cd mcptest_tarotsnap
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.