Skip to content

ibrahim-ansari-code/mac-a-thon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ad-Integrated Gemini System

Screenshot 2026-02-07 at 4 20 00 PM

Hackathon project: Gemini AI with contextual ads powered by Solana payments.

Quick Start

Backend (Main API)

cd backend
source venv/bin/activate
pip install -r requirements.txt
python3 app.py

Solana Service (Payment Handler)

cd solana_service
pip install -r requirements.txt
python3 app.py

Frontend

cd frontend
flutter pub get
flutter run

Configuration

Create backend/.env with:

  • Gemini API key
  • Supabase credentials
  • Solana config (GEMINI_ACCOUNT_ADDRESS, etc.)

Structure

  • backend/ - Main Flask API (Gemini, Supabase, matching)
  • solana_service/ - Solana payment processing service
  • frontend/ - Flutter app with Gemini UI
  • docs/ - Architecture documentation
  • data/ - Data files

Solana Setup

  • Solana CLI: Installed
  • Python packages: solders, anchorpy installed
  • Wallet address: AvXtoACWKDPfzV286ZfK8GPsHjnE9GkEvF8hF1vqtyfv

About

gemini with ads

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •