Skip to content

Repository files navigation

Questr ⚔️

Framework Database Language Styling Ownership

Forge Your Path. Master Your Life.

Questr is a high-fidelity productivity RPG that transforms real-world ambitions into an epic adventure. By merging university-grade curriculum design with deep gamification mechanics and Large Language Models (LLMs), Questr converts vague goals into actionable "Legends"—persistent, immersive learning paths that adapt to your progress.

This is the Open Source version so all LLM prompts have been stripped away. Set up your own however you like.


🏛️ Project Vision

Questr is built on the philosophy that self-improvement shouldn't feel like a chore. We use a trio of AI personas to guide the user:

  • The Dean: Architect of your curriculum.
  • The Oracle: Your interactive mentor and tutor.
  • The Dungeon Master: Narrator of your RPG milestones and dungeon runs.

✨ Key Features

🧠 AI-Driven Intelligence

  • Legend Forging: Converts any high-level goal (e.g., "Learn Quantum Physics") into a multi-module syllabus.
  • The Oracle: A streaming, context-aware AI tutor that provides guidance based on your specific quests and history.
  • Quiz-Combat: Module-end "Boss Fights" where combat is driven by your knowledge of the learned material.

🎮 Immersive Gamification

  • 3D Hero System: Custom 3D avatars powered by React Three Fiber that reflect your equipped gear.
  • Companion System: Adopt and raise pets whose well-being is directly tied to your real-world consistency.
  • Dungeon Engine: Procedural text-RPG adventures where you spend earned resources for rare loot.
  • Seeded Maps: Every journey generates a unique, persistent world map visual.

🛠️ Professional Infrastructure

  • Secure Economy: Multi-currency system (Gold, AP, Keys) managed via secure, atomic server-side transactions.
  • Business Ready: Integrated Stripe checkout, recurring subscriptions, and a self-service billing portal.
  • Native Feel: A high-performance PWA with offline support and real-time notifications.

🛠️ Technology Stack

Frontend

  • Framework: Next.js 16 (App Router)
  • 3D Engine: React Three Fiber / Drei
  • State: Server Components + Optimistic Client State
  • Validation: Zod + React Hook Form
  • Styling: Tailwind CSS 4 + Shadcn/UI + Framer Motion

Backend (Supabase)

  • Database: PostgreSQL with advanced RLS and custom Triggers
  • Logic: TypeScript Edge Functions (Deno)
  • Auth: Supabase Auth with Turnstile protection
  • Realtime: Postgres Changes for sync & notifications

AI Layer

  • Engine: Google Gemini 2.5 (Pro & Flash)
  • Capabilities: JSON-Mode generation, character-stream chat, and high-quality TTS

📖 Internal Documentation

For a deep dive into the architecture, data models, and feature implementations, please refer to our internal documentation hub:

👉 Questr Technical Documentation Hub

Includes:


🎨 Credits & Assets

  • 3D/2D Assets: Kenney.nl (CC0)
  • Icons: Lucide React
  • Typeface: Geist & Geist Mono

🔒 License & Ownership

Copyright © 2026 Nemetix. All rights reserved.

About

Open source version of Questr

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages