carloscuesta / carloscuesta/gitmoji-cli
Add Chocolatey (Windows) and Snap (Linux) package distribution
- Dominant language
- JavaScript
- Stars
- 4.8k
- Forks
- 212
- PR merge metrics
- No merged PRs in 30d
Description
### Description
Currently, `gitmoji` is available via npm, but it would improve accessibility if it were also distributed as:
- **Chocolatey** (for Windows users)
- **Snap** (for Linux users)
This would simplify installation for users who prefer native package managers.
### Expected Behavior
- Users can install via:
```sh
# Windows (Chocolatey)
choco install gitmoji
# Linux (Snap)
snap install gitmoji
```
### Motivation
- Wider adoption across platforms.
- Easier setup for non-Node.js users.
### Notes
- Chocolatey requires Windows compatibility checks.
- Snap packages need `snapcraft.yaml` configuration.
Would maintainers or contributors be open to supporting this? I’m happy to help with packaging if needed.
### Solution
1. **Chocolatey (Windows)**
- Create a `gitmoji` package in the [Chocolatey Community Repository](https://community.chocolatey.org/packages).
- Ensure it wraps the npm installation or provides a standalone binary.
- Example `choco install gitmoji`.
2. **Snap (Linux)**
- Define a `snapcraft.yaml` to bundle `gitmoji` as a confined snap.
- Publish on the [Snap Store](https://snapcraft.io/).
- Example `snap install gitmoji`.
**Implementation Steps:**
- [ ] Draft packaging scripts/configs (I can contribute these).
- [ ] Set up CI/CD (GitHub Actions) to auto-publish updates.
- [ ] Submit packages to Chocolatey/Snap stores.
### Alternatives
_No response_
### Additional context
- Chocolatey requires moderator approval for new packages.
- Snap needs strict confinement checks for CLI tools.
### Validations
- [x] Follow our [Code of Conduct](https://github.com/carloscuesta/gitmoji-cli/blob/master/CODE_OF_CONDUCT.md)
- [x] Read the [Contributing Guide](https://github.com/carloscuesta/gitmoji-cli/blob/master/.github/CONTRIBUTING.md).
- [x] Check that there isn't already an issue requesting the same feature.
Contributor guide
Research direction
Start by reviewing the existing npm distribution and the repository's GitHub Actions setup, then inspect the proposed snapcraft.yaml packaging configuration. Done means working Chocolatey and Snap packages that install gitmoji on their target platforms, with publication and update steps documented or automated where appropriate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, devops, release
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100