A professional-grade web application that analyzes real-time market sentiment for any cryptocurrency by combining global news data with AI-powered natural language processing.
Enter a crypto symbol (BTC, ETH, SOL, DOGE, XRP, etc.) and CryptoSentinel instantly fetches the latest news articles and uses Claude AI to classify each headline as Positive, Negative, or Neutral — complete with confidence scores and interactive visualizations.
- Real-Time News Ingestion — Fetches the 20 most recent articles for any cryptocurrency via NewsAPI
- AI Sentiment Analysis — Each headline is analyzed by Claude (Anthropic) for sentiment and confidence scoring
- Interactive Dashboard — Gauge chart, donut breakdown, timeline visualization, and per-article cards
- Dark Terminal Aesthetic — Sleek trading-terminal UI with neon accents, animations, and responsive design
- Instant Symbol Lookup — Quick-pick pills for popular coins or type any symbol
| Layer | Technology |
|---|---|
| Backend | Python, Flask |
| AI Engine | Claude API (Anthropic) |
| News Data | NewsAPI |
| Frontend | Vanilla HTML / CSS / JS |
| Charts | Chart.js (CDN) |
| Fonts | Inter (Google Fonts) |
- Python 3.10+
- A free NewsAPI key
- An Anthropic API key
git clone https://github.com/OriLevin55/CryptoSentinel.git
cd CryptoSentinel
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txtCopy the example env file and fill in your keys:
cp .env.example .envANTHROPIC_API_KEY=sk-ant-...
NEWS_API_KEY=your-newsapi-key
python app.pyOpen http://localhost:5000 in your browser.
- User enters a crypto symbol (e.g. BTC)
- The backend queries NewsAPI for the latest 20 articles matching that cryptocurrency
- All headlines are sent to Claude in a single request for batch sentiment analysis
- Claude returns a JSON array with sentiment labels and confidence scores
- The frontend renders an interactive dashboard with charts, metrics, and article cards
- Traders & Investors — Quickly gauge market sentiment before making buy/sell decisions
- Research Analysts — Track how news coverage shifts over time for a given asset
- Content Creators — Identify trending narratives and sentiment swings for crypto content
- Portfolio Managers — Monitor sentiment across multiple holdings in seconds
CryptoSentinel/
├── app.py # Flask backend (routes + API integration)
├── templates/
│ └── index.html # Complete frontend (HTML + CSS + JS inline)
├── requirements.txt # Python dependencies
├── .env.example # Environment variable template
└── README.md
This project is open source and available under the MIT License.
Built with Claude AI by Ori Levin