npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

opencode-github-release

v0.5.0

Published

OpenCode plugin to create git tags and publish GitHub releases with semantic versioning.

Readme

opencode-github-release

An OpenCode plugin that creates git tags and publishes GitHub releases with semantic versioning.

npm GitHub License: MIT

Installation

Add to your opencode.json:

{
  "plugin": ["opencode-github-release"]
}

Restart OpenCode. The plugin loads automatically.

Usage

Ask OpenCode to create a release. The plugin provides create_release and suggest_bump tools. When you give a specific version or bump, create_release is called directly. When you don't, suggest_bump analyzes your commits first and asks for confirmation. Modes:

Auto-bump from latest tag:

Create a patch release
Create a minor release
Create a major release

Explicit version:

Release version 2.0.0

With release notes:

Create a patch release with notes "Fixed login bug"

Auto-suggest from git history:

Create a release

Suggest a bump (without releasing):

What version should I use?

Override dirty tree check:

Create a major release with force: true

How it works

When you request a release, the plugin fetches the latest git tag from the repository and computes the next version from it. If you specify a bump (patch/minor/major) or an explicit version, it creates the tag and release immediately. If you don't specify either (e.g., just "create a release"), the plugin instead runs suggest_bump — it analyzes commits since the latest tag using conventional commit conventions: fix → patch, feat → minor, BREAKING CHANGE → major — and presents the suggestion for your confirmation before proceeding.

If you don't provide release notes, the plugin automatically generates them from the commit history via gh release create --generate-notes.

create_release checks for uncommitted changes before proceeding. If the working tree is dirty, it returns a warning and asks you to commit, stash, or pass force: true.

It expects conventional commit messages (feat:, fix:, BREAKING CHANGE:) for accurate auto-suggestion. Commits that follow this convention are classified as:

  • fix: → patch bump
  • feat: → minor bump
  • BREAKING CHANGE: or feat!: / fix!: → major bump

Example output when running suggest_bump:

Latest tag: v0.1.0
Commits: 3

  [fix] a1b2c3d Fix login timeout
  [feat] e4f5g6h Add user dashboard
  [BREAKING] i7j8k9l Redesign auth API

Suggested bump: major -> v1.0.0

You can invoke suggest_bump directly at any time ("Suggest a bump") — it analyzes commits since the latest tag and recommends a bump without creating anything.

The suggest_bump tool works exceptionally well if your commit messages follow the conventional commits specification.

There are commit skills such as (https://github.com/PedroHBO/opencode-config-skills/tree/main/skills/git-commit) that makes it all automatic and seamless.

Prerequisites

  • Git
  • GitHub CLI (gh) authenticated to your account
  • The current directory must be a git repository with a remote named origin

Development

npm install
npm run typecheck
npm run build
npm pack --dry-run

License

MIT