mirror of
https://github.com/aljazceru/satshkd-vercel.git
synced 2025-12-17 05:04:24 +01:00
292eebd9b3067cc2625c67f06d255a0cdbac92eb
- Created EUR calculation module (calculate-eur.js) for EUR-based satoshi calculations - Created btcpoll-eur.js to fetch and store EUR historical data from CoinGecko API - Added EUR historical data file structure (public/eur_historical) - Created locale files for 8 European languages (English, German, French, Spanish, Italian, Dutch, Portuguese, Polish) - Updated index.js with EUR routes for all language variants (/en-eur, /de, /fr, /es, /it, /nl, /pt, /pl) - Made template (sats.hbs) dynamic to support both HKD and EUR currencies with configurable exchange rates - Updated template to support up to 7 language links for EUR version - Added updaterate-eur.js for GitHub Actions to update EUR data daily - Updated GitHub Actions workflow to run both HKD and EUR data updates - Updated all locale files (HKD and EUR) with data_file, rate_field, and exchange_rate parameters This implementation allows the site to work with EUR currency and supports translations to all major European languages, preparing for deployment at eursat.eu domain.
HKDSAT 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+
https://github.com/bitkarrot/satshkd-vercel.git
cd satshkd-vercel
npm install
node index.js
Description
Languages
Handlebars
49.5%
JavaScript
32.6%
CSS
13.8%
Python
4.1%