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 🙏

© 2025 – Pkg Stats / Ryan Hefner

lerobot

v0.3.3

Published

CLI for lerobot.js

Readme

lerobot

Command-line interface for robot control with @lerobot/node in Node.js (see @lerobot/web for the browser version).

Quick Start

# Install globally
npm install -g lerobot

# Or use directly with npx
npx lerobot@latest --help

Complete Workflow

# 1. Find your robot port
lerobot find-port
# Output: The port of this MotorsBus is '/dev/ttyUSB0'

# 2. Calibrate the robot
lerobot calibrate --robot.type=so100_follower --robot.port=/dev/ttyUSB0 --robot.id=my_arm

# 3. Control the robot
lerobot teleoperate --robot.type=so100_follower --robot.port=/dev/ttyUSB0 --robot.id=my_arm

# 4. Release motors when done
lerobot release-motors --robot.type=so100_follower --robot.port=/dev/ttyUSB0 --robot.id=my_arm

Help

# See all available commands
lerobot --help

# Get help for specific commands
lerobot calibrate --help
lerobot teleoperate --help

Commands

find-port

Interactive port discovery using cable detection.

lerobot find-port

Process:

  1. Lists current ports
  2. Prompts to unplug USB cable
  3. Detects which port disappeared
  4. Prompts to reconnect cable

calibrate

Calibrate robot motors and save calibration data.

lerobot calibrate --robot.type=so100_follower --robot.port=/dev/ttyUSB0 --robot.id=my_arm

Options:

  • --robot.type - Robot type (e.g., so100_follower)
  • --robot.port - Serial port (e.g., /dev/ttyUSB0, COM4)
  • --robot.id - Robot identifier (default: default)
  • --output - Custom output path for calibration file

Storage Location:

~/.cache/huggingface/lerobot/calibration/robots/{robot_type}/{robot_id}.json

teleoperate

Control robot through keyboard input.

lerobot teleoperate --robot.type=so100_follower --robot.port=/dev/ttyUSB0 --robot.id=my_arm

Options:

  • --robot.type - Robot type (e.g., so100_follower)
  • --robot.port - Serial port (e.g., /dev/ttyUSB0, COM4)
  • --robot.id - Robot identifier (default: default)
  • --teleop.type - Teleoperator type (default: keyboard)
  • --duration - Duration in seconds, 0 = unlimited (default: 0)

Keyboard Controls:

  • w/s - Elbow flex/extend
  • a/d - Wrist down/up
  • q/e - Wrist roll left/right
  • o/c - Gripper open/close
  • Arrow keys - Shoulder lift/pan
  • Ctrl+C - Stop and exit

release-motors

Release robot motors for manual positioning.

lerobot release-motors --robot.type=so100_follower --robot.port=/dev/ttyUSB0 --robot.id=my_arm

Options:

  • --robot.type - Robot type (e.g., so100_follower)
  • --robot.port - Serial port (e.g., /dev/ttyUSB0, COM4)
  • --robot.id - Robot identifier (default: default)
  • --motors - Specific motor IDs to release (comma-separated)