Commit Graph

20 Commits

Author SHA1 Message Date
Claude
beac172ee3 Remove all HKD/satshkd support, add all EU languages
- Removed all references to HKD and satshkd from codebase
- Updated README, package.json, documentation to focus on EUR/sats
- Removed HKD-specific files (convert_btcticker.js, archive/hkd_historical)
- Updated all titles from SatsHKD/HKDSAT to SatsEUR/EURSAT
- Removed HKD image reference from sats.hbs
- Updated Python scripts to use 'historical' instead of 'hkd_historical'
- Added all 16 missing EU official languages with translations:
  * Bulgarian (bg), Croatian (hr), Czech (cs), Danish (da)
  * Estonian (et), Finnish (fi), Greek (el), Hungarian (hu)
  * Irish (ga), Latvian (lv), Lithuanian (lt), Maltese (mt)
  * Romanian (ro), Slovak (sk), Slovenian (sl), Swedish (sv)
- Now supports all 24 EU official languages
2025-11-09 10:35:13 +00:00
Claude
447f740f59 Remove all HKD/satshkd support, keep only EUR version
- Removed all HKD routes (/en, /zh-cn, /zh-hk) from index.js
- Removed HKD locale files (en.json, zh-cn.json, zh-hk.json)
- Removed HKD calculation files (calculate.js, btcpoll.js, updaterate.js from old version)
- Removed HKD historical data files (hkd_historical, hkd_historical_dedup)
- Renamed EUR-specific files to standard names:
  - calculate-eur.js -> calculate.js
  - btcpoll-eur.js -> btcpoll.js
  - updaterate-eur.js -> updaterate.js
  - eur_historical -> historical
- Updated all locale files to reference 'historical' instead of 'eur_historical'
- Updated default route to redirect to /en-eur instead of /en
- Updated GitHub Actions workflow to only run EUR data updates
- Updated all references in code to use renamed files

This creates a clean EUR-only implementation ready for deployment at eursat.eu
2025-11-09 09:36:33 +00:00
Claude
292eebd9b3 Add EUR currency support with multi-language translations
- 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.
2025-11-09 09:09:13 +00:00
bitkarrot
d7fc548375 put back test.js 2022-03-20 23:20:31 -07:00
bitkarrot
96eddf99c7 testing cjs 2022-03-20 23:10:04 -07:00
Bitcarrot
ce0484689a comment out console.log 2021-10-07 15:41:59 -07:00
Bitcarrot
b4cb943a91 clean up 2021-10-07 06:16:52 +08:00
Bitcarrot
f23176fd80 fix formatting for years ago data 2021-10-07 06:12:04 +08:00
Bitcarrot
74d469962a port to js 2021-10-05 23:35:25 -07:00
Bitcarrot
11c0db4b1c updated with get bfx rate 2021-10-05 19:43:51 -07:00
Bitcarrot
3c6b04c395 add python calculate 2021-10-05 15:49:34 -07:00
Bitcarrot
3dd7eed2be update data 2021-10-05 14:17:39 -07:00
Bitcarrot
064091b904 change index 2021-10-05 12:43:00 -07:00
Bitcarrot
09d200119d add views path 2021-10-04 21:32:48 -07:00
Bitcarrot
89ea10ba5a add static 2021-10-04 21:18:06 -07:00
Bitcarrot
55ae5e7a09 test html 2021-10-04 21:05:04 -07:00
Bitcarrot
a480d30bba testing hbs extension 2021-10-04 20:55:14 -07:00
Bitcarrot
992012fc35 test page 2021-10-04 20:50:30 -07:00
Bitcarrot
b65f31c96b add handlebars 2021-10-04 19:57:35 -07:00
Bitcarrot
3135c25219 add index.html, api test 2021-07-23 00:26:35 -07:00