{"id":51594415,"url":"https://github.com/cfryerdev/ai-solution-worker","last_synced_at":"2026-07-11T17:02:37.696Z","repository":{"id":245201816,"uuid":"817552842","full_name":"cfryerdev/ai-solution-worker","owner":"cfryerdev","description":"An ai assistant example where we ask it to write entire solutions to disk","archived":false,"fork":false,"pushed_at":"2024-06-20T15:59:30.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-21T15:02:32.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/cfryerdev.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-06-20T01:11:46.000Z","updated_at":"2024-06-20T15:59:34.000Z","dependencies_parsed_at":"2024-06-20T14:07:48.757Z","dependency_job_id":null,"html_url":"https://github.com/cfryerdev/ai-solution-worker","commit_stats":null,"previous_names":["cfryerdev/ai-solution-worker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cfryerdev/ai-solution-worker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfryerdev%2Fai-solution-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfryerdev%2Fai-solution-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfryerdev%2Fai-solution-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfryerdev%2Fai-solution-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cfryerdev","download_url":"https://codeload.github.com/cfryerdev/ai-solution-worker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfryerdev%2Fai-solution-worker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35368768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-11T02:00:05.354Z","response_time":104,"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":[],"created_at":"2026-07-11T17:02:37.046Z","updated_at":"2026-07-11T17:02:37.688Z","avatar_url":"https://github.com/cfryerdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAI Solution Generation\n\nThis is a proof of concept for programmatically creating a code assistant to create full solutions, writing the files to disk, and adding more context to the thread for example adding unit tests. \n\nThe output is placed in an output folder, each execution gets its own thread id and puts it in a folder. OpenAI Response dumps are included as `_openaidump.txt` and `_openaidumptests.txt` for debug purposes.\n\nEnjoy!\n\n## Getting started\n\nFirst you need to update the `OPENAI_API_KEY` key in the `.env` file with your OpenAI API Key. Then you can run the following:\n\n```sh\nnpm install\nnpm start\n```\n\n### Todo Items\n\n- Sometimes OpenAI gives us garbage responses, we need to catch this, and re-attempt the question.\n- Clean up the code a bit, pretty messy\n- Add more comments for educational purposes\n- create constants for each language we want to support\n- Include expected folder structures for each language we want to support","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfryerdev%2Fai-solution-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfryerdev%2Fai-solution-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfryerdev%2Fai-solution-worker/lists"}