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

spinforge-cli

v0.3.13

Published

SpinForge CLI - Deploy and manage applications with ease on the SpinForge platform

Readme

SpinForge CLI

Installation

npm install -g spinforge-cli

Quick Start

# Deploy current directory
spinforge deploy

# Deploy with custom domain
spinforge deploy -d myapp.spinforge.dev

# Deploy a specific folder
spinforge deploy -p ./my-app -d myapp.local

Features

  • 🚀 Instant Deployments - Deploy applications in seconds
  • 🔧 Framework Auto-Detection - Automatically detects Next.js, React, Vue, Express, and more
  • 🌐 Custom Domains - Deploy with your own domain
  • 📊 Real-time Monitoring - View logs and metrics
  • 🔄 Hot Reloading - Watch for changes and auto-deploy
  • 🎯 Zero Config - Works out of the box with sensible defaults

Commands

Authentication

spinforge login              # Login to SpinForge
spinforge logout             # Logout from SpinForge
spinforge whoami             # Display current user information

Deployment

spinforge deploy [options]   # Deploy an application
  -p, --path <path>          # Path to deploy (default: current directory)
  -d, --domain <domain>      # Domain for the application
  -f, --framework <type>     # Framework type (auto-detected if not specified)
  -n, --name <name>          # Application name
  -m, --memory <size>        # Memory limit (default: 512MB)
  --cpu <limit>              # CPU limit (default: 0.5)

Management

spinforge deployments        # List all deployments
spinforge status [id]        # Get status of spinlets
spinforge logs <id>          # Stream logs from a spinlet
spinforge stop <id>          # Stop a running spinlet
spinforge routes             # Manage domain routes

Development

spinforge watch [path]       # Watch for changes and auto-deploy
spinforge deploy-folder      # Prepare folder for hot deployment

Framework Support

SpinForge automatically detects and optimizes deployments for:

  • Next.js - Full support for SSR, SSG, and API routes
  • React - Optimized static builds
  • Vue - Production-ready deployments
  • Express - Node.js server applications
  • NestJS - Enterprise Node.js applications
  • Remix - Full-stack React framework
  • Static Sites - HTML, CSS, JS websites
  • Custom Node.js - Any Node.js application

Examples

Deploy a Next.js Application

cd my-nextjs-app
spinforge deploy -d myapp.spinforge.dev

Deploy with Environment Variables

spinforge deploy -e API_KEY=secret -e DB_URL=postgres://...

Watch for Changes

spinforge watch ./my-app

Deploy Pre-built Application

spinforge deploy-folder ./dist --skip-build --framework static

Configuration

Create a spinforge.json in your project root:

{
  "name": "my-app",
  "domain": "myapp.spinforge.dev",
  "framework": "nextjs",
  "env": {
    "NODE_ENV": "production"
  },
  "build": {
    "command": "npm run build",
    "output": ".next"
  }
}

Configuration

SpinForge CLI requires explicit configuration. You can configure it using:

  1. Environment Variables
  2. spinforge.config.json file in your project directory

Environment Variables

  • SPINFORGE_API_URL - API URL (required)
  • SPINFORGE_WEB_URL - Web UI URL (required)
  • SPINFORGE_TOKEN - API token for authentication
  • SPINFORGE_DEPLOYMENTS - Local deployment directory path (required)

spinforge.config.json

Create a spinforge.config.json file in your project directory:

{
  "apiUrl": "https://api.spinforge.dev",
  "webUrl": "https://spinforge.dev",
  "deploymentPath": "~/.spinforge/deployments"
}

Environment variables take precedence over the config file.

Local Development

For local development:

export SPINFORGE_API_URL=http://localhost:9006
export SPINFORGE_WEB_URL=http://localhost:3000
export SPINFORGE_DEPLOYMENTS=/Users/you/.spinforge/deployments

Support

License

MIT License - see LICENSE for details.