mirror of
https://github.com/aljazceru/satshkd-vercel.git
synced 2025-12-17 05:04:24 +01:00
claude/replace-metricsgraphics-chartjs-011CUybGqGS6T3YZFcbMYMJz
- Replaced MetricsGraphics library with Chart.js v4 for faster chart rendering - Removed dependencies: MetricsGraphics, D3.js v4, and jQuery - Added Chart.js v4 with date-fns adapter and annotation plugin - Maintained all original chart features: - Logarithmic Y-axis scale - Time-series area chart with EUR/sats data - Historical event markers (QE1, QE2, QE3, QH1, QH2, QE4, QH3) - Custom pattern fill with 100 EUR image - Responsive height calculation - Y-axis units formatting - Improved chart performance with modern Canvas-based rendering - Replaced D3 JSON loading with native fetch API
EURSAT Historical Chart
for entertainment and educational purposes only.
For running on Vercel, note that it uses the vercel version of node which won't run anywhere else
bitfinex daily close data: https://www.investing.com/crypto/bitcoin/btc-usd-historical-data
cronjob is on github actions, see action.yml
Install
- use at least node 22+
git clone <repository-url>
cd <repository-directory>
npm install
node index.js
Description
Languages
Handlebars
49.5%
JavaScript
32.6%
CSS
13.8%
Python
4.1%