Skip to content

Hunter0Dev/monad-ecosystem-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒŒ Monad Element

An immersive 3D ecosystem explorer for the Monad blockchain

Monad Element Next.js Three.js TypeScript

โœจ Features

๐ŸŽฏ Core Functionality

  • 3D Monad Tunnel Visualization - Interactive particle system forming the iconic Monad shape
  • AI-Powered Search - Semantic search using Google Gemini 2.0 Flash
  • 305+ Ecosystem Projects - Comprehensive database of Monad ecosystem dApps
  • Real-time Interaction - Click on data markers to explore project details
  • Voice Commands - Navigate using voice
  • Hand Gestures - Control with hand tracking (Coming Soon)

๐ŸŽจ Visual Design

  • Holographic Tunnel Effect - Particles arranged in Monad's signature shape
  • Purple Gradient Theme - Monad brand colors (#831dff, #00ffff)
  • Smooth Animations - Butter-smooth 60fps Three.js rendering
  • Responsive UI - Works on desktop and mobile
  • Glassmorphism - Modern frosted glass UI elements

๐Ÿค– AI Integration

  • Hunter AI Assistant - Futuristic AI persona for search results
  • Semantic Understanding - Finds projects by concept, not just keywords
  • Smart Matching - "betting" โ†’ finds gambling, prediction markets, casino projects
  • JSON Data Processing - Optimized 305-project database

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+
  • Yarn or npm
  • Google Gemini API key

Installation

# Clone the repository
git clone <your-repo-url>
cd temp_app

# Install dependencies
yarn install

# Set up environment variables
cp .env.local.example .env.local
# Add your GEMINI_API_KEY to .env.local

# Run development server
yarn dev

Open http://localhost:3000 to see the magic! โœจ

๐Ÿ”ง Tech Stack

Frontend

  • Next.js 16.0 - React framework with Turbopack
  • React Three Fiber - Three.js for React
  • Three.js - 3D graphics library
  • TypeScript - Type-safe development
  • Tailwind CSS - Utility-first styling

AI & Data

  • Google Gemini 2.0 Flash - AI semantic search
  • JSON Database - 305 Monad ecosystem projects
  • Custom Tunnel Math - Monad shape positioning algorithms

UI Components

  • MonadScene - Main 3D canvas with tunnel particles
  • MonadParticles - Particle system forming tunnel shape
  • MonadLogo3D - Interactive 3D Monad logo core
  • SearchBar - AI-powered search interface
  • HunterAI - AI assistant popup
  • ResultsPanel - Project details display

๐Ÿ“ Project Structure

temp_app/
โ”œโ”€โ”€ app/
โ”‚   โ”œโ”€โ”€ page.tsx              # Main application
โ”‚   โ”œโ”€โ”€ layout.tsx            # Root layout
โ”‚   โ””โ”€โ”€ api/
โ”‚       โ””โ”€โ”€ gemini/
โ”‚           โ””โ”€โ”€ route.ts      # AI search API endpoint
โ”œโ”€โ”€ components/
โ”‚   โ”œโ”€โ”€ MonadScene.tsx        # 3D scene container
โ”‚   โ”œโ”€โ”€ MonadParticles.tsx    # Tunnel particle system
โ”‚   โ”œโ”€โ”€ MonadLogo3D.tsx       # 3D logo core
โ”‚   โ”œโ”€โ”€ SearchBar.tsx         # Search interface
โ”‚   โ”œโ”€โ”€ HunterAI.tsx          # AI assistant
โ”‚   โ”œโ”€โ”€ ControlPanel.tsx      # Voice/Hand controls
โ”‚   โ”œโ”€โ”€ ResultsPanel.tsx      # Project details
โ”‚   โ””โ”€โ”€ HandGestureController.tsx  # Coming Soon popup
โ”œโ”€โ”€ utils/
โ”‚   โ”œโ”€โ”€ monadTunnelMath.ts    # Tunnel shape calculations
โ”‚   โ””โ”€โ”€ sphereMath.ts         # Legacy sphere math
โ”œโ”€โ”€ public/
โ”‚   โ””โ”€โ”€ data.json             # 305 ecosystem projects
โ””โ”€โ”€ tailwind.config.ts        # Monad theme colors

๐ŸŽฎ How to Use

Search

  1. Type in the search bar - e.g., "DeFi", "NFT", "Gaming"
  2. AI analyzes your query - Semantic understanding
  3. Hunter AI scans - Finds matching projects
  4. Results appear - Click markers or grid items

Interact

  • Click data markers - View project details
  • Click Monad core - Reset view
  • Rotate scene - Drag with mouse
  • Zoom - Scroll wheel

Voice & Gestures (Coming Soon)

  • Click control panel buttons to see "Coming Soon" modal

๐Ÿ”‘ Environment Variables

Create .env.local in the root directory:

GEMINI_API_KEY=your_gemini_api_key_here

Get your API key from Google AI Studio

๐ŸŽจ Customization

Change Colors

Edit tailwind.config.ts:

colors: {
  'monad-purple': '#831dff',  // Primary purple
  'monad-cyan': '#00ffff',    // Accent cyan
}

Adjust Tunnel Size

Edit utils/monadTunnelMath.ts:

const outerCurve = createMonadShape(3.0, 0.9, Math.PI / 8);
// Change 3.0 to adjust size

Modify Particle Count

Edit components/MonadParticles.tsx:

const count = 1500; // Increase for denser tunnel

๐Ÿ› Troubleshooting

AI Search Returns "AI CORE FAILED"

  • Check your GEMINI_API_KEY in .env.local
  • Ensure the file is UTF-8 encoded (not UTF-16)
  • Verify API key is valid at Google AI Studio

Tunnel Not Appearing

  • Clear browser cache
  • Check console for errors
  • Ensure data.json exists in /public

Performance Issues

  • Reduce particle count in MonadParticles.tsx
  • Disable bloom effects in MonadScene.tsx
  • Use a more powerful GPU

๐Ÿ“Š Data Format

public/data.json structure:

[
  {
    "name": "Project Name",
    "logo": "https://...",
    "type": "DeFi",
    "tags": ["DEX", "AMM"],
    "socials": {
      "x": "https://x.com/...",
      "web": "https://..."
    },
    "banner": "https://...",
    "description": "Project description..."
  }
]

๐Ÿšง Roadmap

  • 3D Monad tunnel visualization
  • AI semantic search
  • 305+ ecosystem projects
  • Interactive data markers
  • Voice command navigation
  • Hand gesture controls
  • VR/AR support
  • Mobile app
  • Real-time ecosystem updates
  • Social sharing
  • Project submission portal

๐Ÿค Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

๐Ÿ“„ License

MIT License - feel free to use this project however you'd like!

๐Ÿ™ Credits

  • Monad - For the amazing blockchain ecosystem
  • Google Gemini - AI-powered search
  • Three.js - 3D graphics magic
  • Next.js - React framework excellence

๐Ÿ“ž Support

  • Issues: Just create a PR in this repo with your issue or create issue in the issue section..
  • Twitter: @YourHandle
  • Discord Username: fazalurrehman0

Built with ๐Ÿ’œ for the Monad ecosystem

Explore. Discover. Connect.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors