Commit Graph

1776 Commits

Author SHA1 Message Date
github-actions
017bd9dd8f generated 2025-11-22 04:10:37 +00:00
44d8627955 Merge pull request #11 from aljazceru/claude/improve-table-font-performance-01VtE2XigsToaxt5w8aKGDwN
Improve table font size and optimize website loading performance
2025-11-21 22:00:19 +01:00
Claude
2f34d9ae2f Improve table font size and optimize website loading performance
- Increase table font sizes for better readability:
  * Body cells: 13px → 16px
  * Header cells: 15px → 18px
  * Footer cells: 14px → 16px
  * Total cells: 15px → 17px

- Add performance optimizations:
  * Add preconnect hints for external CDNs and APIs
  * Add defer attribute to non-critical JavaScript files
  * Add font-display: swap to improve perceived loading speed
2025-11-21 20:54:15 +00:00
cc471136d9 Update sats.hbs 2025-11-21 21:48:04 +01:00
e87d2c4063 Merge pull request #10 from aljazceru/claude/organize-quotes-chronologically-01G6hPYumTTdUM87hmCyyjp9
Add chronologically organized ECB Bitcoin predictions
2025-11-21 21:46:37 +01:00
Claude
72cc582b28 Add chronologically organized ECB Bitcoin predictions
Added a new section under the historical price table featuring quotes from ECB officials about Bitcoin, organized chronologically from November 2018 to January 2025. Each quote includes:
- Date and attribution to the ECB official
- Full quote text
- Links to original sources

The quotes demonstrate the ECB's evolving skepticism of Bitcoin over the years.
2025-11-21 20:36:41 +00:00
885768462c Merge pull request #9 from aljazceru/claude/mobile-responsive-design-01K8gfo4Ba3j4YEXHMarLQ2M
Add comprehensive mobile responsiveness to website
2025-11-21 21:29:56 +01:00
Claude
6e99c2c733 Add comprehensive mobile responsiveness to website
- Created mobile.css with responsive styles for all screen sizes
- Updated table headers to use responsive font sizes (removed 2rem inline styles)
- Fixed text-align from non-standard -webkit-left to standard left/right values
- Made chart configuration mobile-aware with smaller fonts and fewer ticks on mobile
- Optimized chart annotations and labels for mobile screens
- Added responsive breakpoints for tablets (768px) and phones (480px)
- Improved touch targets for mobile devices
- Added landscape orientation optimizations
- Enhanced dark mode toggle positioning for small screens

The website now properly fits mobile screens and provides an optimal viewing experience across all device sizes.
2025-11-21 20:13:31 +00:00
c63536f73a link update 2025-11-21 20:54:37 +01:00
79d6e36055 vuln fixes 2025-11-21 17:20:08 +01:00
23e2a82f5c working 2025-11-21 17:15:05 +01:00
github-actions
e3894f9577 generated 2025-11-21 04:11:16 +00:00
ac49792efb Merge pull request #8 from aljazceru/claude/fix-chart-data-alignment-014KT219GTiiFP2RhigKtK1z
Fix chart Y-axis alignment to start with actual data range
2025-11-20 21:20:03 +01:00
Claude
f10fc746fb Fix chart Y-axis alignment to start with actual data range
- Calculate min/max values dynamically from data instead of hardcoding
- Remove hardcoded max value of 1 billion which created excessive empty space
- Add appropriate padding (2x multiplier) for logarithmic scale visualization
- Chart now properly scales to show the actual data range (1k-1M sats)
2025-11-20 10:27:27 +00:00
7946100404 old fx data 2025-11-20 08:08:40 +01:00
github-actions
9e98eb602f generated 2025-11-20 04:10:52 +00:00
github-actions
0af99f0792 generated 2025-11-19 04:12:04 +00:00
github-actions
ef834465c6 generated 2025-11-18 04:12:08 +00:00
github-actions
751bacf731 generated 2025-11-17 04:14:23 +00:00
github-actions
68d8174f62 generated 2025-11-16 04:13:59 +00:00
github-actions
be61fea0c8 generated 2025-11-15 04:10:47 +00:00
github-actions
f3d794af37 generated 2025-11-14 04:12:02 +00:00
github-actions
a11b093a48 generated 2025-11-13 04:13:36 +00:00
github-actions
a56f1b1cf6 generated 2025-11-12 04:11:54 +00:00
github-actions
b5dbb96bab generated 2025-11-11 04:12:40 +00:00
09c364a55b Merge pull request #7 from aljazceru/claude/replace-metricsgraphics-chartjs-011CUybGqGS6T3YZFcbMYMJz
Replace MetricsGraphics with Chart.js v4 for improved performance
2025-11-10 15:51:32 +01:00
Claude
76eb9b39a3 Replace MetricsGraphics with Chart.js v4 for improved performance
- 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
2025-11-10 04:46:41 +00:00
github-actions
5d4f0195c2 generated 2025-11-10 04:15:01 +00:00
0378cfce3c Merge pull request #6 from aljazceru/claude/add-price-table-chart-011CUxoDYiavjyuvicvGcFQr
Fix price table display by using closest-match dates and API fallback
2025-11-09 20:46:00 +01:00
Claude
314478eb56 Fix price table display by using closest-match dates and API fallback
The price table was not displaying because of two issues:
1. The Bitfinex API was returning 403 errors, causing the entire get10yr() function to fail
2. The code was looking for exact date matches in weekly historical data

