Skip to content

itsrainingmani/opencode-chocolatey

Repository files navigation

Chocolatey opencode

Chocolatey Version Chocolatey Downloads Vibe Coded GitHub Actions Workflow Status

This is a Chocolatey Community Package repository for packaging & distributing sst/opencode on Windows

Automatic Package Release

This package runs a github action every 30 minutes to check if sst/opencode has a new release. If so, the release is downloaded, packaged, tested & published to Chocolatey.

Commands

# Update package to latest version (fetches checksums automatically)
.\update.ps1

# Check for updates without applying them
.\update.ps1 -CheckOnly

# Build the package
choco pack

# Test installation locally (while downloading dependencies from chocolatey)
choco install opencode -dy --source="'.,https://community.chocolatey.org/api/v2/'"

# Test the installed application
opencode --version

# Test uninstallation
choco uninstall opencode -dvy

# Run test suite
.\test-package.ps1 -Verbose

# Release a version manually
.\release.ps1 -Version "x.y.zz"

Publishing to Chocolatey Community Repository

# Set API key (get from https://community.chocolatey.org/account)
choco apikey -k YOUR_API_KEY_HERE -s https://push.chocolatey.org/

# Push the package
choco push opencode.X.X.X.nupkg -s https://push.chocolatey.org/

Feedback

Please feel free to contribute to this repo! I do not have much experience with writing Chocolatey packages, PowerShell scripting or release management. Almost 100% of this repo was built with auspices of Sonnet 4 in opencode & AmpCode.

You can also leave feedback for this package in the comments section of the package

Links

About

Chocolatey package repository for distributing sst/opencode

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •