π― A production-ready AI-powered crypto trading simulator that successfully demonstrated NVIDIA NIM integration at BugsByte 2026!
π View Live Demo β’ π Report Bug β’ β¨ Request Feature
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:
- π― 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
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)
# 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!
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"# Create optimized production build
npm run build
# Start production server
npm start# View database in browser
npm run db:studio
# Reset database (WARNING: Deletes all data)
npx prisma migrate resetgeisha-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! π
-
The Interrogation β Terminal-style onboarding captures trading psychology
-
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)
-
News Intelligence β Fetches crypto news from live news API
-
AI Analysis β NVIDIA NIM Llama-3 70B analyzes news against user profile
-
War Room Dashboard β Real-time threat assessment and action alerts
- 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
- οΏ½ 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
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated!
-
Fork the Project
# Click the 'Fork' button at the top right of this page -
Clone your Fork
git clone https://github.com/YOUR_USERNAME/geisha-gains.git
-
Create a Feature Branch
git checkout -b feature/AmazingFeature
-
Make your Changes
# Code your amazing feature -
Commit your Changes
git commit -m "Add: AmazingFeature" -
Push to the Branch
git push origin feature/AmazingFeature
-
Open a Pull Request
# Go to your fork on GitHub and click 'New Pull Request'
- π Write clear, concise commit messages
- π§ͺ Test your changes thoroughly
- π Update documentation if needed
- π¨ Follow the existing brutalist code style
If you found this project helpful or inspiring, please consider giving it a β!
Your support helps the project grow and motivates continued development.
Every star counts! Thank you for your support! π
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...
