Skip to content

πŸ‰ An interactive RPG powered by AI, for the Supabase LW14 Hackaton

License

Notifications You must be signed in to change notification settings

Steellgold/imagine.place

Repository files navigation

Chronicles of Destiny: Interactive Storytelling Platform πŸ“š

This interactive storytelling platform enables players to create and play through AI-generated narrative adventures ✨. The application leverages modern web technologies to provide an immersive experience where players' choices influence the direction and outcome of their unique stories πŸ›€οΈ.

Demo video - Website URL (plz no spam πŸ˜‚)

Tech Stack πŸ› οΈ

Frontend πŸ’»

  • Next.js 15 - React framework with App Router πŸ”„
  • React 19 - JavaScript library for building user interfaces βš›οΈ
  • TypeScript - Static type checking πŸ“
  • Tailwind CSS 4 - Utility-first CSS framework 🎨
  • shadcn/ui - Reusable UI components built with Radix UI 🧩
  • next-intl - Internationalization for Next.js (English and French support) 🌍
  • Lucide React - Icon library πŸ”£

Backend πŸ—οΈ

  • Supabase ⚑
    • Authentication (Discord OAuth) πŸ”
    • Storage (for image hosting) πŸ–ΌοΈ
    • Database πŸ’Ύ
    • Edge Functions for AI stories generations πŸš€
  • Prisma and Supabase JS SDK πŸ”Œ
  • Next.js Server Actions - For handling server-side logic πŸ–₯️

AI Features πŸ€–

  • OpenAI API 🧠
    • DALL-E 3 - For generating scene images and story covers 🎭
  • AI SDK - Interface for AI-assisted content creation with schemas πŸ“‹
    • OpenAI integration πŸ”„

Environment & Configuration βš™οΈ

  • Server-only enforced environment variables πŸ”’
  • zod - Runtime validation of environment variables and data βœ…

Key Features πŸ”‘

  • Interactive Storytelling: Dynamic narrative progression based on player choices πŸ“–
  • AI-Generated Content: Stories, scenes, and images created using AI 🎨
  • Genre Selection: Players can select from multiple genres πŸ“š
  • Dice Rolling: Random elements affecting story outcomes 🎲
  • Multilingual Support: English and French interfaces 🌐
  • Visual Theming: Dynamic theming with dark/light mode and visual effects πŸŒ“
  • Progress Tracking: Save and continue stories at any point πŸ’Ύ

Authentication πŸ”

  • The application uses Supabase Authentication with Discord OAuth for user login and session management, with custom middleware for session validation and user creation πŸ‘€

Internationalization 🌍

  • The application supports English and French languages using next-intl, with locale detection from browser preferences and persistent language selection πŸ—£οΈ

Deployment πŸš€

  • Vercel β–²

Chronicles of Destiny Β© 2025 by GaΓ«tan Huszovits is licensed under License: CC BY-NC 4.0

About

πŸ‰ An interactive RPG powered by AI, for the Supabase LW14 Hackaton

Resources

License

Stars

Watchers

Forks

Sponsor this project