Summon the Creature Behind Your Code
Live Demo ยท Roadmap ยท Contributing
GitQuest transforms your GitHub profile into a unique fantasy creature based on your contribution history. Using AI-powered generation, your coding journey comes to life as a D&D-inspired monster with visual power that reflects your contributions.
- ๐จ AI-Powered Creature Generation: Leverages Google's Gemini AI to create unique fantasy creatures based on GitHub contribution data
- ๐ Contribution-Based Tiers: Creatures scale from CR 0 (harmless vermin) to CR 20+ (legendary beings) based on contribution count
- ๐ Leaderboard: Compare your creatures with other developers
- ๐ค User Profiles: View individual developer profiles and their summoned creatures
- ๐ฒ Summoning System: Discover what creature embodies your coding spirit
- ๐ญ Beautiful 3D Effects: Interactive cards with liquid chrome, plasma, and light pillar effects
- ๐ Dark/Light Mode: Full theme support with next-themes
- ๐ GitHub README Widget: Embeddable SVG widget to showcase your creature on your GitHub profile
- Framework: Next.js 16 with App Router
- Language: TypeScript
- Styling: Tailwind CSS 4
- Database: Neon PostgreSQL with Drizzle ORM
- AI: Google Gemini 2.5 Flash Image
- Storage: Vercel Blob for creature images
- 3D Graphics: Three.js & OGL
- UI Components: Custom components built with Base UI primitives
- Forms: React Hook Form with Zod validation
- State Management: nuqs for URL state
- Node.js 20+ installed
- A GitHub account
- API keys for:
- Google Gemini AI (
GEMINI_API) - Neon PostgreSQL (
DATABASE_URL) - Vercel Blob Storage (
BLOB_READ_WRITE_TOKEN)
- Google Gemini AI (
- Clone the repository:
git clone https://github.com/yourusername/gitquest.git
cd gitquest- Install dependencies:
npm install- Set up environment variables:
Create a .env.local file in the root directory:
GEMINI_API=your_gemini_api_key
DATABASE_URL=your_neon_database_url
BLOB_READ_WRITE_TOKEN=your_vercel_blob_token- Set up the database:
npx drizzle-kit push- Run the development server:
npm run dev- Open http://localhost:3000 in your browser
gitquest/
โโโ app/ # Next.js app directory
โ โโโ [username]/ # Dynamic user profile pages
โ โโโ leaderboard/ # Leaderboard page
โ โโโ summon/ # Creature summoning page
โ โโโ page.tsx # Home page
โโโ components/ # React components
โ โโโ forms/ # GitHub form components
โ โโโ ui/ # Reusable UI components
โ โโโ creature-card.tsx # Creature display card
โ โโโ creatures-showcase.tsx
โ โโโ ... # 3D effects and visual components
โโโ db/ # Database configuration
โ โโโ schema.ts # Drizzle ORM schema
โ โโโ drizzle.ts # Database client
โโโ server/ # Server actions
โ โโโ ai.ts # AI generation logic
โ โโโ creatures.ts # Creature data operations
โโโ lib/ # Utility functions
- Enter a GitHub username: Submit any GitHub profile URL or username
- Fetch Contributions: The app queries the GitHub API for contribution count
- AI Generation: Google Gemini generates a unique D&D-inspired creature based on:
- Contribution count (determines Challenge Rating)
- Randomized selection from Monster Manual creatures
- Unique visual styling and effects
- Storage: Creature image is stored in Vercel Blob and metadata in Neon database
- Display: View your creature with beautiful 3D effects and share with others
- 0-49 contributions: CR 0 (Harmless/Vermin-tier)
- 50-150: CR 1/8โ1/4 (Minor threats)
- 151-300: CR 1/2โ1 (Novice adventurer)
- 301-750: CR 2โ4 (Competent)
- 751-1500: CR 5โ7 (Skilled)
- 1501-2500: CR 8โ10 (Veteran)
- 2501-4000: CR 11โ13 (Elite)
- 4001-5000: CR 14โ17 (Legendary)
- 5001+: CR 18โ30 (Mythic)
Showcase your GitQuest creature on your GitHub profile! Add this to your README:
[](https://gitquest.is-a.software/YOUR_USERNAME)Replace YOUR_USERNAME with your GitHub username. The widget automatically displays:
- Your creature's portrait
- Power tier and Challenge Rating
- Contribution count
- Dynamic color theming based on tier
Visit /widget to generate your personalized embed code.
Contributions are welcome! Feel free to:
- Report bugs
- Suggest new features
- Submit pull requests
- Improve documentation
This project is open source and available under the MIT License.
- D&D 5e Monster Manual for creature inspiration
- Next.js team for the amazing framework
- Google for Gemini AI
- Vercel for hosting and blob storage
- Neon for serverless PostgreSQL
Built with โค๏ธ for the developer community
