{"id":17887848,"url":"https://github.com/smithclay/llm-chat-react-vercel","last_synced_at":"2025-03-22T19:33:23.940Z","repository":{"id":232298368,"uuid":"622439525","full_name":"smithclay/llm-chat-react-vercel","owner":"smithclay","description":"Simple LLM chat application with a python backend and react frontend, deployable on Vercel","archived":true,"fork":false,"pushed_at":"2023-04-06T04:05:07.000Z","size":528,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-14T02:53:20.779Z","etag":null,"topics":["gpt-4","openai-api","react","whisper-ai"],"latest_commit_sha":null,"homepage":"https://llm-chat.vercel.app","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/smithclay.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}},"created_at":"2023-04-02T05:30:49.000Z","updated_at":"2024-07-29T19:44:32.000Z","dependencies_parsed_at":"2024-04-09T01:36:55.848Z","dependency_job_id":"37393573-b94d-43fc-a7af-63124a9a8e79","html_url":"https://github.com/smithclay/llm-chat-react-vercel","commit_stats":null,"previous_names":["smithclay/llm-chat-react-vercel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smithclay%2Fllm-chat-react-vercel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smithclay%2Fllm-chat-react-vercel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smithclay%2Fllm-chat-react-vercel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smithclay%2Fllm-chat-react-vercel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smithclay","download_url":"https://codeload.github.com/smithclay/llm-chat-react-vercel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245013742,"owners_count":20547175,"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":["gpt-4","openai-api","react","whisper-ai"],"created_at":"2024-10-28T13:35:40.514Z","updated_at":"2025-03-22T19:33:23.548Z","avatar_url":"https://github.com/smithclay.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LLM Chat with React, OpenAI, and Vercel\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fsmithclay%2Fllm-chat-react-vercel\u0026env=OPENAI_API_KEY\u0026envDescription=API%20Keys%20needed)\n\n\u003cimg src=\"https://raw.githubusercontent.com/smithclay/llm-chat-react-vercel/main/screenshot.png\" title=\"screenshot\" alt=\"screenshot\" width=\"200\" /\u003e\n\n\nThis is an example of a conversational (with voice!) React app that calls a simple serverless backend written in Python. \n\nThe backend automatically gets deployed to appropraite endpoint if using [Vercel](https://vercel.com). Use the \"Deploy\" button above to deploy it to your own project.\n\n## Setup\n\n* You will need an OpenAI API token set to the `OPENAI_API_KEY` env variable. This app uses the GPT-4 model.\n* If have `gpt-4` API access, set the `OPENAI_API_MODEL` env var to `gpt-4`, otherwise it will use `gpt-3.5-turbo`.\n\n```bash\nnpm install\n```\n\n## Running locally\n\n```bash\n# This starts the backend\nnpm i -g vercel\nvercel dev\n```\n\n## Deploying\n\n```bash\n# Only need to set the key once\nvercel env add OPENAI_API_KEY\nvercel deploy\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmithclay%2Fllm-chat-react-vercel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmithclay%2Fllm-chat-react-vercel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmithclay%2Fllm-chat-react-vercel/lists"}