A simple static website that displays data from an Excel file hosted on OneDrive. The data is fetched live on every page load, so any changes made to the Excel file are immediately visible after a browser refresh.
- A Cloudflare Worker (free) acts as a CORS proxy to fetch the Excel file from OneDrive
- GitHub Pages hosts a single HTML page that calls the worker, parses the Excel file with SheetJS, and renders all sheets as tabbed tables
- Create a free account at workers.cloudflare.com
- In the Cloudflare dashboard, go to Workers & Pages → Create Worker
- Name it something like
tiomila-proxy - Replace the default code with the contents of
cloudflare-worker/worker.js - Click Deploy
- Note your worker URL (e.g.,
https://tiomila-proxy.your-subdomain.workers.dev)
- Open
index.html - Find the line:
const WORKER_URL = 'https://your-worker.your-subdomain.workers.dev'; - Replace it with your actual Cloudflare Worker URL from Step 1
- Go to your repository Settings → Pages
- Under Source, select Deploy from a branch
- Choose
mainbranch and/ (root)folder - Click Save
- Your site will be live at
https://masseponken.github.io/tiomilaexport/
Simply edit the Excel file on OneDrive as usual. The next time anyone loads or refreshes the web page, they will see the updated data. No redeployment needed.