{"id":14979118,"url":"https://github.com/ai-ng/swift","last_synced_at":"2025-04-04T19:13:00.304Z","repository":{"id":247268222,"uuid":"802992624","full_name":"ai-ng/swift","owner":"ai-ng","description":"Fast voice assistant powered by Groq, Cartesia, and Vercel.","archived":false,"fork":false,"pushed_at":"2024-08-02T15:53:18.000Z","size":274,"stargazers_count":486,"open_issues_count":5,"forks_count":96,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-10-29T17:24:07.768Z","etag":null,"topics":["artificial-intelligence","cartesia","groq","llama","nextjs","react","vercel","whisper"],"latest_commit_sha":null,"homepage":"https://swift-ai.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ai-ng.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-05-19T20:08:37.000Z","updated_at":"2024-10-27T08:53:08.000Z","dependencies_parsed_at":"2024-07-15T03:28:44.314Z","dependency_job_id":"384169bd-2f09-4329-82df-7b01f928306f","html_url":"https://github.com/ai-ng/swift","commit_stats":{"total_commits":108,"total_committers":2,"mean_commits":54.0,"dds":0.0092592592592593,"last_synced_commit":"13b8feca22e12b96bcae8954c1aee69028b6a645"},"previous_names":["ai-ng/swift"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai-ng%2Fswift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai-ng%2Fswift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai-ng%2Fswift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai-ng%2Fswift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ai-ng","download_url":"https://codeload.github.com/ai-ng/swift/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234923,"owners_count":20905854,"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","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":["artificial-intelligence","cartesia","groq","llama","nextjs","react","vercel","whisper"],"created_at":"2024-09-24T13:59:18.173Z","updated_at":"2025-04-04T19:13:00.276Z","avatar_url":"https://github.com/ai-ng.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Swift](https://swift-ai.vercel.app)\n\nSwift is a fast AI voice assistant.\n\n-   [Groq](https://groq.com) is used for fast inference of [OpenAI Whisper](https://github.com/openai/whisper) (for transcription) and [Meta Llama 3](https://llama.meta.com/llama3/) (for generating the text response).\n-   [Cartesia](https://cartesia.ai)'s [Sonic](https://cartesia.ai/sonic) voice model is used for fast speech synthesis, which is streamed to the frontend.\n-   [VAD](https://www.vad.ricky0123.com/) is used to detect when the user is talking, and run callbacks on speech segments.\n-   The app is a [Next.js](https://nextjs.org) project written in TypeScript and deployed to [Vercel](https://vercel.com).\n\nThank you to the teams at Groq and Cartesia for providing access to their APIs for this demo!\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fai-ng%2Fswift\u0026env=GROQ_API_KEY,CARTESIA_API_KEY\u0026envDescription=Groq%20and%20Cartesia's%20APIs%20are%20used%20for%20transcription%2C%20text%20generation%2C%20and%20speech%20synthesis.\u0026project-name=swift\u0026repository-name=swift\u0026demo-title=Swift\u0026demo-description=A%20fast%2C%20open-source%20voice%20assistant%20powered%20by%20Groq%2C%20Cartesia%2C%20and%20Vercel.\u0026demo-url=https%3A%2F%2Fswift-ai.vercel.app\u0026demo-image=https%3A%2F%2Fswift-ai.vercel.app%2Fopengraph-image.png)\n\n## Developing\n\n-   Clone the repository\n-   Copy `.env.example` to `.env.local` and fill in the environment variables.\n-   Run `pnpm install` to install dependencies.\n-   Run `pnpm dev` to start the development server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fai-ng%2Fswift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fai-ng%2Fswift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fai-ng%2Fswift/lists"}