{"id":21541941,"url":"https://github.com/seyed0123/oxdebate","last_synced_at":"2026-04-12T14:38:45.408Z","repository":{"id":197990997,"uuid":"696340018","full_name":"seyed0123/OXDebate","owner":"seyed0123","description":"Experience the power of AI in a user-friendly chat interface with our ChatGPT Web Application. ","archived":false,"fork":false,"pushed_at":"2023-10-03T12:56:43.000Z","size":65924,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T08:31:51.849Z","etag":null,"topics":["chatbot","css","golang","gpt-4","html","javascript","python","react","websocket"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/seyed0123.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}},"created_at":"2023-09-25T14:54:37.000Z","updated_at":"2024-06-10T12:37:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"e5e1297f-6d68-4368-9fba-63745883b097","html_url":"https://github.com/seyed0123/OXDebate","commit_stats":null,"previous_names":["seyed0123/oxdebate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seyed0123%2FOXDebate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seyed0123%2FOXDebate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seyed0123%2FOXDebate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seyed0123%2FOXDebate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seyed0123","download_url":"https://codeload.github.com/seyed0123/OXDebate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244124179,"owners_count":20401683,"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","css","golang","gpt-4","html","javascript","python","react","websocket"],"created_at":"2024-11-24T05:08:03.838Z","updated_at":"2025-12-31T00:17:28.669Z","avatar_url":"https://github.com/seyed0123.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OXDebate Application\n\u003cimg src=\"shots/OXDebate.jpg\" width=\"50%\" align=\"center\"\u003e\n\nWelcome to the repository of our ChatGPT web application, a marriage between the power of artificial intelligence and the human-like interaction of a chat interface. This application employs an open-source GPT model, providing a conversational AI experience that allows us to answer follow-up questions, admit mistakes, challenge incorrect premises, and reject inappropriate requests.\n\nBuilt using a combination of React, GoLang, and Python, this application represents a comprehensive full-stack solution. React is employed to create a user-friendly and interactive front end, GoLang handles server-side operations, and Python manages the GPT model server.\n\nIn the initial stages of the project, the plan was to use OpenAI's API. However, to overcome certain limitations and to provide a more flexible solution, the decision was made to switch to an open-source GPT model. The result is an application that is capable of handling real-time chat with the GPT model, offering a dynamic and engaging user experience.\n\nWhether you're a developer interested in the mechanics of integrating a GPT model into a full-stack application, or a user fascinated by the capabilities of AI in chat interfaces, we welcome you to explore this project further.\n## demo\n\n![wait for it to load](shots/debate.gif)\n\n## Built With\n\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/React-icon.svg/1200px-React-icon.svg.png\" width=\"20%\" placeholeder=\"react\"\u003e\n\u003cimg src=\"https://www.edureka.co/blog/wp-content/uploads/2018/09/Golang-Logo-Golang-Tutorial-Edureka.jpg\" width=\"20%\"\u003e\n\u003cimg src=\"https://images.ctfassets.net/mrop88jh71hl/55rrbZfwMaURHZKAUc5oOW/9e5fe805eb03135b82e962e92169ce6d/python-programming-language.png\" width=\"20%\" \u003e \n\nReact - goLang - python\n\n## Setup Introduction\nTo set up the repository on your local machine, follow these steps carefully:\n\n### Cloning the repository\nClone the repository to your local machine using the following command:\n```bash\ngit clone https://github.com/seyed0123/OXDebate.git\n```\n\n### Backend Setup\nNavigate to the server directory and install the backend dependencies:\n```golang\nexport GO111MODULE=\"on\"\ngo mod tidy\ngo run src/main.go\n```\n\n### Frontend Setup\nNavigate to the client directory, install the frontend dependencies, and start the front-end server:\n\n```bash\ncd front\nnpm install\nnpm start\n```\n### GPT Model Server Setup\nRun the `gpt.ipynb` file that installs the packages and starts the server.\n\nGPT 4 model is used from this [repo](https://github.com/xtekky/gpt4free) and thanks for their collaborator's  hard work \n\n## Usage\nType in the input field and click on the send button to interact with the GPT model. The responses are displayed on the webpage.\n\n## Contributing\nContributions, issues, and feature requests are welcome! Feel free to check the issues page. Don't hesitate to drop any suggestions or improvements you have in mind.\n\n\u003cstrong\u003e NOTE: There is a problem connecting Python and Golang in the socket and I am glad to find someone who can help me correct this bug \u003c/strong\u003e\n## License\nDistributed under the MIT License. See [LICENSE](LICENSE) for more information.\n\n# shots:\n![](shots/Shot%200001.png)\n![](shots/Shot%200002.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseyed0123%2Foxdebate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseyed0123%2Foxdebate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseyed0123%2Foxdebate/lists"}