How aksarav/confmap works
Project type and purpose
• ConfMap is an open-source, single-page web application (SPA) that visualizes YAML/JSON/YML configuration files as interactive mind maps.
• It is built with TypeScript, ECharts (for charting), Tailwind CSS (for styling), and is deployed as a static site (via Netlify and/or Cloudflare Workers).
File structure
Top-level directories and files:
• src/
– main.ts, main-simple.ts, counter.ts: entry points and demo logic
– input.css, style.css: UI styles
– vite-env.d.ts, tsconfig.json, vite.config.ts: TypeScript and Vite build configs
• public/
– images, robots.txt, sitemap.xml: static assets for production
• cloudflare-worker.js & wrangler.toml
– definitions for a Cloudflare Workers–based deployment option
• netlify.toml & build-for-netlify.sh
– Netlify deployment settings and helper script
• Dockerfile & docker-compose.yml
– containerized development/production presets
• DEPLOYMENT.md, deploy-worker.sh
– additional deployment guidance
• package.json & package-lock.json
– NPM scripts (“dev”, “build”) and dependencies
Patterns & choices:
• SPA built with Vite (modern bundler), TypeScript, Tailwind.
• Static‐site hosting (Netlify / Cloudflare), optionally containerized.
README for additional insights
• Tech stack: TypeScript, ECharts, Tailwind CSS.
• Use cases: Kubernetes / IaC configs, documentation, troubleshooting.