{"id":19531239,"url":"https://github.com/rastmob/openai-grammar-correction","last_synced_at":"2026-03-05T19:06:04.746Z","repository":{"id":65937051,"uuid":"574119025","full_name":"rastmob/openai-grammar-correction","owner":"rastmob","description":"English grammar fixer with the help of OpenAI: just paste your text and copy the grammar-fixed sentence.","archived":false,"fork":false,"pushed_at":"2024-04-28T15:41:10.000Z","size":2575,"stargazers_count":61,"open_issues_count":0,"forks_count":10,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-20T03:21:50.549Z","etag":null,"topics":["ai","angular15","cors","express","gpt","gpt-3","gpt3","grammar","grammar-checker","grammar-rules","nodejs","openai","openai-api"],"latest_commit_sha":null,"homepage":"https://openaigrammar.rastmobile.com/","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/rastmob.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2022-12-04T13:43:07.000Z","updated_at":"2025-02-02T07:12:42.000Z","dependencies_parsed_at":"2024-04-28T16:49:08.894Z","dependency_job_id":null,"html_url":"https://github.com/rastmob/openai-grammar-correction","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rastmob/openai-grammar-correction","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rastmob%2Fopenai-grammar-correction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rastmob%2Fopenai-grammar-correction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rastmob%2Fopenai-grammar-correction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rastmob%2Fopenai-grammar-correction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rastmob","download_url":"https://codeload.github.com/rastmob/openai-grammar-correction/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rastmob%2Fopenai-grammar-correction/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30144703,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","angular15","cors","express","gpt","gpt-3","gpt3","grammar","grammar-checker","grammar-rules","nodejs","openai","openai-api"],"created_at":"2024-11-11T01:41:45.548Z","updated_at":"2026-03-05T19:06:04.716Z","avatar_url":"https://github.com/rastmob.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAI Nodejs API Examples with Grammar Correction and Speech to Text - OpenAI API\n\n![nodejs angular openai ai example project grammar gpt gpt3](https://raw.githubusercontent.com/rastmob/openai-grammar-correction/main/Grammar%20CorrectionOpenAINodejsAngular.png)\n\nThis project helps you to correct your **English sentences to Standard English** with the help of **OpenAI API**. Paste your text, **AI will help you to perfect it**.\n\nThis project consists of 2 app project.\n\n1.  **Angular15**\n2.  **Nodejs** \n\n## Installation\nFollow the below steps to make it run the project in your environment;\n\n1. run `npm install` in the main directory\n2. visit openai.com and register\n3. get your API_KEY under account menu\n4. create `.env` in the main directory and paste your API key in it `OPENAI_API_KEY=$YOURAPIKEY`\n5. run **node index.js** in the main directory\n6. Now Nodejs backend are working!\n7. launch 2nd terminal and `cd app`\n8. `cd openai-grammar-correction`\n9. `npm install`\n10. `ng serve`\n11. Now Angular App also running, visit http://localhost:4200 \n\n\n## OpenAI Implementation\n\nCode below in grammerCorrection.controller.js helps us to correct our English sentences.\n\n    const  completion = await  openai.createCompletion({\n    model:  \"text-davinci-003\",\n    prompt:  `Correct this to standard English:\\n\\n${req.body.userText}.`,\n    temperature:  0,\n    max_tokens:  60,\n    top_p:  1.0,\n    frequency_penalty:  0.0,\n    presence_penalty:  0.0,\n    });\n\n## Contribution \u0026 Support\nFollow the Issue template for informing about the issues and for making contributions.\n\n**Follow us:**\n\nhttps://twitter.com/rastmobile\n\nhttps://www.linkedin.com/company/rastmobile/\n\nhttps://www.behance.net/rastmobile \n\n**Reach us:**\n\ncontact@rastmobile.com\n\nmehmet.alp@rastmobile.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frastmob%2Fopenai-grammar-correction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frastmob%2Fopenai-grammar-correction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frastmob%2Fopenai-grammar-correction/lists"}