{"id":30351087,"url":"https://github.com/bravo68web/is-he-online","last_synced_at":"2026-05-07T10:36:24.071Z","repository":{"id":308738545,"uuid":"1033780110","full_name":"BRAVO68WEB/is-he-online","owner":"BRAVO68WEB","description":"Live Presense Tracker // 🔎","archived":false,"fork":false,"pushed_at":"2025-08-07T19:39:24.000Z","size":204,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-18T02:50:01.910Z","etag":null,"topics":["discord","livestream","presense","rpc","sse","vscode-extension"],"latest_commit_sha":null,"homepage":"","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/BRAVO68WEB.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}},"created_at":"2025-08-07T10:32:40.000Z","updated_at":"2025-08-07T19:39:27.000Z","dependencies_parsed_at":"2025-08-07T16:46:38.870Z","dependency_job_id":null,"html_url":"https://github.com/BRAVO68WEB/is-he-online","commit_stats":null,"previous_names":["bravo68web/is-he-online"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BRAVO68WEB/is-he-online","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BRAVO68WEB%2Fis-he-online","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BRAVO68WEB%2Fis-he-online/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BRAVO68WEB%2Fis-he-online/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BRAVO68WEB%2Fis-he-online/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BRAVO68WEB","download_url":"https://codeload.github.com/BRAVO68WEB/is-he-online/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BRAVO68WEB%2Fis-he-online/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271073389,"owners_count":24694538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"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":["discord","livestream","presense","rpc","sse","vscode-extension"],"created_at":"2025-08-18T23:01:02.899Z","updated_at":"2026-05-07T10:36:24.066Z","avatar_url":"https://github.com/BRAVO68WEB.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Is He Online? 👀\n\n[![Turborepo](https://img.shields.io/badge/Built%20with-Turborepo-blue)](https://turbo.build)\n[![uWebSockets.js](https://img.shields.io/badge/Powered%20by-uWebSockets.js-green)](https://github.com/uNetworking/uWebSockets.js)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.0-blue)](https://typescriptlang.org)\n\nA blazing-fast, real-time presence monitoring system for Discord and VSCode activity broadcasting built with modern tools and architecture.\n\n## 🏗️ Architecture\n\nThis project uses a **Turborepo monorepo** structure for better organization and development experience:\n\n```\n└── packages/\n    └── api/              # @is-he-online/broadcast-api - Ultra-fast uWebSockets.js server\n```\n\n## ⚡ Key Features\n\n- 🚀 **Ultra-fast uWebSockets.js** - C++ performance, 8x faster than Node.js HTTP\n- 📡 **Unlimited SSE streaming** - No timeout limitations, infinite connections\n- 👤 **Real-time Discord monitoring** - Track user presence and activities\n- 🏗️ **Modern monorepo** - Turborepo for efficient development workflow\n- 🎯 **TypeScript everywhere** - Full type safety across all packages\n\n## 🚀 Quick Start\n\n### Prerequisites\n- Node.js 18+ \n- Discord Bot Token\n- Target Discord User ID\n\n### 1. Clone and Install\n```bash\ngit clone \u003crepository-url\u003e\ncd is-he-online\nnpm install\n```\n\n### 2. Configure Environment\n```bash\ncd packages/api\ncp .env.example .env\n# Edit .env with your Discord credentials\n```\n\n### 3. Build All Packages\n```bash\nyarn build\n```\n\n### 4. Start Development\n```bash\n# Start API server\nyarn dev --  -- --workspace packages/api\n```\n\n## 📦 Packages\n\n### 🔌 Broadcast API (`@is-he-online/broadcast-api`)\nUltra-fast Discord and VSCode activity broadcasting API built with uWebSockets.js.\n\n**Features:**\n- Discord bot integration with presence monitoring\n- Real-time SSE streaming without timeouts\n- Health monitoring and activity endpoints\n\n**Tech Stack:**\n- uWebSockets.js for ultra-fast HTTP/SSE\n- Discord.js for bot functionality\n- TypeScript for type safety\n\n## 🛠️ Development\n\n### Available Scripts\n\n| Command | Description |\n|---------|-------------|\n| `npm run build` | Build all packages |\n| `npm run dev` | Start all packages in development mode |\n| `npm run lint` | Lint all packages |\n| `npm run clean` | Clean all build outputs |\n\n### Workspace Commands\n\n| Workspace  | Description |\n|------------|-------------|\n| `yarn dev` | Start broadcast API server |\n\n## 🔧 Configuration\n\n### API Server (packages/api/.env)\n```env\nDISCORD_TOKEN=your_discord_bot_token\nTARGET_USER_ID=your_discord_user_id\nTARGET_USER_NAME=your_discord_user_name\nPORT=3000\n```\n\n## 📊 API Endpoints\n\n| Endpoint | Method | Description | Authentication |\n|----------|--------|-------------|----------------|\n| `/health` | GET | Health check and status | None |\n| `/activity` | GET | Current Discord activity | None |\n| `/events` | GET | SSE stream for real-time updates | None |\n\n## 🎯 Performance Benefits\n\n### uWebSockets.js vs Traditional Solutions\n\n| Metric | uWebSockets.js | Node.js HTTP | Improvement |\n|--------|----------------|--------------|-------------|\n| **Throughput** | ~1M req/s | ~125k req/s | **8x faster** |\n| **Memory Usage** | Low | High | **50% less** |\n| **SSE Connections** | Unlimited | Limited | **No timeouts** |\n| **Latency** | Ultra-low | Standard | **3x lower** |\n\n## 🧪 Testing\n\nTest individual components:\n\n```bash\n# Test API server\ncurl http://localhost:3000/health\n\n# Test SSE connection\ncurl -N http://localhost:3000/events\n```\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create your 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## 🙏 Acknowledgments\n\n- [uWebSockets.js](https://github.com/uNetworking/uWebSockets.js) - Ultra-fast WebSocket and HTTP library\n- [Discord.js](https://discord.js.org) - Powerful Discord API library\n- [Turborepo](https://turbo.build) - High-performance build system\n- [TypeScript](https://typescriptlang.org) - Typed JavaScript at scale","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbravo68web%2Fis-he-online","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbravo68web%2Fis-he-online","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbravo68web%2Fis-he-online/lists"}