Skip to content

Latest commit

Β 

History

64 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

οΏ½ Geisha Gains β€” War Room

Brutalist Intelligence-Driven Crypto Trading Simulator

Next.js React TypeScript Prisma TailwindCSS Framer Motion NVIDIA NIM License


🎯 A production-ready AI-powered crypto trading simulator that successfully demonstrated NVIDIA NIM integration at BugsByte 2026!

🌐 View Live Demo β€’ πŸ› Report Bug β€’ ✨ Request Feature


geisha gains war room

🏯 Geisha Gains β€” War Room Dashboard


πŸ‘¨β€πŸ’» About the Developer

Hi, I'm a Full-Stack Developer specializing in AI-powered applications and real-time systems.

This crypto trading simulator was built for BugsByte 2026 Hackathon, featuring a complete intelligence loop with NVIDIA NIM AI integration, demonstrating advanced news analysis and risk profiling capabilities.

If you're a recruiter or collaborator, feel free to reach out:

Portfolio LinkedIn GitHub


🧠 Features

  • 🏯 Brutalist Design β€” Dark theme with red accents and monospace fonts
  • πŸ€– NVIDIA NIM Integration β€” Llama-3 70B AI for news analysis
  • πŸ“° Real-time News Analysis β€” Live crypto news API with intelligent filtering
  • πŸ‘€ User Profiling β€” Terminal-style onboarding capturing trading psychology
  • πŸ“Š War Room Dashboard β€” Multi-panel intelligence display
  • 🎯 Threat Radar β€” 4-axis visualization of market risks
  • ⚑ Action Overlays β€” Lethal alerts with QUICK SELL functionality
  • β˜• Coffee Driven Development β€” Built with passion and caffeine
  • πŸ”„ Intelligence Loop β€” Continuous news analysis against user profile

πŸ“¦ Tech Stack

Next.js React TypeScript Prisma PostgreSQL TailwindCSS Framer Motion NVIDIA NIM Vercel


πŸ›  Installation & Setup

Prerequisites

Make sure you have the following installed:

  • Node.js (v18.0.0 or higher)
  • npm or yarn package manager
  • Git
  • PostgreSQL (optional, SQLite works for demos)

Quick Start

# 1️⃣ Clone the repository
git clone https://github.com/YOUR_USERNAME/geisha-gains.git

# 2️⃣ Navigate to the project directory
cd geisha-gains

# 3️⃣ Install dependencies
npm install

# 4️⃣ Set up environment variables
cp .env.example .env
# Edit .env with your NVIDIA API key and database URL

# 5️⃣ Initialize database
npm run db:generate
npm run db:push

# 6️⃣ Start the development server
npm run dev

πŸŽ‰ That's it! Open http://localhost:3000 to begin The Interrogation!

Environment Variables

Create a .env file with:

# Database (SQLite for quick start, PostgreSQL for production)
DATABASE_URL="file:./dev.db"

# NVIDIA NIM API (required for AI analysis)
NVIDIA_NIM_ENDPOINT="https://integrate.api.nvidia.com/v1/chat/completions"
NVIDIA_API_KEY="nvapi-YOUR-KEY-HERE"

Build for Production

# Create optimized production build
npm run build

# Start production server
npm start

Database Management

# View database in browser
npm run db:studio

# Reset database (WARNING: Deletes all data)
npx prisma migrate reset

πŸ§—β€β™‚οΈ Project Structure

geisha-gains/
β”œβ”€β”€ πŸ“ app/
β”‚   β”œβ”€β”€ πŸ“ api/
β”‚   β”‚   └── πŸ“ news/
β”‚   β”‚       └── πŸ“ analyze/
β”‚   β”‚           └── route.ts          # NVIDIA NIM news analysis endpoint
β”‚   β”œβ”€β”€ πŸ“ components/
β”‚   β”‚   β”œβ”€β”€ πŸ“ dashboard/
β”‚   β”‚   β”‚   β”œβ”€β”€ ActionOverlay.tsx     # Lethal alert overlays
β”‚   β”‚   β”‚   β”œβ”€β”€ TheBulletin.tsx       # News feed with threat colors
β”‚   β”‚   β”‚   └── ThreatRadar.tsx       # 4-axis risk visualization
β”‚   β”‚   └── πŸ“ onboarding/
β”‚   β”‚       └── TheInterrogation.tsx  # Terminal-style profiling
β”‚   β”œβ”€β”€ πŸ“ dashboard/
β”‚   β”‚   └── page.tsx                  # War Room dashboard
β”‚   β”œβ”€β”€ error.tsx                     # Error boundary component
β”‚   β”œβ”€β”€ global-error.tsx              # Global error handler
β”‚   β”œβ”€β”€ globals.css                   # Brutalist styling
β”‚   β”œβ”€β”€ layout.tsx                    # Root layout
β”‚   └── page.tsx                      # Home (onboarding flow)
β”œβ”€β”€ πŸ“ lib/
β”‚   └── newsService.ts                # Live news API integration
β”œβ”€β”€ πŸ“ prisma/
β”‚   └── schema.prisma                 # Database schema
β”œβ”€β”€ πŸ“ public/
β”‚   └── πŸ“ assets/
β”‚       └── πŸ“ logo1.ico              # App favicon
β”œβ”€β”€ components.json                   # shadcn/ui config
β”œβ”€β”€ jsconfig.json                     # JavaScript configuration
β”œβ”€β”€ next.config.js                    # Next.js configuration
β”œβ”€β”€ package.json                      # Dependencies & scripts
β”œβ”€β”€ postcss.config.js                 # PostCSS configuration
β”œβ”€β”€ tailwind.config.js                # Tailwind CSS configuration
β”œβ”€β”€ SETUP_GUIDE.md                    # Detailed setup instructions
└── README.md                         # You are here! πŸ“

