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

grok-studio

v0.1.8

Published

Self-hosted Grok and Wan image-to-video studio (web app + CLI).

Readme

Grok Studio

Self-hosted image-to-video studio for Grok and MuleRouter's Wan 2.7 Spicy. Your provider credentials stay on the server; turn an image into video from a web UI or the CLI, with outputs stored on disk. Built for local / LAN use.

Install & run

npx grok-studio

That's it. First run opens the xAI browser login if needed, then serves on http://127.0.0.1:8787. (npm i -g grok-studio also works.)

CLI

grok-studio serve [--provider grok|wan-spicy] [--open]  # start the web app
grok-studio gen --image a.png --prompt "slow head turn" \
  [--prep --duration 6 --resolution 720p --aspect 9:16 --count 2 --out clip.mp4]
grok-studio gen --provider wan-spicy --image a.png --prompt "slow head turn" \
  [--negative-prompt "flicker" --duration 5 --resolution 1080p --seed 42]
grok-studio login            # xAI OAuth login (browser)
grok-studio status           # config + xAI auth + server health

Interactive startup asks whether to use Wan 2.7 Spicy or Grok. For scripts and other non-interactive launches, pass --provider or set DEFAULT_VIDEO_PROVIDER. If Wan is selected without MULEROUTER_API_KEY, an interactive terminal securely prompts for a key for that run.

gen is headless: image →(optional --prep first frame)→ video, no UI; result paths print to stdout.

Web UI

  • Left rail+ adds a source image; Active Jobs lists running work globally; Outputs is a gallery of every Frame / Video.
  • Result Graph (center) — every node is one concrete run: SourceFrame (each prep) → Video (each run). Forks are sibling nodes. Lineage is derived purely from data (inputFrame.preparedImageId / clientSourceId), never guessed from history.
  • Inspector (right) — the only place to view a result, download, rerun, prep, or animate the selected node.
  • Video provider — switch each video run between Grok and Wan 2.7 Spicy. Existing jobs remain compatible and default to Grok.

Configure (.env)

.env is read from the directory where grok-studio is launched. In particular, running npx grok-studio from another directory does not read a checkout's .env.

HOST=127.0.0.1                 # 0.0.0.0 for LAN access
PORT=8787
ACCESS_TOKEN=                  # set to gate non-loopback access (empty = open on loopback/LAN)
WORKSPACE_DIR=~/.grok-studio/workspace  # holds images/ videos/ jobs/ prepared-images/
DEFAULT_VIDEO_PROVIDER=grok             # or: wan-spicy
XAI_AUTH_MODE=oauth            # or: api_key (+ XAI_API_KEY)
XAI_VIDEO_MODEL=grok-imagine-video-1.5
XAI_IMAGE_MODEL=grok-imagine-image-quality
MULEROUTER_API_KEY=             # required for Wan 2.7 Spicy
# MULEROUTER_WAN_SPICY_BASE_URL=https://api.mulerouter.ai/vendors/carrothub/v1/wan2.7-i2v-spicy

Wan 2.7 Spicy supports 720p/1080p, 2–15 second clips, negative prompts, optional audio or an HTTPS MP3/WAV URL, prompt extension, and a reproducible seed. Its API key is only read by the server and is never sent to the browser.

Develop

vp install
vpr check && vp test && vpr build && vpr smoke

Quality gates: React/a11y lint, type checks, an architecture-size test (tests/architecture.test.ts), and a Playwright smoke (scripts/smoke.mjs).