{"id":15011397,"url":"https://github.com/raulcatalinas/huskybc","last_synced_at":"2026-02-18T01:07:55.574Z","repository":{"id":236828610,"uuid":"793203139","full_name":"RaulCatalinas/HuskyBC","owner":"RaulCatalinas","description":"Command line for easy Husky configuration","archived":false,"fork":false,"pushed_at":"2024-05-22T23:24:27.000Z","size":268,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-22T23:33:29.208Z","etag":null,"topics":["bun","bunjs","cli","command-line-interface","command-line-tool","commitlint","commitlint-config","husky","husky-config","husky-hooks","jsavascript","nodejs","typescipt","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/RaulCatalinas.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-28T18:01:39.000Z","updated_at":"2024-05-27T12:49:38.898Z","dependencies_parsed_at":"2024-05-27T12:49:35.267Z","dependency_job_id":null,"html_url":"https://github.com/RaulCatalinas/HuskyBC","commit_stats":null,"previous_names":["raulcatalinas/huskybc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaulCatalinas%2FHuskyBC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaulCatalinas%2FHuskyBC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaulCatalinas%2FHuskyBC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaulCatalinas%2FHuskyBC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RaulCatalinas","download_url":"https://codeload.github.com/RaulCatalinas/HuskyBC/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244576353,"owners_count":20475093,"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":["bun","bunjs","cli","command-line-interface","command-line-tool","commitlint","commitlint-config","husky","husky-config","husky-hooks","jsavascript","nodejs","typescipt","typescript"],"created_at":"2024-09-24T19:41:02.361Z","updated_at":"2026-02-18T01:07:55.569Z","avatar_url":"https://github.com/RaulCatalinas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐶 HuskyBC\n\n**Simplify Husky configuration with a single command.**\n\nHuskyBC is a blazing-fast CLI tool built in Rust that automates Git hooks setup in your Node.js projects.\n\n\u003e ⚠️ **Disclaimer:** HuskyBC is an **unofficial community tool**. It is not affiliated with or endorsed by [typicode/husky](https://github.com/typicode/husky). This CLI automates the setup of the official Husky package and related tools.\n\n[![npm version](https://img.shields.io/npm/v/huskybc)](https://www.npmjs.com/package/huskybc)\n[![License: GPL-3.0](https://img.shields.io/badge/License-GPL--3.0-blue.svg)](LICENSE)\n\n---\n\n## 📋 Table of Contents\n\n- [Features](#-features)\n- [Requirements](#-requirements)\n- [Installation](#-installation)\n- [Usage](#-usage)\n- [Development](#-development)\n- [Contributing](#-contributing)\n- [Contributors](#-contributors)\n- [License](#-license)\n- [Acknowledgments](#-acknowledgments)\n\n---\n\n## ✨ Features\n\n- 🚀 **Fast** - Built in Rust for maximum performance\n- 🎯 **Simple** - Interactive wizard guides you through setup\n- 🔧 **Flexible** - Configure Husky, Commitlint, Lint-staged, or all together\n- 🌍 **Cross-platform** - Works on Windows, macOS, and Linux (x64 \u0026 ARM)\n\n---\n\n## 📋 Requirements\n\n### For users\n\n- **Node.js** 18.0.0 or higher\n- **package.json** in your project root\n\n### For development\n\n- **Rust** 1.93.0 or higher ([Install Rust](https://rustup.rs/))\n- **Node.js** 18.0.0 or higher\n- **Git**\n\n---\n\n## 📦 Installation\n\n```bash\n# npm\nnpm install -g huskybc\n\n# pnpm\npnpm add -g huskybc\n\n# yarn\nyarn global add huskybc\n\n# bun\nbun add -g huskybc\n```\n\nOr use directly (no installation needed):\n\n```bash\n# npm\nnpx huskybc --init\n\n# pnpm\npnpm dlx huskybc --init\n\n# yarn\nyarn dlx huskybc --init\n\n# bun\nbunx huskybc --init\n```\n\n---\n\n## 🖥️ Usage\n\n```bash\nhuskybc --init\n```\n\n| Command         | Alias | Description                    |\n| --------------- | ----- | ------------------------------ |\n| `--help`        | `-h`  | Display help information       |\n| `--version`     | `-v`  | Show the current version       |\n| `--init`        | `-i`  | Initialize Husky configuration |\n| `--collaborate` | `-c`  | Open GitHub repository         |\n\n---\n\n## 🛠️ Development\n\n### Clone the repository\n\n```bash\ngit clone https://github.com/RaulCatalinas/HuskyBC.git\ncd HuskyBC\n```\n\n### Project structure\n\n```\nHuskyBC/\n├── src/                    # Rust source code\n│   ├── main.rs\n│   ├── cli/                # CLI input handling\n│   ├── commands/           # Command handlers\n│   ├── config/             # Configuration logic\n│   │   └── presets/        # Configuration presets\n│   ├── constants/          # App constants\n│   ├── types/              # Type definitions\n│   └── utils/              # Shared utilities\n│\n├── npm-wrapper/            # Node.js wrapper for npm distribution\n│   ├── bin/\n│   │   └── huskybc.js      # Entry point\n│   └── postinstall.js      # Binary downloader\n│\n└── .github/\n    └── workflows/\n        └── github-release.yml     # CI/CD pipeline\n```\n\n### Build\n\n```bash\n# Debug build\ncargo build\n\n# Release build (optimized)\ncargo build --release\n\n# Run in debug mode\ncargo run -- --help\n```\n\n### Release\n\nReleases are automated via GitHub Actions. To trigger a new release:\n\n```bash\n# 1. Update version in Cargo.toml\n# version = \"x.x.x\"\n\n# 2. Commit and push\ngit add Cargo.toml\ngit commit -m \"chore: bump version to x.x.x\"\ngit push origin main\n\n# 3. Create and push tag\ngit tag vx.x.x\ngit push origin vx.x.x\n\n# GitHub Actions will automatically:\n# - Build binaries for all platforms\n# - Create a GitHub Release\n# - Upload all binaries\n```\n\n### Supported platforms\n\n| OS      | Architecture            | Binary                       |\n| ------- | ----------------------- | ---------------------------- |\n| Linux   | x86_64                  | `huskybc-x86_64-linux`       |\n| Linux   | aarch64                 | `huskybc-aarch64-linux`      |\n| macOS   | x86_64 (Intel)          | `huskybc-x86_64-macos`       |\n| macOS   | aarch64 (Apple Silicon) | `huskybc-aarch64-macos`      |\n| Windows | x86_64                  | `huskybc-x86_64-windows.exe` |\n\n---\n\n## 🤝 Contributing\n\nContributions are welcome! Please read our [Contributing Guidelines](CONTRIBUTING.md) for details on how to get started, our code of conduct, and the process for submitting pull requests.\n\n---\n\n## 👥 Contributors\n\nLearn more about the team behind HuskyBC on our [Contributors page](AUTHORS.md).\n\n---\n\n## 📄 License\n\nThis project is licensed under the [GPL-3.0 License](LICENSE).\n\n---\n\n## 🌟 Acknowledgments\n\n- [Husky](https://github.com/typicode/husky) by @typicode - The tool that makes Git hooks management possible\n- [Commitlint](https://commitlint.js.org/) - Lint commit messages\n- [Lint-staged](https://github.com/okonet/lint-staged) - Run linters on staged files\n\n---\n\nMade with ❤️ and 🦀 Rust\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraulcatalinas%2Fhuskybc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraulcatalinas%2Fhuskybc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraulcatalinas%2Fhuskybc/lists"}