Changes:
- Add try-catch around API call with fallback to latest historical data
- Replace exact date matching with closest-date algorithm to handle weekly data
- Table now shows 10 years of historical price data with percent changes
2025-11-09 19:16:52 +00:00
1d5574cc23 Merge pull request #5 from aljazceru/claude/fix-data-display-issue-011CUxbyjcjzZqztEKnwkp72
Fix data display issue by aggregating to weekly values
2025-11-09 19:30:51 +01:00
Claude
f7e07aa4bd Fix data display issue by aggregating to weekly values
- Reduced historical data from 4,442 daily entries to 636 weekly entries
- This improves chart rendering performance and ensures all data up to current date is displayed
- Updated btcpoll.js to handle weekly data updates (updates same week or adds new week)
- Added aggregate-weekly.js script for future data aggregation needs
- Data now properly displays from 2013-09-15 to 2025-11-09
2025-11-09 16:11:51 +00:00
9985549cfb Merge pull request #4 from aljazceru/claude/work-in-progress-011CUxbK21e6GPNznyDoqy23
Use local EUR banknote image for chart background
2025-11-09 17:04:46 +01:00
Claude
5acdecb309 Use local EUR banknote image for chart background
Replace external URL with local image at /static/assets/100eur.jpg
to improve load times and reliability.
2025-11-09 16:00:03 +00:00
f751c9fcd4 better note 2025-11-09 16:57:47 +01:00
e9f0338b5c Merge pull request #3 from aljazceru/claude/fix-graph-data-error-011CUxVZRUxivkQ8eJPnMLK2
fix graph data error
2025-11-09 16:50:55 +01:00
Claude
94ea921567 Merge branch 'main' into claude/fix-graph-data-error-011CUxVZRUxivkQ8eJPnMLK2
Resolved conflicts:
- Removed convert_btcticker.js (deleted in main, generated data already)
- Kept EUR banknote background in views/sats.hbs for EUR branding
- Merged in all EU language support from main branch
2025-11-09 15:40:31 +00:00
665058c17a Merge pull request #2 from aljazceru/claude/remove-satshkd-support-011CUxA85rMHfMaPZSM5CpJC
Remove all HKD/satshkd support, add all EU languages
2025-11-09 16:37:01 +01:00
Claude
5308ebfa86 Replace HKD banknote with EUR banknote in chart background
- Updated chart background image from 10 HKD note to 100 EUR banknote
- Uses external EUR banknote image appropriate for EUR-focused site
2025-11-09 15:31:49 +00:00
Claude
4df6f3868a Use actual Kraken BTC/EUR historical data instead of USD conversion
- Restored btceur-kraken-historical.csv from git history to archive folder
- Updated eurrate() function to parse Kraken CSV data directly
- Replaced USD-to-EUR conversion with actual BTC/EUR exchange rates from Kraken
- Historical data now contains 4,442 entries from Sept 2013 to Nov 2025
- More accurate EUR pricing for the graph visualization
2025-11-09 15:31:01 +00:00
3c5b571bc0 data 2025-11-09 16:16:31 +01:00
Claude
45d890b986 Fix graph data error by populating EUR historical data
- Added eurrate() function to convert_btcticker.js to convert USD historical data to EUR format
- Populated public/historical file with 4,240 entries of EUR exchange rate data
- Each entry now includes sateur_rate and btceur_rate fields required by the graph
- Fixes the MetricsGraphics "No data was supplied" error on the en-eur page
2025-11-09 14:47:43 +00:00
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
96f4a76ebb Merge pull request #1 from aljazceru/claude/convert-currency-hkd-euro-011CUx3QzK9AAL7hCdWv8qfz
Claude/convert currency hkd euro 011 c ux3 qz k9 aal7h cd wv8qfz
2025-11-09 11:28:03 +01: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
github-actions
0fb43ad77c generated 2025-11-09 04:24:22 +00:00
github-actions
6c48eee1ea generated 2025-11-08 04:23:40 +00:00
github-actions
85721d9cd5 generated 2025-11-07 04:24:34 +00:00
github-actions
1572aee3d4 generated 2025-11-06 04:27:39 +00:00