{"id":31895489,"url":"https://github.com/igorcosta/gh-lazy","last_synced_at":"2025-10-13T10:26:01.738Z","repository":{"id":273642566,"uuid":"860370743","full_name":"igorcosta/gh-lazy","owner":"igorcosta","description":"🚀 gh-lazy: Your productive GitHub CLI superpowers! Automate all the things, because life's too short for manual setups. 😴💻","archived":false,"fork":false,"pushed_at":"2025-01-22T04:41:40.000Z","size":118,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T05:25:26.534Z","etag":null,"topics":["cli","gh-cli","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/igorcosta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-09-20T10:01:18.000Z","updated_at":"2024-12-16T03:32:40.000Z","dependencies_parsed_at":"2025-01-22T05:36:01.713Z","dependency_job_id":null,"html_url":"https://github.com/igorcosta/gh-lazy","commit_stats":null,"previous_names":["igorcosta/gh-lazy"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/igorcosta/gh-lazy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorcosta%2Fgh-lazy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorcosta%2Fgh-lazy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorcosta%2Fgh-lazy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorcosta%2Fgh-lazy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igorcosta","download_url":"https://codeload.github.com/igorcosta/gh-lazy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorcosta%2Fgh-lazy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014672,"owners_count":26085554,"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-10-13T02:00:06.723Z","response_time":61,"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":["cli","gh-cli","golang"],"created_at":"2025-10-13T10:26:00.425Z","updated_at":"2025-10-13T10:26:01.733Z","avatar_url":"https://github.com/igorcosta.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Lazy: Your productive gh and git superpowers \n\n[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)\n[![GitHub stars](https://img.shields.io/github/stars/igorcosta/gh-lazy.svg)](https://github.com/igorcosta/gh-lazy/stargazers)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n\u003e Because life's too short for manual setups and you don't have time to automate things!\n\n## 🎭 What's in a Name?\n\n**L**ightweight  \n**A**utomated  \n**Z**ero-effort  \n**Y**ielding-results  \n\n## 🌟 Overview\n\nLazy is your secret weapon for turbocharging git, GitHub CLI commands. Say goodbye to tedious manual configurations, combined commands and hello to lightning-fast, automated awesomeness! We're so lazy that we took advantage of the existing `awesome github cli tool` and beautified it with laziness.\n\n## 🚀 Features That'll Make You Go \"Wow!\"\n\n- 🏃‍♂️ Sprint through GitHub issue or issue`S` and milestone creation, deletion\n- 🤖 Automagically set up GitHub Projects (v2)\n- 🧙‍♂️ Customize task templates with the power of JSON\n- 🧨 **Nuke GitHub projects and issues with ease**\n- 🔗 Seamlessly integrate with GitHub CLI like a boss\n- Private LLM interface for Ollama or `Llama-3.2 2b param`\n\n## 🛠️ Requirements\n\nBefore you embark on your Lazy journey, make sure you have:\n\n1. Your laziness!\n2. [Homebrew](https://brew.sh/) installed (because we're fancy like that)\n3. A GitHub account (you're not living under a rock, are you?)\n4. A valid GitHub token with appropriate permissions (we'll show you how)\n5. Basic knowledge of JSON (don't worry, it's not rocket science)\n6. A burning desire to automate ALL THE THINGS!\n7. Optional: If you have ollama installed, configure an LLM for more awesome stuff!!!\n\n## 🏗️ Installation\n\nLet's get this party started:\n\n1. Fire up your terminal (and try not to feel like a hacker)\n2. Install the GitHub CLI (if you haven't already):\n\n   ```bash\n   brew install gh\n   ```\n\n3. Install the Lazy extension (prepare to be amazed):\n\n   ```bash\n   gh extension install lazy\n   ```\n\n4. Do a little victory dance 🕺💃\n\n## 🎮 Usage\n\nTime to unleash the power of Lazy:\n\n### Creating Projects, Milestones, and Issues\n\n```bash\ngh lazy create --repo \"your-awesome-username/your-cool-repo\" --tasks \"path/to/your/amazing/tasks.json\"\n```\n\n#### 🎛️ Available Options for `create`\n\n```bash\nLazy - Your productive gh and git superpowers \nUsage: gh lazy create [flags]\n\nFlags:\n  -r, --repo string         Your repository's name (e.g., 'cool-dev/awesome-project')\n  -t, --tasks string        Path to your magical tasks JSON file\n  -f, --token-file string   Path to the file containing your GitHub token (default \".token\")\n\nExample:\n  gh lazy create --repo cool-dev/awesome-project --tasks ./world-domination-plan.json\n```\n\n### 🧨 Nuking a Project\n\nDelete a GitHub project and optionally all linked issues.\n\n```bash\ngh lazy nuke [--projectid \u003cproject_id_or_url\u003e] [--all] [--dry-run]\n```\n\n- If you provide the `--projectid` (`-p`) flag, the command will delete the specified project.\n- If you omit the `--projectid` flag, the tool will:\n\n  1. **List all your available projects** and allow you to select one interactively.\n  2. **Ask if you want to perform a dry run first.**\n  3. **Ask if you want to delete all associated issues.**\n\n#### 🎛️ Available Options for `nuke`\n\n```bash\nUsage: gh lazy nuke [flags]\n\nFlags:\n  -p, --projectid string   Project ID or URL to nuke\n  -a, --all                Delete all issues linked to the project\n      --dry-run            Show what would happen without making changes\n\nExample:\n  gh lazy nuke --projectid https://github.com/users/yourusername/projects/1 --all --dry-run\n```\n\n**Examples:**\n\n- **Interactive Mode:**\n\n  ```bash\n  gh lazy nuke\n  ```\n\n  This will prompt you to select a project and configure options interactively.\n\n- **Dry Run Without Deleting Issues:**\n\n  ```bash\n  gh lazy nuke --projectid https://github.com/users/yourusername/projects/1 --dry-run\n  ```\n\n- **Dry Run With Deleting Issues:**\n\n  ```bash\n  gh lazy nuke --projectid 1 --all --dry-run\n  ```\n\n- **Actual Deletion:**\n\n  ```bash\n  gh lazy nuke --projectid 1 --all\n  ```\n\n- **Need to prepare your prompt for your favourite LLM?**\n\n```bash\ngh lazy codeprompt \"given this project, I need to modify my version.go file, help me out\" --system-prompt . --ignore-gitignore --ignore \"go.sum\" --ignore \"*.md\" --ignore \"gh-lazy\" -o prompt.txt \n\n```\n\n---\n\n## 🧙‍♂️ How It Works (Warning: Mind-Blowing Content Ahead)\n\n1. Lazy reads your JSON file faster than you can say \"automation.\"\n2. It creates milestones and issues in your GitHub repo like a seasoned project manager on steroids.\n3. A shiny new GitHub Project (v2) materializes out of thin air.\n4. Issues are automagically added to the project, leaving you more time for coffee breaks.\n5. **Need to clean up? Use the `nuke` command to delete projects and issues effortlessly.**\n\n---\n\n## 🤝 Contributing (Join the Lazy Revolution)\n\nWant to make Lazy even more awesome? Here's how:\n\n1. Fork the repo (and star it while you're at it).\n2. Create a new branch (`git checkout -b feature/mind-blowing-idea`).\n3. Commit your changes (`git commit -am 'Add some mind-blowing feature'`).\n4. Push to the branch (`git push origin feature/mind-blowing-idea`).\n5. Create a new Pull Request and wait for the applause.\n\n---\n\n## 📜 License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details. (TL;DR: Do whatever you want, just don't blame us if your computer gains sentience)\n\n---\n\n## 🆘 Support\n\nStuck? Need help? Just want to chat about the meaning of life?\n\n- Open an issue in our GitHub repo.\n\n---\n\nRemember: Stay Lazy, Stay Productive! 😴💻\n\n## 🎉 Special Thanks (aka The Lazy Hall of Fame) 🏆\n\nI've done this due to the community efforts, making it easy like a breeze. 🌬️ Because why work hard when you can work smart? 🧠💡\n\n[Special thanks](./SPECIAL_THANKs.md) for the full list of lazy legends who made this possible! 🦸‍♂️🦸‍♀️\n\n\u003cdetails\u003e\n\u003csummary\u003eClick here for a sneak peek of our gratitude (and some reactions)! 👀\u003c/summary\u003e\n\n- To the coffee that fueled this project: ☕ (👍 x 1000)\n- To GitHub Copilot, our silent partner: 🥇 (🙏 x 99999999)\n- To our rubber duck debuggers: 🦆 (❤️ x 42)\n- To Cmd+C and Cmd+V, the real MVPs: 🏅 (🚀 x ∞)\n\nRemember, in the world of `gh-lazy`, we don't just stand on the shoulders of giants. We take the elevator! 🛗😎\n\n\u003c/details\u003e\n\nP.S. If you're not lazy enough to click the link above, you're probably using this tool wrong. Just saying! 😉\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorcosta%2Fgh-lazy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figorcosta%2Fgh-lazy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorcosta%2Fgh-lazy/lists"}