🎯 How It Works

The Intelligence Loop

  1. The Interrogation β€” Terminal-style onboarding captures trading psychology

  2. Risk Profiling β€” Stores profile in localStorage with 4 key dimensions:

    • Risk Tolerance (CONSERVATIVE/MODERATE/AGGRESSIVE)
    • Investment Horizon (SCALP/SWING/POSITION)
    • Focus Sectors (CRYPTO/STOCKS/FOREX/COMMODITIES)
    • Geopolitical Sensitivity (IGNORE/AWARE/PARANOID)
  3. News Intelligence β€” Fetches crypto news from live news API

  4. AI Analysis β€” NVIDIA NIM Llama-3 70B analyzes news against user profile

  5. War Room Dashboard β€” Real-time threat assessment and action alerts

Key Components

  • TheBulletin: Vertical news feed with threat-colored borders
  • ThreatRadar: 4-axis SVG radar (Volatility, Geopolitics, Sentiment, Exposure)
  • ActionOverlay: Fixed-position lethal alerts with QUICK SELL buttons
  • News Analysis API: Returns global_score, portfolio_threat, sentiment, action, reasoning

πŸ›£ Roadmap

  • οΏ½ Brutalist dark theme with red accents
  • πŸ‘€ Terminal-style user profiling (The Interrogation)
  • πŸ€– NVIDIA NIM Llama-3 70B integration
  • πŸ“° Live news API ingestion
  • πŸ“Š War Room dashboard with multi-panel display
  • 🎯 Threat Radar 4-axis visualization
  • ⚑ Action Overlay lethal alerts
  • β˜• Coffee Driven Development branding
  • πŸ”„ Intelligence loop with continuous analysis
  • πŸ“± Fully responsive design
  • 🎨 Framer Motion animations
  • πŸ—„οΈ Prisma ORM with PostgreSQL/SQLite
  • πŸŒ™ Dark/Light mode toggle
  • πŸ“ˆ Real trading integration (Uphold API)
  • πŸ”„ WebSocket real-time updates
  • πŸ“Š Advanced analytics dashboard
  • 🎫 Portfolio export functionality

🀝 Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated!

How to Contribute

  1. Fork the Project

    # Click the 'Fork' button at the top right of this page
  2. Clone your Fork

    git clone https://github.com/YOUR_USERNAME/geisha-gains.git
  3. Create a Feature Branch

    git checkout -b feature/AmazingFeature
  4. Make your Changes

    # Code your amazing feature
  5. Commit your Changes

    git commit -m "Add: AmazingFeature"
  6. Push to the Branch

    git push origin feature/AmazingFeature
  7. Open a Pull Request

    # Go to your fork on GitHub and click 'New Pull Request'

Contribution Guidelines

  • πŸ“ Write clear, concise commit messages
  • πŸ§ͺ Test your changes thoroughly
  • πŸ“– Update documentation if needed
  • 🎨 Follow the existing brutalist code style

⭐ Support This Project

If you found this project helpful or inspiring, please consider giving it a ⭐!

Your support helps the project grow and motivates continued development.

Star this repo Fork this repo

Every star counts! Thank you for your support! πŸ™


πŸ“ License

Distributed under the MIT License. See LICENSE for more information.

MIT License

Copyright (c) 2026 Geisha Gains

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software...

🏯 Built with β˜• by Coffee Driven Development

Geisha Gains β€” Where Intelligence Meets the Markets πŸ―πŸ’Ή

Made with Next.js Powered by NVIDIA NIM Deployed on Vercel

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages