{"id":18059260,"url":"https://github.com/flo-bit/svelte-gpt-chat","last_synced_at":"2025-10-18T15:04:02.653Z","repository":{"id":235409512,"uuid":"655499643","full_name":"flo-bit/svelte-gpt-chat","owner":"flo-bit","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-19T06:01:13.000Z","size":214,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-06T22:57:08.210Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://flo-bit.github.io/svelte-gpt-chat/","language":"Svelte","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/flo-bit.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}},"created_at":"2023-06-19T03:08:15.000Z","updated_at":"2024-12-19T06:18:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b3341fc-8f52-475f-8daa-f54fd5d9a07f","html_url":"https://github.com/flo-bit/svelte-gpt-chat","commit_stats":null,"previous_names":["flo-bit/svelte-gpt-chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flo-bit/svelte-gpt-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flo-bit%2Fsvelte-gpt-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flo-bit%2Fsvelte-gpt-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flo-bit%2Fsvelte-gpt-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flo-bit%2Fsvelte-gpt-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flo-bit","download_url":"https://codeload.github.com/flo-bit/svelte-gpt-chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flo-bit%2Fsvelte-gpt-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274096282,"owners_count":25221602,"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-09-07T02:00:09.463Z","response_time":67,"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-10-31T03:10:43.814Z","updated_at":"2025-10-18T15:04:02.562Z","avatar_url":"https://github.com/flo-bit.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# svelte gpt chatbot\n\n## features\n\n- speech input and output (speech synthesis and speech recognition) using google cloud speech-to-text and whisper for text-to-speech\n- multiple languages (for speech input and output)\n- listening mode: automatically start and stop voice recording when speaking\n\n- streamed response\n- serverside or browserside api calls\n\n## todo\n\n- settings:\n  - [x] turn on/off speech input\n  - [x] turn on/off speech output\n  - [x] select language\n  - [ ] turn on/off dark mode\n  - [ ] select voice\n  - [ ] select gpt model\n  - [ ] select gpt settings (temperature, etc.)\n  - [ ] set start message\n- [x] add browser side api calls with api keys\n- [x] encode audio to mp3 (for cross browser support)\n- [x] get half second before speech start\n- [x] get half second after clicking stop\n- [ ] add function calls\n- [ ] show loading indicator\n- [ ] show error messages\n- [ ] multiple chats\n- [ ] save chats and settings in local storage\n- [ ] multiline input\n- [ ] edit chat (delete, edit, add)\n- [ ] figure out how to play and record on ios when phone locked\n\n## Developing\n\nCreate a `.env` file with the following content:\n\n```bash\n# .env\nGOOGLE_API_KEY=your-google-api-key\nOPENAI_API_KEY=your-openai-api-key\n```\n\nWhere your google API key has the Speech-to-Text API enabled.\n\nInstall dependencies with `npm install` and start a development server:\n\n```bash\n# install dependencies\nnpm install\n# start dev server\nnpm run dev\n```\n\nOpen the localhost url in your browser and start chatting.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflo-bit%2Fsvelte-gpt-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflo-bit%2Fsvelte-gpt-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflo-bit%2Fsvelte-gpt-chat/lists"}