The code to run msindex.net.
You will need a FRED API key to get Z1 data. Go here for more info. You'll need to create an account.
Install zig 0.13.0.
Then run
git clone https://github.com/ckrowland/msindex
cd msindex
export FRED_KEY=<your_fred_key>
zig build run-update
zig build run-main
To update the chart after some time you have to run zig build run-update
again.
Spawn cron job off main server process to update chart daily.