{"id":22612324,"url":"https://github.com/mustafa-kamel/openai-service","last_synced_at":"2026-05-08T01:37:26.787Z","repository":{"id":219653980,"uuid":"749556225","full_name":"mustafa-kamel/openai-service","owner":"mustafa-kamel","description":"Flask Summarizer: Utilize Flask and OpenAI to summarize lengthy blogs effortlessly.","archived":false,"fork":false,"pushed_at":"2025-02-20T12:59:54.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-20T13:42:44.286Z","etag":null,"topics":["api","flask","natural-language-processing","openai","python","summerization"],"latest_commit_sha":null,"homepage":"","language":"Python","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/mustafa-kamel.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":"2024-01-28T22:41:12.000Z","updated_at":"2025-02-20T12:59:58.000Z","dependencies_parsed_at":"2024-01-29T00:24:29.733Z","dependency_job_id":"6761358c-8b79-40a3-804f-136455c547af","html_url":"https://github.com/mustafa-kamel/openai-service","commit_stats":null,"previous_names":["mustafa-kamel/openai-service"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafa-kamel%2Fopenai-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafa-kamel%2Fopenai-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafa-kamel%2Fopenai-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafa-kamel%2Fopenai-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mustafa-kamel","download_url":"https://codeload.github.com/mustafa-kamel/openai-service/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246117690,"owners_count":20726068,"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":["api","flask","natural-language-processing","openai","python","summerization"],"created_at":"2024-12-08T17:12:17.991Z","updated_at":"2026-05-08T01:37:26.761Z","avatar_url":"https://github.com/mustafa-kamel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask Summarizer\n\nFlask Summarizer is a Python application that utilizes Flask and OpenAI to summarize lengthy blogs into concise paragraphs with ease.\n\n## Features\n\n- Summarize lengthy blog posts into brief, insightful paragraphs.\n- Integration with OpenAI for advanced natural language processing capabilities.\n- Simple HTTP request interface for easy interaction.\n- Customizable summarization parameters.\n- Robust error handling and response validation.\n- Lightweight and efficient Flask framework for deployment and scalability.\n\n## Installation\n\n1. Clone the repository:\n\n```\ngit clone git@github.com:mustafa-kamel/openai-service.git\n```\n\n2. Install dependencies:\n\n```\npip install -r requirements.txt\n```\n\n3. Set up your OpenAI API key by replacing `'YOUR_API_KEY'` in the code with your actual key.\n\n## Usage\n\nTo use the Flask Summarizer API, follow these steps:\n\n1. Run the Flask application:\n\n```\npython app.py\n```\n\n2. Send a POST request to the `/summarize-blog` endpoint with a JSON payload containing the blog text.\n\nExample:\n\n```\ncurl -X POST -H \"Content-Type: application/json\" -d '{\"blog_text\": \"Replace this with your blog text.\"}' http://localhost:5000/summarize-blog\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmustafa-kamel%2Fopenai-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmustafa-kamel%2Fopenai-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmustafa-kamel%2Fopenai-service/lists"}