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

sui-cli-web-server

v1.5.0

Published

Local server that bridges your browser to Sui CLI. Manage addresses, transfer SUI, deploy Move contracts - all from a beautiful web UI. Private keys never leave your machine.

Readme

sui-cli-web

npm version downloads license node

Local server that bridges your browser to the Sui CLI

Live Demo · Documentation · Report Bug


Why sui-cli-web-server?

Your private keys stay on YOUR machine. This package runs a local server that connects the web interface to your locally installed Sui CLI. No keys are ever transmitted to external servers.

Browser (cli.firstmovers.io)  ←→  Local Server (this package)  ←→  Sui CLI (your machine)

Quick Start

# Make sure Sui CLI is installed
sui --version

# Run the server (no installation needed!)
npx sui-cli-web

Then open https://cli.firstmovers.io - it connects automatically.

Features

| Feature | Description | |---------|-------------| | Address Management | Create, switch, view addresses with balances | | Transfer SUI | Send tokens with gas estimation | | Gas Management | Split and merge gas coins | | Network Switching | Mainnet, testnet, devnet, localnet | | Faucet Integration | Request test tokens | | Move Development | Build, test, publish, upgrade packages | | Transaction Inspector | Inspect and replay transactions | | Community Tiers | On-chain membership with progression |

Installation

Option 1: npx (Recommended)

npx sui-cli-web

Option 2: Global Install

npm install -g sui-cli-web
sui-cli-web

Option 3: Local Install

npm install sui-cli-web
npx sui-cli-web

Requirements

# Install Sui CLI
brew install sui          # macOS
cargo install --locked sui  # All platforms

API Reference

The server exposes a REST API at http://localhost:3001/api

Core Endpoints

| Method | Endpoint | Description | |--------|----------|-------------| | GET | /health | Health check | | GET | /status | Sui CLI status | | GET | /addresses | List all addresses | | GET | /addresses/active | Get active address | | POST | /addresses/create | Create new address | | POST | /addresses/switch | Switch active address |

Transfer Endpoints

| Method | Endpoint | Description | |--------|----------|-------------| | POST | /transfers/sui | Transfer SUI tokens | | POST | /transfers/sui/dry-run | Estimate gas | | POST | /transfers/object | Transfer object/NFT | | GET | /transfers/sui/coins/:address | Get transferable coins |

Gas Endpoints

| Method | Endpoint | Description | |--------|----------|-------------| | POST | /gas/split | Split gas coin | | POST | /gas/merge | Merge gas coins |

Environment Endpoints

| Method | Endpoint | Description | |--------|----------|-------------| | GET | /environments | List environments | | POST | /environments/switch | Switch network | | POST | /environments | Add custom RPC |

Move Development

| Method | Endpoint | Description | |--------|----------|-------------| | POST | /move/build | Build package | | POST | /move/test | Run tests | | POST | /packages/publish | Publish on-chain | | POST | /packages/upgrade | Upgrade package |

Community

| Method | Endpoint | Description | |--------|----------|-------------| | GET | /community/membership | Check membership | | POST | /community/join | Join community | | GET | /community/tier/:address | Get tier info |

Full API Documentation →

Example Usage

Transfer SUI

curl -X POST http://localhost:3001/api/transfers/sui \
  -H "Content-Type: application/json" \
  -d '{
    "to": "0x1234...abcd",
    "amount": "1.5"
  }'

Get Addresses

curl http://localhost:3001/api/addresses

Switch Network

curl -X POST http://localhost:3001/api/environments/switch \
  -H "Content-Type: application/json" \
  -d '{"alias": "testnet"}'

Configuration

The server runs on port 3001 by default and binds to localhost only.

| Setting | Value | Notes | |---------|-------|-------| | Port | 3001 | Fixed | | Host | localhost | Security: no external access | | CORS | Configured | cli.firstmovers.io + localhost |

Security

  • Private keys never leave your machine - All signing happens via local Sui CLI
  • Localhost only - Server doesn't accept external connections
  • Open source - Audit the code
  • Rate limited - 100/min read, 30/min write, 5/min faucet

Troubleshooting

Server won't start

# Check if port 3001 is in use
lsof -ti:3001 | xargs kill -9

Sui CLI not found

# Verify Sui is installed
sui --version

# If not, install it
brew install sui  # macOS
cargo install --locked sui  # Other

CORS errors

Make sure you're accessing via:

  • https://cli.firstmovers.io
  • http://localhost:5173 (dev mode)

Development

# Clone the repo
git clone https://github.com/hien-p/raycast-sui-cli.git
cd raycast-sui-cli/packages/server

# Install dependencies
npm install

# Run in dev mode
npm run dev

# Build
npm run build

Tech Stack

  • Fastify - Fast, low overhead web framework
  • TypeScript - Type safety
  • Sui CLI - Official Sui command line tool

Related

License

MIT © hien-p


cli.firstmovers.io · Made with ❤️ for the Sui community