[PR #30] feat: Add Bitcoin Fear & Greed Index panel #29

Open
opened 2026-03-16 12:12:38 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hipcityreg/situation-monitor/pull/30
Author: @corwien
Created: 2/11/2026
Status: 🔄 Open

Base: mainHead: main


📝 Commits (10+)

  • 01d7a89 feat: Add Bitcoin Fear & Greed Index panel
  • a36eb32 feat: Add i18n internationalization and financial fonts
  • ed5e324 feat: Optimize map label placement to prevent overlapping
  • 392c48f fix: Fix map label placement scope issue causing labels to not show
  • 37ffabe refactor: Optimize map display with selective labels and capital markers
  • 959e908 refactor: Update map markers - only major 7 capitals use stars
  • 8735dd2 fix: Add demo data fallback for market APIs when API key is unavailable
  • 7306c01 fix: Convert ETF prices to actual index values for display
  • a6e03a5 feat: Add comprehensive financial monitoring panels v2.1.0
  • 2e6818d feat: Add fullscreen mode, FRED proxy, caching system, MOVE fallback

📊 Changes

57 files changed (+12325 additions, -8066 deletions)

View changed files

📝 .env.example (+17 -4)
Dockerfile (+27 -0)
README.md (+588 -0)
docs/NEW_FEATURES_v2.1.0.md (+359 -0)
docs/RELEASE_v2.1.0.md (+241 -0)
docs/screenshot_dashboard.jpg (+0 -0)
docs/screenshot_feargreed_final.jpg (+0 -0)
docs/screenshot_feargreed_zh.jpg (+0 -0)
nginx.conf (+40 -0)
📝 package-lock.json (+7512 -7512)
📝 src/app.css (+154 -23)
src/lib/api/alphavantage.ts (+172 -0)
src/lib/api/feargreed.ts (+141 -0)
📝 src/lib/api/fred.ts (+30 -8)
📝 src/lib/api/index.ts (+19 -1)
📝 src/lib/api/markets.ts (+187 -146)
📝 src/lib/api/misc.ts (+94 -19)
src/lib/api/moveIndex.ts (+90 -0)
📝 src/lib/api/news.ts (+89 -134)
src/lib/api/treasury.ts (+171 -0)

...and 37 more files

📄 Description

Add a new panel displaying BTC Fear & Greed Index from alternative.me API. The index ranges from 0-100, measuring market sentiment through:

  • Volatility (25%)
  • Market Momentum/Volume (25%)
  • Social Media (15%)
  • Surveys (15%)
  • Bitcoin Dominance (10%)
  • Google Trends (10%)

Features:

  • Visual gauge showing index value (0-100)
  • Color-coded sentiment levels (extreme fear to extreme greed)
  • Bilingual labels (EN/CN)
  • Panel visibility toggle in settings
  • Auto-refresh with dashboard updates

New files:

  • src/lib/api/feargreed.ts: API client for alternative.me
  • src/lib/stores/feargreed.ts: Svelte store for state management
  • src/lib/components/panels/FearGreedPanel.svelte: UI component

Modified files:

  • panels.ts: Add feargreed panel config
  • +page.svelte: Add data loading and panel render
  • Various index.ts files: Export new modules

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hipcityreg/situation-monitor/pull/30 **Author:** [@corwien](https://github.com/corwien) **Created:** 2/11/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`01d7a89`](https://github.com/hipcityreg/situation-monitor/commit/01d7a89de9ec1d01631fff57c85f9ac7ff3122c8) feat: Add Bitcoin Fear & Greed Index panel - [`a36eb32`](https://github.com/hipcityreg/situation-monitor/commit/a36eb325b1f07b2dc37dd7e796ed78fa28aba473) feat: Add i18n internationalization and financial fonts - [`ed5e324`](https://github.com/hipcityreg/situation-monitor/commit/ed5e324cd025ad4297bfb8e87527a71b8aa827ce) feat: Optimize map label placement to prevent overlapping - [`392c48f`](https://github.com/hipcityreg/situation-monitor/commit/392c48fc7d1d12fc62763ec2e1014858c48e3f15) fix: Fix map label placement scope issue causing labels to not show - [`37ffabe`](https://github.com/hipcityreg/situation-monitor/commit/37ffabe331fafdf1e37f6d7431ad96c7b56136b9) refactor: Optimize map display with selective labels and capital markers - [`959e908`](https://github.com/hipcityreg/situation-monitor/commit/959e908843c2ecc1d84240d03cd826b8a00f46ad) refactor: Update map markers - only major 7 capitals use stars - [`8735dd2`](https://github.com/hipcityreg/situation-monitor/commit/8735dd261043b06fb595d8249a60e58f03447b55) fix: Add demo data fallback for market APIs when API key is unavailable - [`7306c01`](https://github.com/hipcityreg/situation-monitor/commit/7306c012b1fbbebaee41e3bcc7e267df020d4d7f) fix: Convert ETF prices to actual index values for display - [`a6e03a5`](https://github.com/hipcityreg/situation-monitor/commit/a6e03a5fd83b28b4c7cdad938c93735afd76a334) feat: Add comprehensive financial monitoring panels v2.1.0 - [`2e6818d`](https://github.com/hipcityreg/situation-monitor/commit/2e6818da598b1a757d554aaa88b4a6e279cf8686) feat: Add fullscreen mode, FRED proxy, caching system, MOVE fallback ### 📊 Changes **57 files changed** (+12325 additions, -8066 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+17 -4) ➕ `Dockerfile` (+27 -0) ➕ `README.md` (+588 -0) ➕ `docs/NEW_FEATURES_v2.1.0.md` (+359 -0) ➕ `docs/RELEASE_v2.1.0.md` (+241 -0) ➕ `docs/screenshot_dashboard.jpg` (+0 -0) ➕ `docs/screenshot_feargreed_final.jpg` (+0 -0) ➕ `docs/screenshot_feargreed_zh.jpg` (+0 -0) ➕ `nginx.conf` (+40 -0) 📝 `package-lock.json` (+7512 -7512) 📝 `src/app.css` (+154 -23) ➕ `src/lib/api/alphavantage.ts` (+172 -0) ➕ `src/lib/api/feargreed.ts` (+141 -0) 📝 `src/lib/api/fred.ts` (+30 -8) 📝 `src/lib/api/index.ts` (+19 -1) 📝 `src/lib/api/markets.ts` (+187 -146) 📝 `src/lib/api/misc.ts` (+94 -19) ➕ `src/lib/api/moveIndex.ts` (+90 -0) 📝 `src/lib/api/news.ts` (+89 -134) ➕ `src/lib/api/treasury.ts` (+171 -0) _...and 37 more files_ </details> ### 📄 Description Add a new panel displaying BTC Fear & Greed Index from alternative.me API. The index ranges from 0-100, measuring market sentiment through: - Volatility (25%) - Market Momentum/Volume (25%) - Social Media (15%) - Surveys (15%) - Bitcoin Dominance (10%) - Google Trends (10%) Features: - Visual gauge showing index value (0-100) - Color-coded sentiment levels (extreme fear to extreme greed) - Bilingual labels (EN/CN) - Panel visibility toggle in settings - Auto-refresh with dashboard updates New files: - src/lib/api/feargreed.ts: API client for alternative.me - src/lib/stores/feargreed.ts: Svelte store for state management - src/lib/components/panels/FearGreedPanel.svelte: UI component Modified files: - panels.ts: Add feargreed panel config - +page.svelte: Add data loading and panel render - Various index.ts files: Export new modules --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/situation-monitor#29
No description provided.