{"id":15385012,"url":"https://github.com/manekinekko/angular-openai-chat","last_synced_at":"2025-04-15T19:43:40.155Z","repository":{"id":146301572,"uuid":"605661754","full_name":"manekinekko/angular-openai-chat","owner":"manekinekko","description":"A chatbot that uses OpenAI's GPT API to generate responses to user input.","archived":false,"fork":false,"pushed_at":"2023-02-24T14:21:46.000Z","size":188,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T00:25:31.993Z","etag":null,"topics":["ai","angular","chatbot","chatgpt","gpt-3","gpt-4","nodejs","openai"],"latest_commit_sha":null,"homepage":"","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/manekinekko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":"manekinekko"}},"created_at":"2023-02-23T16:25:32.000Z","updated_at":"2024-05-27T15:21:48.000Z","dependencies_parsed_at":"2024-04-14T20:05:14.119Z","dependency_job_id":"e9f9f32b-9578-40af-a733-0909d22b3c48","html_url":"https://github.com/manekinekko/angular-openai-chat","commit_stats":null,"previous_names":["manekinekko/angular-openai-chat"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manekinekko%2Fangular-openai-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manekinekko%2Fangular-openai-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manekinekko%2Fangular-openai-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manekinekko%2Fangular-openai-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manekinekko","download_url":"https://codeload.github.com/manekinekko/angular-openai-chat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249141504,"owners_count":21219505,"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":["ai","angular","chatbot","chatgpt","gpt-3","gpt-4","nodejs","openai"],"created_at":"2024-10-01T14:43:50.918Z","updated_at":"2025-04-15T19:43:40.131Z","avatar_url":"https://github.com/manekinekko.png","language":"TypeScript","funding_links":["https://github.com/sponsors/manekinekko"],"categories":[],"sub_categories":[],"readme":"# OpenAI Chat\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/1699357/221192599-7f623130-042b-4bf3-8d91-8a933a702c39.png\"/\u003e\n\u003c/p\u003e\n\n## Description\n\nThis project is a simple chatbot that uses OpenAI's GPT-3 API to generate responses to user input. It is built using Angular and Material Design.\n\n## Installation\n\nRun `npm install` to install the project dependencies.\n\n## Configuration\n\n1. Create an account on [OpenAI](https://openai.com/).\n2. Create an API key on [OpenAI's API Keys page](https://beta.openai.com/account/api-keys).\n3. Create an `.env` file under `./api` and add the following environment variables:\n\n```bash\nOPENAI_API_KEY=\u003cYOUR OPENAI API KEY\u003e\n```\n\n## Development server\n\nRun `npx swa start` for a dev server. Navigate to `http://localhost:4280/`. The application will automatically reload if you change any of the source files.\n\n## Build\n\nRun `npx swa build` to build the project. The build artifacts will be stored in the `dist/openai-chat` directory for the Angular application and `./api` directory for the API.\n\n## Deploy\n\nRun `npx swa deploy` to deploy the application to Azure Static Web Apps. You will be prompted to login to Azure and select a subscription and resource group. You will also be prompted to create a new Static Web App or select an existing one.\n\nNote: You will need to add the `OPENAI_API_KEY` environment variable to your Static Web App's configuration. Read more about [environment variables](https://learn.microsoft.com/azure/static-web-apps/application-settings).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanekinekko%2Fangular-openai-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanekinekko%2Fangular-openai-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanekinekko%2Fangular-openai-chat/lists"}