AI-powered meme coin intelligence platform with real-time market signals, social sentiment ingestion, trust/risk scoring, and replay analytics.
- Overview
- Key Features
- Preview
- UI Showcase
- Architecture
- Workflow
- Tech Stack
- Project Structure
- Quick Start
- Environment Variables
- Available Scripts
- API Reference
- ML and Data Pipelines
- Deployment Notes
- Troubleshooting
HypeX AI is a full-stack crypto analytics platform focused on meme coins and social-driven market moves. It combines:
- live token market snapshots (DexScreener)
- social ingestion from Twitter/X and Reddit
- sentiment analysis and trust/risk scoring
- trend, anomaly, and replay analytics for decision support
- Real-time dashboard for momentum, trust, and signal monitoring
- Alerts system with status/severity tracking
- Trending coins and per-coin detail endpoints
- Influence analytics and radar metrics
- Social data fetch and CSV export pipeline
- Model training and scored-dataset generation scripts
- Wallet-gated frontend dashboard routes
flowchart LR
U[User] --> F[React + Vite Frontend]
F -->|REST /api/v1| B[FastAPI Backend]
B --> M[(MongoDB)]
B --> D[DexScreener API]
B --> R[Reddit API via PRAW]
B --> T[Twitter/X via twscrape]
B --> A[ML Artifacts and Scoring]
A --> M
B --> E[CSV Exports]
flowchart TD
S[Start App] --> C[Load env settings]
C --> H[Health and startup checks]
H --> I[Initialize indexes and seed data]
I --> API[Serve API endpoints]
API --> ING[Fetch social data]
API --> LIVE[Fetch live market data]
ING --> SCORE[Sentiment and trust scoring]
LIVE --> SCORE
SCORE --> DB[(MongoDB)]
DB --> UI[Frontend dashboard updates]
- React 18 + TypeScript
- Vite
- Tailwind CSS + shadcn/ui
- TanStack Query
- React Router
- FastAPI + Uvicorn
- PyMongo + MongoDB
- Pydantic v2 / pydantic-settings
- httpx
- scikit-learn
- numpy
- joblib
- vaderSentiment
- networkx
.
├── src/ # Frontend app (pages, components, hooks)
├── public/ # Static assets (logo, robots)
├── images/ # README preview images
├── backend/
│ ├── app/ # FastAPI app (routes, schemas, db, services)
│ ├── ml_artifacts/ # Trained model files
│ ├── exports/ # Generated CSV outputs
│ └── requirements.txt
├── data/ # Meme coin datasets
└── README.md
git clone https://github.com/itzdineshx/HypeX-Ai.git
cd HypeX-Ai
npm installcd backend
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtcp .env.example .envEdit backend/.env with your MongoDB URI and optional API credentials.
From project root:
npm run backend:devAPI docs:
- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
From project root in another terminal:
npm run devFrontend default URL: http://localhost:8080
Core backend keys (see backend/.env.example):
- APP_NAME
- ENVIRONMENT
- API_V1_PREFIX
- MONGODB_URI
- MONGODB_DB_NAME
- CORS_ORIGINS
Social ingestion keys:
- REDDIT_CLIENT_ID
- REDDIT_CLIENT_SECRET
- REDDIT_USER_AGENT
- REDDIT_SUBREDDITS
- TWITTER_QUERIES
- TWITTER_ACCOUNTS_DB
- SOCIAL_CSV_DIR
Market/API keys:
- ETHERSCAN_API_KEY
- COINDESK_API_KEY
- COINGECKO_API_KEY
- DEXSCREENER_SEARCH_URL
- DEXSCREENER_PROFILE_URL
From project root:
- npm run dev: Start Vite frontend dev server
- npm run build: Build frontend production assets
- npm run preview: Preview built frontend
- npm run lint: Run ESLint
- npm run test: Run Vitest tests
- npm run backend:dev: Start FastAPI backend in reload mode
- npm run backend:start: Start FastAPI backend in production mode
Base URL:
Core routes:
- GET /health
- GET /dashboard/summary
- GET /dashboard/trending
- GET /dashboard/trend-chart
- GET /coins
- GET /coins/{symbol}
- GET /coins/{symbol}/realtime
- GET /coins/{symbol}/alerts
- GET /coins/{symbol}/influencers
- GET /alerts
- POST /alerts
- PATCH /alerts/{alert_id}/status
- GET /influence/top
- GET /influence/metrics
- GET /influence/radar
- POST /social/fetch
- GET /social/posts
- POST /models/train-all
- POST /models/score-meme-data
- GET /replay/events
Run model training:
cd backend
python train_all_models.pyFetch social data:
cd backend
python fetch_social_data.py --twitter-limit 120 --reddit-limit 60Score meme coin dataset:
cd backend
python score_meme_coin_data.pyArtifacts and exports are written to:
- backend/ml_artifacts
- backend/exports/scored
- backend/exports/social
- Backend startup command:
uvicorn app.main:app --host 0.0.0.0 --port $PORT- On Render/Cloud platforms, ensure:
- valid CORS_ORIGINS format (JSON array or comma-separated)
- MONGODB_URI points to a reachable Atlas/managed MongoDB instance
- MongoDB network access allows your deployment egress IP
- App fails during startup with CORS parsing error:
- Fix malformed CORS_ORIGINS value in host environment variables.
- App fails to connect to MongoDB (TLS / server selection timeout):
- Verify Atlas network access list, database user credentials, and URI format.
- Frontend cannot reach backend:
- Confirm backend is running on port 8000 and CORS includes frontend origin.
Built for data-driven crypto signal exploration and rapid full-stack iteration.










