Skip to content

kredd2506/EIGHT-kiroween

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎱 EIGHT - Weather-Powered Life Oracle

"Shake the ball. The sky decides the answer."

EIGHT resurrects the Magic 8-Ball (1946) with actual intelligence. It combines weather data, location, time, and AI to give contextual, actionable answers. Ask a specific question? The ball flips to reveal one answer. Ask something vague? The ball dissolves into a three-card tarot spread.

✨ Features

  • Weather-Contextual Responses: All answers consider current weather conditions
  • Dual Response Types: Single answers for specific questions, three-card spreads for vague ones
  • Voice & Text Input: Ask questions via speech or typing
  • Shake Detection: Physical device shake or tap to trigger oracle
  • Custom Tarot Cards: Eight unique cards representing life domains
  • Mystical Oracle Voice: Poetic, actionable responses with weather metaphors

🚀 Quick Start

  1. Clone and install:

    git clone <your-repo-url>
    cd eight
    npm install
  2. Set up environment variables:

    cp .env.example .env
    # Add your OpenWeather API key to .env
  3. Run development server:

    npm run dev
  4. Open in browser: http://localhost:3000

🔑 API Keys

Required

Recommended

  • Brave Search API: Get key at brave.com/search/api
    • Enables real-time recommendations (restaurants, music, movies, places)
    • Falls back to deterministic algorithm if not configured

Optional

🃏 The Eight Cards

Card Domain Triggers
The Feast EAT "hungry", "eat", "food"
The Garment WEAR "wear", "dress", "clothes"
The Sound LISTEN "listen", "music", "podcast"
The Vision WATCH "watch", "movie", "show"
The Wanderer DO "do", "bored", "activity"
The Compass GO "go", "visit", "place"
The Chalice SIP "drink", "coffee", "tea"
The Hearth STAY "stay", "home", "cozy"

🎯 Usage Examples

Specific Questions (Single Answer):

  • "What should I eat?" → Ball flips with food suggestion
  • "What should I wear?" → Clothing guidance based on weather
  • "Where should I go?" → Location recommendation

Vague Questions (Three-Card Spread):

  • "I'm bored" → Three cards with different activity suggestions
  • "Help me decide" → Spread covering multiple life domains
  • "What should I do?" → Comprehensive guidance across domains

🛠️ Tech Stack

  • Frontend: React 18 + TypeScript + Vite
  • Styling: Tailwind CSS + Custom CSS
  • Animations: Framer Motion
  • APIs: OpenWeather, Brave Search, Browser APIs
  • AI Enhancement: MCP integration ready
  • Deployment: Vercel/Netlify ready

📱 Browser Support

  • Voice Input: Chrome, Edge, Safari (iOS 14.5+)
  • Shake Detection: Mobile browsers with DeviceMotion API
  • Geolocation: All modern browsers
  • Fallbacks: Text input and manual shake for unsupported features

🚀 Deployment

Vercel (Recommended)

npm i -g vercel
vercel
# Set environment variables in Vercel dashboard

Netlify

npm run build
# Upload dist/ folder to Netlify
# Set environment variables in Netlify dashboard

🎬 Demo

Live Demo | Demo Video

📄 License

MIT License - See LICENSE file for details.

🏆 Hackathon Categories

  • Primary: Resurrection (Magic 8-Ball reimagined)
  • Bonus: Frankenstein (Weather + Voice + AI + Tarot)

Built with ❤️ using Kiro spec-driven development.

Releases

No releases published

Packages

 
 
 

Contributors