How zouhir/jarvis works
J.A.R.V.I.S. is a browser dashboard for webpack build progress and reports. A webpack plugin starts the local server, formats compiler statistics, and emits project, progress, and stats events; the browser dashboard presents those results as status cards, logs, asset lists, module breakdowns, and download-time estimates. The README also documents one-click error searches. The graph follows the sampled runtime entry points and UI wiring; unsampled reporting details are represented only at the documented subsystem level.
Main entry points: board.js Dashboard board · server/index.js Jarvis plugin · perf-budget/index.js Performance budget · server.js Dashboard server
Components 19
Plugin and server
- Jarvis plugin
src/server/index.js - Dashboard server
src/server/server.js
Build reporting
- Stats reporter
src/server/reporter-util.js
Dashboard UI
- Client entry
src/client/index.js - App shell
src/client/components/app.js - Dashboard board
src/client/components/board.js - Project navigation
src/client/components/nav/index.js - Status cards
src/client/components/mini-card/index.js - Build log terminal
src/client/components/terminal/index.js - Error search button
src/client/components/search-button/index.js - Bundle list
src/client/components/bundles-list/index.js - Module table
src/client/components/table/index.js
Build analysis
- Performance budget
src/client/components/perf-budget/index.js - Connection profiles
src/client/DATA/global-speed.json - Dashboard helpers
src/client/helpers/utils.js - Memoization helper
src/client/helpers/memoize.js
Other components
- Webpack compiler
- Dashboard user
- Google / Stack Overflow
Connections 20
- Webpack compiler → Jarvis plugin: invokes hooks
src/server/index.js - Jarvis plugin → Dashboard server: starts server
src/server/index.js - Jarvis plugin → Stats reporter: formats stats
src/server/index.js - Dashboard server → Dashboard user: serves dashboard
src/server/server.js - Dashboard user → Dashboard server: opens dashboard
README.md - Jarvis plugin → Dashboard board: emits dashboard events
src/server/index.js - Client entry → App shell: mounts
src/client/index.js - App shell → Dashboard board: renders
src/client/components/app.js - Dashboard board → Project navigation: renders
src/client/components/board.js - Dashboard board → Status cards: renders
src/client/components/board.js - Dashboard board → Build log terminal: renders
src/client/components/board.js - Dashboard board → Bundle list: renders
src/client/components/board.js - Dashboard board → Module table: renders
src/client/components/board.js - Dashboard board → Performance budget: renders
src/client/components/board.js - Dashboard board → Dashboard helpers: formats sizes
src/client/components/board.js - Build log terminal → Error search button: renders
src/client/components/terminal/index.js - Error search button → Google / Stack Overflow: searches errors
README.md - Performance budget → Connection profiles: uses profiles
src/client/components/perf-budget/index.js - Performance budget → Memoization helper: memoizes calculation
src/client/components/perf-budget/index.js - Module table → Dashboard helpers: formats sizes
src/client/components/table/index.js