{"id":18313720,"url":"https://github.com/viraj5903/cosmochatui","last_synced_at":"2025-04-09T12:25:08.870Z","repository":{"id":243597086,"uuid":"812855638","full_name":"Viraj5903/CosmoChatUI","owner":"Viraj5903","description":"CosmoChat UI is the frontend application enabling users to engage in chat sessions with an AI chatbot powered by OpenAI's language model. It offers a seamless platform for users to interact with the chatbot, ask questions, and receive responses naturally. Key features include activity tracking, session ending, and session management.","archived":false,"fork":false,"pushed_at":"2024-06-19T18:31:22.000Z","size":135,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T06:31:20.198Z","etag":null,"topics":["chatbot","material-ui","openai-api","reactjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Viraj5903.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":"2024-06-10T02:57:20.000Z","updated_at":"2024-06-19T18:31:26.000Z","dependencies_parsed_at":"2024-06-10T04:26:37.236Z","dependency_job_id":"8da67892-3d89-4686-98d3-529ec735e9bc","html_url":"https://github.com/Viraj5903/CosmoChatUI","commit_stats":null,"previous_names":["viraj5903/cosmochatui"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viraj5903%2FCosmoChatUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viraj5903%2FCosmoChatUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viraj5903%2FCosmoChatUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Viraj5903%2FCosmoChatUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Viraj5903","download_url":"https://codeload.github.com/Viraj5903/CosmoChatUI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248037972,"owners_count":21037439,"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":["chatbot","material-ui","openai-api","reactjs"],"created_at":"2024-11-05T16:28:36.172Z","updated_at":"2025-04-09T12:25:08.849Z","avatar_url":"https://github.com/Viraj5903.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CosmoChat UI\n\n## Overview:\nCosmoChat UI is the frontend application that enables users to engage in chat sessions with an AI chatbot powered by OpenAI's language model. The primary objective is to offer a seamless platform for users to interact with the chatbot, ask questions, and receive responses naturally. It incorporates features such as activity tracking, session ending, and session management.\n\n## Technologies and Tools used:\n* React.js\n* Material UI\n* Axios\n* OpenAI\n\n## Available Scripts\n\nIn the project directory, we can run:\n\n1. `npm start`:\\\nRuns the react app in the development mode.\nOpen [http://localhost:3000](http://localhost:3000) to view it in our browser.\\\nThe page will reload when we make changes.\n\n1. `node ./server.js`:\\\nRuns the server.js file which start server that will store the chats sessions in `data/db.json` file in json format.\nServer will be running on port 3500.\n\n## Project Setup Instructions:\nTo set up CosmoChatUI, follow these steps:\n\n1. **Clone the repository to your local machine**.\n    - To clone run: \n      ```\n      git clone https://github.com/Viraj5903/CosmoChatUI.git\n      ```\n\n2. **Ensure you have Node.js and npm installed:**\n    - Download and install [Node.js](https://nodejs.org/en) if you haven't already.\n\n3. **Navigate to the root directory of the project**: \n    - To navigate to the root directory of the project, run: \n      ```\n      cd CosmoChatUI\n      ```\n\n4. **Install Dependencies**:\n    - To install required dependencies, run: \n      ```\n      npm install\n      ```\n\n5. **Add your OpenAI API key**:\n    - Get your OpenAI API key from [OpenAI](https://platform.openai.com/api-keys)\n    - Create a .env file in the root directory of the project.\n    - Add the following line to the .env file, replacing {YOUR_API_KEY} with your actual API key:\n        ```\n        REACT_APP_OPENAI_API_KEY={YOUR_API_KEY}\n        ```\n\n6. **Run Server**:\n   - To run the server that store that chats session inside the `data/db.json` file in json format. Run:\n      ```\n      node ./server.js\n      ```\n\n7. **Start React Application**:\n    - To start react application. Run:\n      ```\n      npm start\n      ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviraj5903%2Fcosmochatui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviraj5903%2Fcosmochatui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviraj5903%2Fcosmochatui/lists"}