{"id":50567991,"url":"https://github.com/devansh054/dev-pulse","last_synced_at":"2026-06-04T16:01:38.651Z","repository":{"id":315675466,"uuid":"1060459452","full_name":"devansh054/dev-pulse","owner":"devansh054","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-20T02:06:31.000Z","size":6746,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-20T02:36:24.223Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devansh054.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-20T00:40:13.000Z","updated_at":"2025-09-20T02:06:34.000Z","dependencies_parsed_at":"2025-09-20T02:46:46.587Z","dependency_job_id":null,"html_url":"https://github.com/devansh054/dev-pulse","commit_stats":null,"previous_names":["devansh054/dev-pulse"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/devansh054/dev-pulse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devansh054%2Fdev-pulse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devansh054%2Fdev-pulse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devansh054%2Fdev-pulse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devansh054%2Fdev-pulse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devansh054","download_url":"https://codeload.github.com/devansh054/dev-pulse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devansh054%2Fdev-pulse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33912343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-04T16:01:37.638Z","updated_at":"2026-06-04T16:01:38.637Z","avatar_url":"https://github.com/devansh054.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# DevPulse - AI-Powered Developer Intelligence Platform\n\nDevPulse is an intelligent developer companion that provides AI-driven insights, burnout prediction, team collaboration analytics, and personalized productivity recommendations. Unlike basic time trackers like WakaTime, DevPulse offers holistic developer intelligence that combines code quality, productivity, learning velocity, and wellbeing metrics.\n\n## 🚀 Features\n\n### Core Intelligence\n- **AI Developer Coach**: Burnout prediction, optimal schedule recommendations, skill gap analysis\n- **Multi-Source Data Integration**: GitHub, Slack, Jira, Calendar, IDE activity\n- **Team Collaboration Health**: Communication efficiency, code review bottlenecks, knowledge silos\n- **Predictive Work-Life Balance**: Energy pattern analysis, weekend work alerts\n- **Learning Acceleration Engine**: Skill trajectory mapping, personalized learning recommendations\n- **Mental Health \u0026 Wellbeing**: Stress detection, flow state optimization\n\n### Dashboard Features\n- Real-time productivity metrics\n- Contribution streak tracking\n- Goal setting and progress monitoring\n- Activity timeline and insights\n- Team performance analytics\n- Personalized AI recommendations\n\n## 🛠 Technology Stack\n\n### Backend\n- **Node.js + Express.js** with TypeScript\n- **PostgreSQL** with Prisma ORM\n- **JWT Authentication** with GitHub OAuth\n- **GitHub API Integration** for developer metrics\n- **Winston Logging** for comprehensive monitoring\n\n### Database\n- **PostgreSQL** for reliable data storage\n- **Prisma** for type-safe database operations\n- Comprehensive schema for users, metrics, goals, insights, and teams\n\n### Security \u0026 Performance\n- **Helmet.js** for security headers\n- **Rate limiting** to prevent abuse\n- **CORS** configuration for frontend integration\n- **Error handling** with detailed logging\n\n## 📦 Installation\n\n### Prerequisites\n- Node.js 18+ \n- PostgreSQL database\n- GitHub OAuth App (for authentication)\n\n### Setup\n\n1. **Clone and install dependencies:**\n```bash\ncd devpulse\nnpm install\n```\n\n2. **Environment Configuration:**\n```bash\ncp .env.example .env\n```\n\nEdit `.env` with your configuration:\n```env\nDATABASE_URL=\"postgresql://username:password@localhost:5432/devpulse\"\nJWT_SECRET=\"your-super-secret-jwt-key\"\nGITHUB_CLIENT_ID=\"your-github-oauth-client-id\"\nGITHUB_CLIENT_SECRET=\"your-github-oauth-client-secret\"\nPORT=5000\nFRONTEND_URL=\"http://localhost:3000\"\n```\n\n3. **Database Setup:**\n```bash\n# Generate Prisma client\nnpm run db:generate\n\n# Push schema to database\nnpm run db:push\n\n# Optional: Open Prisma Studio\nnpm run db:studio\n```\n\n4. **GitHub OAuth Setup:**\n   - Go to GitHub Settings \u003e Developer settings \u003e OAuth Apps\n   - Create a new OAuth App\n   - Set Authorization callback URL to: `http://localhost:3000/auth/callback`\n   - Copy Client ID and Client Secret to your `.env` file\n\n5. **Start Development Server:**\n```bash\nnpm run dev\n```\n\nThe API will be available at `http://localhost:5000`\n\n## 📡 API Endpoints\n\n### Authentication\n- `POST /api/auth/github/callback` - GitHub OAuth callback\n- `GET /api/auth/me` - Get current user\n- `PUT /api/auth/profile` - Update user profile\n- `POST /api/auth/logout` - Logout user\n\n### Dashboard\n- `GET /api/dashboard` - Get dashboard overview\n- `GET /api/dashboard/trends` - Get productivity trends\n- `GET /api/dashboard/team` - Get team dashboard\n\n### GitHub Integration\n- `GET /api/github/stats` - Get GitHub user stats\n- `GET /api/github/repositories` - Get user repositories\n- `POST /api/github/sync` - Sync GitHub data\n- `GET /api/github/activity/:owner/:repo` - Get commit activity\n\n### User Management\n- `GET /api/user/goals` - Get user goals\n- `POST /api/user/goals` - Create new goal\n- `PUT /api/user/goals/:id` - Update goal\n- `DELETE /api/user/goals/:id` - Delete goal\n- `GET /api/user/insights` - Get AI insights\n- `GET /api/user/activity` - Get activity log\n- `GET /api/user/stats` - Get user statistics\n\n## 🔒 Security Features\n\n- **JWT Authentication** with secure token handling\n- **Rate limiting** (100 requests per 15 minutes)\n- **CORS protection** with configurable origins\n- **Helmet.js** security headers\n- **Input validation** and sanitization\n- **Error handling** without sensitive data exposure\n\n## 📊 Database Schema\n\nThe application uses a comprehensive PostgreSQL schema with the following main entities:\n\n- **Users**: Core user profiles with GitHub integration\n- **Projects**: User projects and repositories\n- **DailyMetrics**: Daily productivity and activity metrics\n- **Goals**: User-defined goals and progress tracking\n- **Insights**: AI-generated insights and recommendations\n- **Teams**: Team management and collaboration\n- **ActivityLog**: Detailed activity tracking\n\n## 🚀 Development\n\n### Available Scripts\n\n```bash\nnpm run dev          # Start development server with hot reload\nnpm run build        # Build for production\nnpm start           # Start production server\nnpm test            # Run tests\nnpm run lint        # Run ESLint\nnpm run lint:fix    # Fix ESLint issues\nnpm run db:generate # Generate Prisma client\nnpm run db:push     # Push schema to database\nnpm run db:migrate  # Run database migrations\nnpm run db:studio   # Open Prisma Studio\n```\n\n### Project Structure\n\n```\nsrc/\n├── app.ts              # Main application setup\n├── middleware/         # Express middleware\n│   ├── auth.ts        # Authentication middleware\n│   └── errorHandler.ts # Global error handling\n├── routes/            # API route handlers\n│   ├── auth.ts        # Authentication routes\n│   ├── dashboard.ts   # Dashboard data routes\n│   ├── github.ts      # GitHub integration routes\n│   └── user.ts        # User management routes\n├── services/          # Business logic services\n│   └── githubService.ts # GitHub API integration\n└── utils/             # Utility functions\n    └── logger.ts      # Winston logging setup\n```\n\n## 🔮 Roadmap\n\n### Phase 1: MVP (Current)\n- ✅ GitHub integration and commit analysis\n- ✅ Basic productivity dashboard\n- ✅ User authentication and profiles\n- ✅ Goal setting and tracking\n\n### Phase 2: Intelligence Layer\n- 🔄 Basic burnout prediction model\n- 🔄 Personalized productivity insights\n- 🔄 Team collaboration metrics\n- 🔄 Learning progress tracking\n\n### Phase 3: Advanced Features\n- ⏳ Multi-source data integration (Slack, Jira, Calendar)\n- ⏳ Advanced AI recommendations\n- ⏳ Team management features\n- ⏳ Mobile-responsive frontend\n\n### Phase 4: Production Ready\n- ⏳ Performance optimization\n- ⏳ Comprehensive testing\n- ⏳ Security hardening\n- ⏳ Documentation and deployment\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🆘 Support\n\nFor support and questions:\n- Create an issue on GitHub\n- Check the documentation\n- Review the API endpoints above\n\n---\n\n**DevPulse** - Transforming developer productivity through intelligent insights and AI-powered recommendations. 🚀\n=======\n# dev-pulse\n\u003e\u003e\u003e\u003e\u003e\u003e\u003e b7ee9a235e33dd98ca33f4f42a6eb9f9b21572a2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevansh054%2Fdev-pulse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevansh054%2Fdev-pulse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevansh054%2Fdev-pulse/lists"}