Skip to content
Kashan-2912Public

About

A Fantasy GitHub representation via activity of github account. Made by devs for devs

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

36 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

89 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ‰ GitQuest

Summon the Creature Behind Your Code

CI License: MIT Next.js TypeScript

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.

GitQuest Banner

โœจ Features

  • ๐ŸŽจ 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

๐Ÿ› ๏ธ Tech Stack

  • 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

๐Ÿš€ Getting Started

Prerequisites

  • 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)

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/gitquest.git
cd gitquest
  1. Install dependencies:
npm install
  1. 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
  1. Set up the database:
npx drizzle-kit push
  1. Run the development server:
npm run dev
  1. Open http://localhost:3000 in your browser

๐Ÿ“ Project Structure

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

๐ŸŽฎ How It Works

  1. Enter a GitHub username: Submit any GitHub profile URL or username
  2. Fetch Contributions: The app queries the GitHub API for contribution count
  3. 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
  4. Storage: Creature image is stored in Vercel Blob and metadata in Neon database
  5. Display: View your creature with beautiful 3D effects and share with others

๐ŸŽฏ Contribution Tiers

  • 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)

๐Ÿ“› GitHub README Widget

Showcase your GitQuest creature on your GitHub profile! Add this to your README:

[![GitQuest Creature](https://gitquest.is-a.software/api/widget/YOUR_USERNAME)](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.

๐Ÿค Contributing

Contributions are welcome! Feel free to:

  • Report bugs
  • Suggest new features
  • Submit pull requests
  • Improve documentation

๐Ÿ“œ License

This project is open source and available under the MIT License.

๐Ÿ”— Links

๐Ÿ™ Acknowledgments

  • 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

Star History

Star History Chart

About

A Fantasy GitHub representation via activity of github account. Made by devs for devs

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

36 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages