How vaibhavsirana8474/git-activity-pulse works
This is a browser-based GitHub commit analytics dashboard. A user enters a repository, the app fetches recent commits, computes activity, contributor, and sentiment metrics, then presents charts and a commit table; users can filter results and export them as CSV. The implementation is concentrated in app.js, so several distinct responsibilities share that path. The README documents the dashboard’s capabilities, while the excerpts show only parts of the implementation; edges are limited to relationships visible in those excerpts or documented in the README.
Main entry points: app.js GitHub Ingestion · index.html Repository Entry
Components 13
Commit Analysis
- Message Sentiment
app.js - Activity Metrics
app.js - Contributor Metrics
app.js
Dashboard Output
- Dashboard Metrics
app.js - Activity and Sentiment Charts
app.js - Commit Sentiment Table
app.js - CSV Export
app.js
User Controls
- Repository Entry
index.html - GitHub Ingestion
app.js - Author Date Filters
app.js
Other components
- User
- GitHub REST API
- Chart.js
Connections 17
- User → Repository Entry: enters repository
README.md - Repository Entry → GitHub Ingestion: starts analysis
app.js - GitHub Ingestion → GitHub REST API: fetches commits
app.js - GitHub Ingestion → Activity Metrics: processes commits
app.js - GitHub Ingestion → Message Sentiment: scores messages
app.js - GitHub Ingestion → Contributor Metrics: counts authors
app.js - Author Date Filters → Activity Metrics: reprocesses filtered commits
app.js - Author Date Filters → Message Sentiment: reprocesses filtered commits
app.js - Activity Metrics → Dashboard Metrics: updates metrics
app.js - Contributor Metrics → Dashboard Metrics: updates top contributor
app.js - Message Sentiment → Dashboard Metrics: updates average score
app.js - Activity Metrics → Activity and Sentiment Charts: supplies hourly counts
app.js - Message Sentiment → Activity and Sentiment Charts: supplies trend scores
app.js - Activity and Sentiment Charts → Chart.js: creates charts
app.js - Message Sentiment → Commit Sentiment Table: renders scores
app.js - User → Author Date Filters: sets filters
app.js - User → CSV Export: requests export
app.js