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

@corginpm/freecode

v0.3.0

Published

Claude Code workflow on free LLM providers (opencode-ai + freellmapi shim)

Readme

freecode

Claude Code workflow on free LLM providers.

freecode is a thin shim over opencode-ai + freellmapi that ports the Claude Code CLI surface onto free-tier LLM providers (OpenRouter, Groq, Cloudflare Workers AI, Gemini, Zhipu, Cerebras).

Install

npm install -g @corginpm/freecode
freecode setup        # guided onboarding (5 steps, idempotent)
freecode --print "hello"

Or, in a project directory:

freecode               # interactive TUI

What you get

100% functional parity with Claude Code's tool surface on free LLMs:

  • opencode built-ins — bash, read, write, edit, grep, glob, todowrite, webfetch, websearch, question, skill, apply_patch, lsp
  • freecode-added tools — task / task_bg / task_output (subagent dispatch), enter_plan_mode / exit_plan_mode, notebook_edit, schedule_wakeup, monitor_start / monitor_read / monitor_stop, push_notification, tool_search
  • Hooks — PreToolUse / PostToolUse / UserPromptSubmit / SessionStart / Stop / PreCompact / Notification (translated from ~/.claude.json)
  • MCP — per-server trust gate (freecode trust mcp <name>)
  • Sessions — persist + resume + HMAC integrity verify
  • Permissions — allow/ask/deny baked from ~/.claude.json
  • Memory — project CLAUDE.md (always) + ~/.claude/CLAUDE.md (opt-in)
  • Security — OS keyring at-rest token encryption (req-3), session-log redaction (req-8), workspace-trust gate (req-11), FS-perm re-check on launch (req-12), MCP trust (req-10), Windows hook-timeout kill (req-7), Windows crash-recovery watchdog (Blocker J)

Daily commands

freecode                              # TUI
freecode --print "explain this code"  # one-shot
freecode -c                           # resume last session
freecode --agent fast --print "..."   # pick agent (build|plan|general|edit-bot|fast)
freecode keys                         # add provider keys
freecode doctor                       # 7-check health
freecode status                       # runtime state
freecode trust                        # trust current workspace
freecode help                         # full help

Requirements

  • Node.js ≥ 20.11.0
  • opencode-ai 1.15.10 (auto-installed as a peer)
  • At least one free LLM provider key (OpenRouter recommended — no waitlist, no phone)

License

MIT