An interactive serverless dashboard that explores the fascinating correlation between GitHub repository activity and solar activity. This creative project mashes up two completely unrelated data sources to discover if cosmic events influence developer productivity!
🌌 Try Demo(https://yengeshwaran.github.io/Cosmic-Code-Dashboard/)
- Real-time Data Integration: Fetches live data from GitHub API and NOAA Space Weather services
- Interactive Visualizations: Beautiful charts showing GitHub commits, pull requests, issues, and solar activity
- Correlation Analysis: Scatter plots and statistical analysis to explore potential relationships
- Responsive Design: Works perfectly on desktop and mobile devices
- Glass Morphism UI: Modern, attractive interface with cosmic theme
- Zero Cost: Uses only free APIs and can be deployed on free hosting platforms
- Frontend: React 18 + Vite
- Styling: Tailwind CSS with custom cosmic theme
- Charts: Recharts for interactive data visualizations
- Data Sources:
- GitHub API (public repository statistics)
- NOAA Space Weather API (solar activity data)
- Deployment: Can be deployed on Vercel, Netlify, or GitHub Pages (all free)
- Repository commit statistics from popular open-source projects
- Pull request and issue tracking
- Aggregated activity metrics across multiple repositories
- Solar flux index from NOAA
- Sunspot numbers
- Geomagnetic activity levels (Kp index)
This dashboard explores the intriguing question: Do solar flares and cosmic events influence developer productivity?
While correlation doesn't imply causation, some theories suggest:
- Solar storms might affect human circadian rhythms
- Electromagnetic activity could influence mood and focus
- Developers might be more active during interesting cosmic events
-
Clone the repository
git clone <repository-url> cd cosmic-code-dashboard
-
Install dependencies
npm install
-
Start development server
npm run dev
-
Open your browser Navigate to
http://localhost:3000
npm run buildThe built files will be in the dist directory, ready for deployment.
- Push code to GitHub
- Connect repository to Vercel
- Deploy automatically
- Drag and drop the
distfolder to Netlify - Or connect GitHub repository for continuous deployment
- Build the project:
npm run build - Deploy the
distfolder to GitHub Pages
- Add more repositories: Edit
src/services/dataService.jsto include more GitHub repositories - Different time ranges: Modify the date range in data fetching functions
- New visualizations: Add more chart types in the Dashboard component
- Styling: Customize the cosmic theme in
tailwind.config.js
- Add more data sources (cryptocurrency prices, weather data, etc.)
- Implement machine learning for better correlation analysis
- Add user authentication to track personal GitHub activity
- Include more space weather metrics
- Add export functionality for data and charts
Feel free to contribute by:
- Adding new data sources
- Improving visualizations
- Enhancing the correlation analysis
- Fixing bugs or improving performance
MIT License - feel free to use this project for learning, experimentation, or building your own cosmic dashboards!
"In space, no one can hear you code... but they can see your commits!" 🚀👨💻
Visit the live dashboard: Cosmic Code Dashboard