{"id":21678524,"url":"https://github.com/cdpath/g4fd","last_synced_at":"2026-05-09T18:32:11.949Z","repository":{"id":263812722,"uuid":"891469727","full_name":"cdpath/G4FD","owner":"cdpath","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-20T11:50:34.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T09:51:15.326Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/cdpath.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}},"created_at":"2024-11-20T11:48:48.000Z","updated_at":"2024-12-11T05:50:08.000Z","dependencies_parsed_at":"2024-11-21T03:08:49.870Z","dependency_job_id":null,"html_url":"https://github.com/cdpath/G4FD","commit_stats":null,"previous_names":["cdpath/g4fd"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cdpath/G4FD","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdpath%2FG4FD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdpath%2FG4FD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdpath%2FG4FD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdpath%2FG4FD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdpath","download_url":"https://codeload.github.com/cdpath/G4FD/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdpath%2FG4FD/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32830765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":"2024-11-25T14:36:27.611Z","updated_at":"2026-05-09T18:32:11.932Z","avatar_url":"https://github.com/cdpath.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"基于 WebRTC 技术、AI 智能代理与函数调用（Function Call）的实时语音交互解决方案\n\n\n```mermaid\nsequenceDiagram\n    participant User (iOS App)\n    participant Frontend\n    participant LiveKit Cloud\n    participant Backend Agent\n    participant Silero VAD\n    participant Deepgram\n    participant OpenAI\n    participant MyEnvironmentAPI\n    participant ElevenLabs\n    \n    User (iOS App)-\u003e\u003eMyEnvironmentAPI: Sends photo every 10s\n    User (iOS App)-\u003e\u003eFrontend: Clicks \"Start conversation\"\n    Frontend-\u003e\u003eFrontend: Generates room name \u0026 token\n    Frontend-\u003e\u003eLiveKit Cloud: Connects to room with token\n    Backend Agent-\u003e\u003eLiveKit Cloud: Monitors for new rooms\n    LiveKit Cloud-\u003e\u003eBackend Agent: Notifies of new room\n    Backend Agent-\u003e\u003eLiveKit Cloud: Joins room\n    Note over Frontend,Backend Agent: WebRTC connection established\n    Frontend-\u003e\u003eBackend Agent: Streams audio\n    Backend Agent-\u003e\u003eSilero VAD: Detects voice activity\n    Silero VAD-\u003e\u003eBackend Agent: Returns speech segments\n    Backend Agent-\u003e\u003eDeepgram: Audio for STT\n    Deepgram-\u003e\u003eBackend Agent: Transcribed text\n    Backend Agent-\u003e\u003eOpenAI: Sends text to LLM\n    OpenAI-\u003e\u003eBackend Agent: LLM response\n    Backend Agent-\u003e\u003eMyEnvironmentAPI: Fetches current environment\n    MyEnvironmentAPI-\u003e\u003eBackend Agent: Returns environment data\n    Backend Agent-\u003e\u003eElevenLabs: Sends response for TTS\n    ElevenLabs-\u003e\u003eBackend Agent: Synthesized audio\n    Backend Agent-\u003e\u003eFrontend: Streams audio response\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdpath%2Fg4fd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdpath%2Fg4fd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdpath%2Fg4fd/lists"}