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

@reka-ai/cli

v0.1.0

Published

CLI for Reka models, media generation, and coding clients.

Readme

Reka CLI

Chat with Reka models, generate images and video, and launch coding clients using your Reka account.

To try the current source instead of the published package, run npm ci, npm run build, and node dist/index.js from this repository.

Install

npm install -g @reka-ai/cli
reka

Requires Node 22.12 or newer. Use npx @reka-ai/cli to run without installing. Standalone macOS and Linux executables are also available with each release.

Run reka for a short starting guide, reka --help for all commands, or reka <command> --help for that command's options.

Connect your account

reka login
reka doctor
reka models

Login opens developer.reka.ai and saves an API key in ~/.reka/config.json. Use reka login --manual over SSH. Creating a key requires a payment method on your account.

For CI and headless environments, create a key at developer.reka.ai/keys and run reka setup --api-key <key>, or supply REKA_API_KEY through your environment or secret manager.

reka logout removes the saved key and prints the link to revoke it. It does not revoke the key on the server or clear an environment variable.

Chat

Choose a model ID from reka models and replace MODEL_ID below:

reka chat MODEL_ID --prompt "Explain this error"
git diff | reka chat MODEL_ID -p "Review this diff"
reka setup --default-model MODEL_ID
reka "Explain this error"

Replies stream in a terminal. Use --no-stream to wait for the full reply, or --json for the provider's response object. Piped input is appended to --prompt.

Launch a coding client

Install OpenCode, Claude Code, or Pi, then choose its model once:

reka setup opencode
reka launch opencode

Replace opencode with claude or pi for those clients. Pass client arguments after --:

reka launch opencode -- run "Review this project"
reka launch claude -- -p "Review this project"
reka launch pi -- -p "Review this project"

The client runs in your current directory with your terminal and Reka credentials. Its existing config files are preserved. Launching a client can make billable requests.

Use --model MODEL_ID to override the saved choice for one launch. reka launch opencode --config prints the configuration without a key, network request, or file write. Launching requires macOS or Linux, including WSL.

Generate media

Discover an endpoint and inspect its schema first:

reka models --capability text-to-image --json
reka schema MODEL_ID/text-to-image --json
reka run MODEL_ID/text-to-image --prompt "A red bicycle" --download

Use an endpoint ID returned by reka models. Supported inputs vary by endpoint. run waits for completion by default. Use --async to return the request ID immediately, then inspect or download the result:

reka status REQUEST_ID
reka result REQUEST_ID --download
reka cancel REQUEST_ID

Output URLs expire. Download files you want to keep. For long jobs, use --timeout SECONDS; exit code 6 means the job may still be running.

Scripts and agents

Supply REKA_API_KEY through your environment or secret manager. Avoid putting keys directly in command arguments, which can appear in shell history.

reka models --json
reka --help --json
reka chat --help --json
reka snippet MODEL_ID --lang python

Commands print JSON when output is piped or --json is set. In JSON mode, errors go to stderr as an error object with code and message, plus hint and request_id when available. launch passes through the client's own output and exit status. mcp uses protocol stdio.

To use the MCP server with Claude Code:

claude mcp add reka -- reka mcp

reka init installs the bundled agent skill in the current project's .claude/skills/reka-cli/ directory.

Reference

Command and configuration reference · HTTP contract · Changelog · Security policy · Reka docs · Support

Development

Use Node 24 and npm with the committed lockfile:

npm ci
npm run check

The checks run typechecking, unit tests, the build, and isolated npm/npx installation tests. They use local fixtures and need no API key. Live tests are separate and can submit paid jobs.

MIT licensed.