Free web-based tools for Prometheus monitoring: SLO-based alert rule generator and resource calculator.
This is a monorepo containing:
app/- React/Vite application (Alert Generator and Resource Calculator)hugo/- Hugo static site (Blog, FAQ, and site wrapper)shared/- Shared design tokens used by both React and Hugo
# Build everything
./build.sh
# Development - Hugo site with React app
./build.sh
cd hugo
hugo serverVisit:
- Alert Generator:
http://localhost:1313/app/ - Resource Calculator:
http://localhost:1313/app/resources - Blog:
http://localhost:1313/blog/ - FAQ:
http://localhost:1313/faq/
- The React app builds to
hugo/static/app/withbasename="/app" - Hugo wraps the React app with masthead, footer, and provides blog/FAQ
- The React app handles routing for
/app/and/app/resources - Blog and FAQ are server-rendered Hugo pages with better SEO
cd app
npm run buildThis builds the React app to hugo/static/app/.
./build.shThis builds:
- React app →
hugo/static/app/ - Hugo site →
hugo/public/
cd app
npm run devAccess at http://localhost:5173
Note: Runs standalone without Hugo masthead/footer. Use Hugo server for full experience.
# Build React app first
cd app && npm run build && cd ..
# Run Hugo server
cd hugo
hugo serverAccess at http://localhost:1313
The React app will be embedded at /app/ with full Hugo chrome.
Shared design tokens are in shared/design-tokens.json.
To regenerate CSS from tokens:
cd shared
node generate-css.jsThis generates:
shared/build/tokens.css- Copied to Hugo assetsshared/build/tokens.scss- SCSS variables (if needed)
The React app imports tokens directly from design-tokens.json.
Build the full site:
./build.shDeploy hugo/public/ to your web host. This includes:
- Hugo-rendered pages (homepage, blog, FAQ)
- React app at
/app/(embedded with Hugo chrome) - All static assets
Apache 2.0 - See LICENSE file
August 05, 2026