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-launcher

v1.1.0

Published

Elegant profile manager for OpenCode - switch between work, personal, and project configurations effortlessly

Readme

opencode-launcher

Elegant profile manager for OpenCode. Switch between work, personal, and project configurations effortlessly.

Installation

npm install -g opencode-launcher

Usage

# Show status
ocl

# List all profiles
ocl list

# Create a new profile (copies current config)
ocl create work -d "Work profile"

# Create an empty profile
ocl create minimal --empty

# Switch to a profile
ocl use work

# Show current profile
ocl current

# Show profile details
ocl show work

# Copy a profile
ocl copy work work-backup

# Edit a profile
ocl edit work

# Delete a profile
ocl delete work-backup

# Run opencode with a specific profile (temporarily)
ocl run personal .

Project-local Profiles (.oclrc)

You can set a default profile for a specific directory by creating a .oclrc file:

# In your project directory
ocl init work

# This creates .oclrc containing "work"
# Now apply it:
ocl apply

The .oclrc file is searched upward from the current directory (like .gitignore), so you can set it at your project root.

# Example workflow
cd ~/projects/company-app
ocl init work           # Creates .oclrc with "work"
ocl apply               # Switches to work profile

cd ~/projects/personal-app  
ocl init personal       # Creates .oclrc with "personal"
ocl apply               # Switches to personal profile

When you run ocl with no arguments, it will show if a local .oclrc exists and whether you need to apply it:

  opencode-launcher (ocl)
  Elegant profile manager for OpenCode

  ★ Current: work
  → Local: personal (/Users/you/projects/personal-app/.oclrc)
    Run ocl apply to switch
  • 3 profile(s) available

Commands

| Command | Alias | Description | |---------|-------|-------------| | ocl list | ls | List all profiles | | ocl current | - | Show current active profile | | ocl create <name> | new | Create a new profile | | ocl use <name> | switch | Switch to a profile | | ocl delete <name> | rm | Delete a profile | | ocl edit <name> | - | Edit profile in $EDITOR | | ocl run <name> [args] | - | Run opencode with profile | | ocl copy <src> <dest> | cp | Copy a profile | | ocl show <name> | info | Show profile details | | ocl init <profile> | - | Create .oclrc in current directory | | ocl apply | - | Apply profile from .oclrc |

How It Works

  • Profiles are stored in ~/.config/opencode-launcher/profiles/
  • When you use a profile, it copies the config to ~/.config/opencode/opencode.json
  • A backup is automatically created before your first profile switch
  • The run command temporarily switches profiles for a single session
  • .oclrc files let you set project-specific default profiles

License

MIT