cg-monitor
Dashboard of activity from Community Groups
W3C Community Groups activity monitor collects and charts group participation
cg-monitor is a JavaScript tool that gathers activity data from W3C Community Groups and turns it into reports and charts for the CG Activity Dashboard.
Data sources
The monitor collects activity from several places: the W3C API, GitHub repositories, mailing list archives, RSS feeds, and wikis. It requires Node.js 20.x and a GitHub personal access token. The token needs no special scopes and is used only to raise the GitHub API rate limit so larger collections finish without throttling.
Running the monitor
Setup is a standard npm install followed by copying config.json.dist to config.json and adding the GitHub token. Running node monitor.js fetches data from every source and writes one JSON file per group into the data directory. To refresh only certain groups you can pass their W3C API IDs on the command line, such as node monitor.js 12345 67890.
Building reports
After collection, node prepare-data.js builds report.json for the dashboard, node export-popularity.js computes group popularity rankings, and node generate-activity-graphs.js produces SVG charts in the viz directory. Together these power the public CG Activity Dashboard hosted on the W3C GitHub Pages domain.
Editorial conclusion
cg-monitor requires Node.js 20.x and carries no SPDX license in the catalog, and it feeds the public CG Activity Dashboard hosted on the W3C GitHub Pages domain.
Community notes