peelchann
MCP Server
peelchann
public

mcptest_tarotsnap

A mystical tarot card reading web application built with Next.js and Tailwind CSS

Repository Info

2
Stars
0
Forks
2
Watchers
20
Issues
TypeScript
Language
MIT License
License

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

1

Clone the repository

git clone https://github.com/peelchann/mcptest_tarotsnap
2

Install dependencies

cd mcptest_tarotsnap
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerpeelchann
Repomcptest_tarotsnap
Language
TypeScript
LicenseMIT License
Last fetched8/8/2025

Recommended MCP Servers

๐Ÿ’ฌ

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
๐Ÿ”—

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
๐Ÿ•ท๏ธ

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
๐ŸŒ

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers
โšก

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation