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 bun.
Then run
git clone github.com/ckrowland/msindex
cd msindex
export FRED_KEY=<your_fred_key>
bun install
bun run main.ts