{"id":13431157,"url":"https://github.com/whoiskatrin/npm-copilot","last_synced_at":"2025-04-05T23:10:18.732Z","repository":{"id":151611648,"uuid":"623170510","full_name":"whoiskatrin/npm-copilot","owner":"whoiskatrin","description":"CLI tool for Next.js that can analyze logs in real-time and suggest a solution using OpenAI","archived":false,"fork":false,"pushed_at":"2024-01-15T11:53:36.000Z","size":440,"stargazers_count":374,"open_issues_count":0,"forks_count":17,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-29T22:07:02.434Z","etag":null,"topics":["clitools","copilot","devtools","nextjs","npm","npm-cli","npm-package","openai","react","yarn"],"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/whoiskatrin.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":"2023-04-03T20:52:54.000Z","updated_at":"2025-03-29T14:02:31.000Z","dependencies_parsed_at":"2024-01-16T01:25:34.610Z","dependency_job_id":"ad1b767a-e4b7-48c8-bc5c-f0c11eb99e0b","html_url":"https://github.com/whoiskatrin/npm-copilot","commit_stats":{"total_commits":116,"total_committers":5,"mean_commits":23.2,"dds":0.08620689655172409,"last_synced_commit":"3823a4b0e1348823085a14774f08d07bf8b2c1e2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whoiskatrin%2Fnpm-copilot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whoiskatrin%2Fnpm-copilot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whoiskatrin%2Fnpm-copilot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whoiskatrin%2Fnpm-copilot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whoiskatrin","download_url":"https://codeload.github.com/whoiskatrin/npm-copilot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411235,"owners_count":20934653,"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":["clitools","copilot","devtools","nextjs","npm","npm-cli","npm-package","openai","react","yarn"],"created_at":"2024-07-31T02:01:00.941Z","updated_at":"2025-04-05T23:10:18.702Z","avatar_url":"https://github.com/whoiskatrin.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003enpm/yarn/pnpm Copilot\u003c/h1\u003e\n\nnpm/yarn/pnpm copilot is a command-line tool that uses OpenAI's GPT-3 language model to provide suggestions for fixing errors in your code.\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/whoiskatrin/npm-copilot/blob/main/example.png\" width=\"600\" /\u003e\n\u003c/div\u003e\n\n## 🌟 Frameworks:\n\n- Next.js\n- React\n- Angular\n- Vue.js\n\n## 📖 How to use:\n\nThe CLI tool detects the project type and package manager being used in the current directory. It then runs the appropriate development server command (e.g., npm run dev, yarn run dev, pnpm run dev) and listens for logs generated by the running application. When an error is encountered, the CLI tool provides suggestions for error fixes in real-time.\n\n## 🛠️ Installation\n\nTo install the npm-copilot package, run the following command:\n\n```\nnpm install -g npm-copilot\n```\n\nDisclaimer:\nThe CLI tool will begin monitoring the logs generated by the Next.js application and provide suggestions for error fixes in real-time.\n\n## ⚙️ Configuration\n\nIn order to use this package, you need to set your OpenAI API key as an environment variable. You can do this by adding the following line to your `.env` file, or by setting it directly in your terminal:\n\nFor Unix-based systems:\n\n```\nexport OPENAI_API_KEY=your_api_key_here\n```\n\nFor Windows systems:\n\n```\nset OPENAI_API_KEY=your_api_key_here\n```\n\nReplace your_api_key_here with your actual OpenAI API key.\n\n## 🖥️ Usage\n\nTo use npm-copilot, navigate to the directory containing your Next.js project and run the following command:\n\n```\nnpm-copilot\n```\n\nThe CLI tool will begin monitoring the logs generated by the Next.js application and provide suggestions for error fixes in real-time.\n\n## 📜 License\n\nThis package is licensed under the MIT [License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhoiskatrin%2Fnpm-copilot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhoiskatrin%2Fnpm-copilot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhoiskatrin%2Fnpm-copilot/lists"}