Getting Started
Recommended: Fork and Deploy
The easiest way to use Crypto Sentinel is to fork this repo and add your secrets and variables — no local setup needed. See the Quick Start on the home page or Deployment for details.
Local Development
If you want to run locally or contribute:
Prerequisites
- Node.js 22+
- npm (comes with Node)
Installation
git clone https://github.com/furic/crypto-sentinel.git
cd crypto-sentinel
npm install
Configuration
cp .env.example .env
Edit .env with your API keys:
GEMINI_API_KEY=your-gemini-key
RESEND_API_KEY=your-resend-key
RECIPIENT_EMAIL=your@email.com
WATCH_KEYWORDS=binance,bybit,youhodler
See API Keys for step-by-step instructions on getting each key.
First Run
npm run dev
This will:
- Fetch RSS feeds and Google News for your keywords
- Filter for relevant articles
- Send new articles to Gemini for risk analysis
- Email you if risk is
mediumor above - Save seen articles to
cache.jsonto avoid duplicates
Commands
| Command | Description |
|---|---|
npm run dev | Run directly with ts-node (development) |
npm run build | Compile TypeScript to dist/ |
npm start | Run compiled version (requires build) |