{"id":28239077,"url":"https://github.com/onebitjoy/audiohive","last_synced_at":"2026-01-24T06:01:50.550Z","repository":{"id":287577046,"uuid":"965168531","full_name":"onebitjoy/audiohive","owner":"onebitjoy","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-12T15:09:48.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T02:43:34.825Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onebitjoy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-04-12T15:07:15.000Z","updated_at":"2025-04-12T15:09:51.000Z","dependencies_parsed_at":"2025-04-12T16:25:36.522Z","dependency_job_id":"5170c584-9f41-412f-bc95-d1b5e4df4e71","html_url":"https://github.com/onebitjoy/audiohive","commit_stats":null,"previous_names":["onebitjoy/audiohive"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/onebitjoy/audiohive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebitjoy%2Faudiohive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebitjoy%2Faudiohive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebitjoy%2Faudiohive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebitjoy%2Faudiohive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onebitjoy","download_url":"https://codeload.github.com/onebitjoy/audiohive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebitjoy%2Faudiohive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28715485,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T05:53:42.649Z","status":"ssl_error","status_checked_at":"2026-01-24T05:53:41.698Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2025-05-19T02:11:38.559Z","updated_at":"2026-01-24T06:01:50.534Z","avatar_url":"https://github.com/onebitjoy.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# audiohive\n\n# 🎥 Full Stack Audio \u0026 Video Call App – Roadmap\n\nBuild a modern audio and video calling application, with features similar to Zoom, Discord, or Clubhouse — using modern tools like WebRTC, tRPC, WebSockets, and Redis.\n\n---\n\n## 🔧 Phase 1: Project Setup \u0026 Core Infrastructure\n\n### ✅ Goals:\n- Project scaffolding\n- Auth, DB, and basic UI setup\n\n| Feature | Tech |\n|--------|------|\n| Project structure | Turborepo / Nx |\n| Frontend | Next.js + Tailwind CSS + tRPC + React Query |\n| Backend | Node.js + tRPC + Prisma + PostgreSQL |\n| Auth | NextAuth.js (OAuth, email/password) |\n| Dev Tools | ESLint, Prettier, Husky, Docker |\n\n### 🧩 Tasks:\n- [ ] Scaffold monorepo\n- [ ] Setup DB models (`users`, `rooms`, `calls`, `messages`)\n- [ ] User authentication\n- [ ] Dashboard with room list\n\n---\n\n## 📞 Phase 2: Room \u0026 Call Management\n\n### ✅ Goals:\n- Room creation, joining, and permission control\n\n| Feature | Tech |\n|--------|------|\n| Room management | tRPC + PostgreSQL |\n| Role-based access | Prisma roles |\n| Room metadata | tRPC queries |\n\n### 🧩 Tasks:\n- [ ] Create/join/leave room\n- [ ] Assign host/speaker/guest roles\n- [ ] Room info UI + backend sync\n\n---\n\n## 🎙️ Phase 3: WebRTC Setup for Streaming\n\n### ✅ Goals:\n- Real-time audio/video connection\n\n| Feature | Tech |\n|--------|------|\n| Local media | getUserMedia() |\n| Peer connection | WebRTC RTCPeerConnection |\n| STUN/TURN | coturn |\n| Signaling | tRPC or WebSocket |\n\n### 🧩 Tasks:\n- [ ] Capture local video/audio\n- [ ] Set up peer-to-peer connection\n- [ ] Signaling: ICE/SDP exchange\n- [ ] Mute/unmute, toggle camera\n\n---\n\n## 🔄 Phase 4: Real-Time Signaling System\n\n### ✅ Goals:\n- Real-time signaling and presence management\n\n| Feature | Tech |\n|--------|------|\n| Real-time events | WebSocket |\n| Multi-instance sync | Redis Pub/Sub |\n| Presence | Redis TTL keys |\n| Speaking detection | Web Audio API |\n\n### 🧩 Tasks:\n- [ ] WebSocket server setup\n- [ ] Handle signaling messages (`offer`, `answer`, `ice`)\n- [ ] Track online users in rooms\n- [ ] Display speaking status\n\n---\n\n## 👥 Phase 5: Group Calls \u0026 Dynamic Layouts\n\n### ✅ Goals:\n- Multi-user call experience\n\n| Feature | Tech |\n|--------|------|\n| Group peer mesh | WebRTC |\n| UI layout | CSS Grid/Flexbox |\n| Stream toggles | React state mgmt |\n| Speaker detection | Audio level analysis |\n\n### 🧩 Tasks:\n- [ ] Connect multiple peers (mesh or SFU)\n- [ ] Create grid-based layout\n- [ ] Dynamic UI based on active speakers\n\n---\n\n## 🛠️ Phase 6: Advanced Features\n\n### ✅ Goals:\n- Add rich modern features\n\n| Feature | Tech |\n|--------|------|\n| In-call chat | WebSocket / tRPC |\n| Screen sharing | getDisplayMedia() |\n| Push notifications | Web Push / FCM |\n| Call recording (optional) | MediaRecorder API / SFU |\n| Call scheduling | Cron jobs / calendar UI |\n| Analytics | Sentry / PostHog / custom logs |\n\n### 🧩 Tasks:\n- [ ] Implement screen sharing\n- [ ] Add push notifications\n- [ ] In-call text messaging\n- [ ] Collect call logs \u0026 metrics\n\n---\n\n## 🚀 Phase 7: Deployment \u0026 Scaling\n\n### ✅ Goals:\n- Production-ready setup with CI/CD\n\n| Feature | Tech |\n|--------|------|\n| Hosting | Vercel + Render / Fly.io |\n| TURN servers | coturn |\n| CI/CD | GitHub Actions |\n| Monitoring | Sentry + Grafana |\n\n### 🧩 Tasks:\n- [ ] Set up CI/CD\n- [ ] Deploy app and media server\n- [ ] Configure error/log tracking\n\n---\n\n## 🎯 Final App Features (Checklist)\n\n| Feature | Included |\n|--------|----------|\n| ✅ Audio \u0026 Video calling | ✅ |\n| ✅ WebRTC with signaling | ✅ |\n| ✅ Room creation \u0026 roles | ✅ |\n| ✅ Multi-user grid | ✅ |\n| ✅ Real-time chat | ✅ |\n| ✅ Push notifications | ✅ |\n| ✅ Screen sharing | ✅ |\n| ✅ Presence \u0026 speaker detection | ✅ |\n| ✅ OAuth login | ✅ |\n| ✅ Call analytics | ✅ |\n| ✅ Mobile-friendly UI | ✅ |\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonebitjoy%2Faudiohive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonebitjoy%2Faudiohive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonebitjoy%2Faudiohive/lists"}