{"id":26452272,"url":"https://github.com/barcodehub/entorno-programming-ia-node","last_synced_at":"2026-02-18T01:02:15.317Z","repository":{"id":282795083,"uuid":"838137556","full_name":"Barcodehub/entorno-programming-ia-node","owner":"Barcodehub","description":"Web application that uses the Judge0 API to execute code in multiple programming languages (JavaScript, Python, Java, C++). It processes source code submissions, retrieves execution results, and incorporates OpenAI for code correction (BETA).","archived":false,"fork":false,"pushed_at":"2025-03-17T22:46:45.000Z","size":4919,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T12:51:12.450Z","etag":null,"topics":["code-correction","code-execution","coding","error-handling","judge0","openai","openai-integration","programming-language"],"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/Barcodehub.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-08-05T02:54:11.000Z","updated_at":"2025-03-17T22:46:50.000Z","dependencies_parsed_at":"2025-03-17T01:40:51.119Z","dependency_job_id":null,"html_url":"https://github.com/Barcodehub/entorno-programming-ia-node","commit_stats":null,"previous_names":["barcodehub/entorno-programming-ia-node"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Barcodehub/entorno-programming-ia-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Barcodehub%2Fentorno-programming-ia-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Barcodehub%2Fentorno-programming-ia-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Barcodehub%2Fentorno-programming-ia-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Barcodehub%2Fentorno-programming-ia-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Barcodehub","download_url":"https://codeload.github.com/Barcodehub/entorno-programming-ia-node/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Barcodehub%2Fentorno-programming-ia-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272971410,"owners_count":25024093,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["code-correction","code-execution","coding","error-handling","judge0","openai","openai-integration","programming-language"],"created_at":"2025-03-18T17:40:05.011Z","updated_at":"2026-02-18T01:02:15.273Z","avatar_url":"https://github.com/Barcodehub.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Execution API\n\nThis project is a Node.js application that uses the Judge0 API to execute code in various programming languages. The application sends the source code to the API, waits for it to be processed, and then retrieves the result.\n\n## Features\n\n- Support for multiple programming languages: JavaScript, Python, Java, and C++.\n- Submission and execution of source code via the Judge0 API.\n- Error handling and timeout for API requests.\n- -Incorporation of OpenAI for handling corrections (BETA).\n\n## Requirements\n\n- Node.js\n- npm (Node Package Manager)\n- A RapidAPI account with access to the Judge0 API\n\n## Installation\n\n1. Install the dependencies:\n\n    ```bash\n    npm install\n    ```\n\n2. Create a `.env` file in the root directory and add your RapidAPI key:\n\n    ```plaintext\n    MONGODB_URI=your-uri-mongodb\n    OPENAI_API_KEY=your_openai_api_key\n    USE_OPENAI=false\n    PORT=3000\n    RAPIDAPI_KEY=YOUR_API_KEY_HERE\n    ```\n\n\n### Example Usage\n\nPOST\n`http://localhost:3000/api/code/execute`\n\nbody:\n```\n{\n  \"language\": \"javascript\",\n  \"code\": \"console.log('Hello from JavaScript!');\"\n}\n```\nresponse:\n```\n{\n    \"output\": \"Hello, World!\\n\",\n    \"error\": \"\",\n    \"advice\": null\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarcodehub%2Fentorno-programming-ia-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarcodehub%2Fentorno-programming-ia-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarcodehub%2Fentorno-programming-ia-node/lists"}