{"id":25266097,"url":"https://github.com/sohamsshah/pr-code-roaster","last_synced_at":"2025-09-09T12:45:19.507Z","repository":{"id":275255012,"uuid":"925560077","full_name":"sohamsshah/pr-code-roaster","owner":"sohamsshah","description":"PR Code roaster - Fun app backend","archived":false,"fork":false,"pushed_at":"2025-02-01T11:01:22.000Z","size":3808,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T08:45:24.818Z","etag":null,"topics":[],"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/sohamsshah.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":"2025-02-01T06:38:58.000Z","updated_at":"2025-02-01T11:01:25.000Z","dependencies_parsed_at":"2025-02-01T07:26:14.706Z","dependency_job_id":"3187ccba-7f06-4195-9cc9-8041a14eb335","html_url":"https://github.com/sohamsshah/pr-code-roaster","commit_stats":null,"previous_names":["sohamsshah/pr-code-roaster"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohamsshah%2Fpr-code-roaster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohamsshah%2Fpr-code-roaster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohamsshah%2Fpr-code-roaster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohamsshah%2Fpr-code-roaster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sohamsshah","download_url":"https://codeload.github.com/sohamsshah/pr-code-roaster/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247426987,"owners_count":20937197,"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":[],"created_at":"2025-02-12T08:32:37.831Z","updated_at":"2025-04-06T02:42:11.236Z","avatar_url":"https://github.com/sohamsshah.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Roaster 🔥\n\nA fun Node.js application that uses OpenAI to provide sarcastic and witty comments about your code.\n\n## Setup\n\n1. Clone this repository\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n3. Copy `.env.example` to `.env` and add your OpenAI API key:\n   ```bash\n   cp .env.example .env\n   ```\n4. Edit `.env` and add your OpenAI API key\n\n## Usage\n\n1. Start the server:\n   ```bash\n   npm start\n   ```\n\n2. Send a POST request to `/roast` with your code:\n   ```bash\n   curl -X POST http://localhost:3000/roast \\\n     -H \"Content-Type: application/json\" \\\n     -d '{\"code\": \"function doStuff() { var a = 1; var b = 2; return a + b; }\"}'\n   ```\n\nThe API will return a JSON response with a sarcastic roast of your code!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsohamsshah%2Fpr-code-roaster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsohamsshah%2Fpr-code-roaster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsohamsshah%2Fpr-code-roaster/lists"}