{"id":22143249,"url":"https://github.com/paraskuk/chatgptui","last_synced_at":"2025-07-26T00:32:53.267Z","repository":{"id":166176731,"uuid":"627020799","full_name":"paraskuk/chatgptui","owner":"paraskuk","description":"GPT App with Voice prompt and Saving to GitHub capabilities","archived":false,"fork":false,"pushed_at":"2024-10-26T18:23:08.000Z","size":141,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-26T20:15:26.635Z","etag":null,"topics":["chatgpt-api","chatgpt-app","chatgpt-ui","css","fastapi","gpt-4","html","javascript","language","large","llm","model","python","redis"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paraskuk.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-12T16:10:32.000Z","updated_at":"2024-10-26T18:17:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"52208c65-0e37-4e11-b998-11d02eca1cbb","html_url":"https://github.com/paraskuk/chatgptui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paraskuk%2Fchatgptui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paraskuk%2Fchatgptui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paraskuk%2Fchatgptui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paraskuk%2Fchatgptui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paraskuk","download_url":"https://codeload.github.com/paraskuk/chatgptui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227635491,"owners_count":17796970,"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":["chatgpt-api","chatgpt-app","chatgpt-ui","css","fastapi","gpt-4","html","javascript","language","large","llm","model","python","redis"],"created_at":"2024-12-01T22:08:10.195Z","updated_at":"2024-12-01T22:08:10.822Z","avatar_url":"https://github.com/paraskuk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Python application Setup - Chat GPT](https://github.com/paraskuk/chatgptui/actions/workflows/python-app.yml/badge.svg)](https://github.com/paraskuk/chatgptui/actions/workflows/python-app.yml)\n# AskGPT\n\nAskGPT is a simple web application that uses the OpenAI API to generate responses to user queries using GPT-4 language model. \nThis application is built using FastAPI for the API and JavaScript ,HTML and CSS for the frontend.\n\n## Requirements\n\n- Python 3.11 or higher\n- OpenAI API key\n- FastAPI\n- JavaScript\n- Redis Server\n- HTML, CSS\n- Chrome Browser\n- Install packages as outlined in the requirements.txt file\n- Get GitHub Client ID for your OAuth App\n- Get GitHub Client Secret for your OAuth App\n- Get Secret Session Key for your OAuth App\n\n## Installation\n\n1. Clone the repository\n2. Install the required packages using `pip install -r requirements.txt`\n3. Set the `OPEN_AI_KEY` environment variable with your OpenAI API key.\n4. Setup Redis server on your machine as outlined here https://redis.io/docs/latest/operate/oss_and_stack/install/install-redis/install-redis-on-windows/\n\n\n## Usage\n1. Start Redis server with `sudo service redis-server start`\n2. On PyCharm Professional IDE, create a FastAPI configuration and run the application using the app.py script.\n3. The above configuration needs to have the OpenAI API key as well as the GitHub keys outlined in the requirements section.\n2. Navigate to `http://localhost:8000/` on your Google Chrome browser to access the application.\n3. Login to GitHub using the `Login with GitHub` button.\n4. Enter your query in the input field and click on the `Submit` button to generate a response.\n5. Click on the Mic button to use the speech-to-text feature and get a code completion from GPT-4.\n\n## Testing the Application with Curl\n`curl -X POST http://127.0.0.1:8000/ask_gpt4/ -H \"Content-Type: application/json\" -d \"{\\\"user_input\\\": \\\"Create a function that adds 2 numbers\\\", \\\"model\\\": \\\"gpt-4\\\"}\"`\n\n## Note\n\nMake sure to set the `OPEN_AI_KEY` environment variable before running the application, as this is required for the OpenAI API to function properly.\n\n## License\n\nThis work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.\nThis project is not licensed for commercial use.\n\n## Disclaimer\n\nThis project is for demonstration of GPT capabilities and should not be used wholly or partly in \nany commercial project. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparaskuk%2Fchatgptui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparaskuk%2Fchatgptui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparaskuk%2Fchatgptui/lists"}