stnd.build · DocumentationSTANDARD MANUALSTD-STDN-GD · 2026-03-15
STD-STDN-GD

@stdn.gd

@stdn.gd

A command-line interface for managing your Standard Garden notes.

npm version

Installation

npm install -g @stdn.gd
# or npx @stdn.gd

Setup

  1. Install dependencies:

    npm install
    
  2. Link globally (optional):

    npm link
    

Configuration

Set the API URL (optional, defaults to http://localhost:8090):

export STANDARD_API_URL=http://localhost:8090

Authentication

Before using the CLI, you need to authenticate with your API key:

standard login

You’ll be prompted to enter your API key (available from your user profile).

Commands

Authentication

standard login          # Authenticate with API key
standard whoami         # Check current user

Note Management

standard note send “Your note content”    # Create a new note
standard note read                        # Read your latest note
standard note search “keyword”            # Search notes
standard note random                      # Get a random note
standard note edit <id> “New content”     # Edit a note
standard note delete <id>                 # Delete a note

API Compatibility

The CLI is compatible with the Standard Garden API worker and uses:

  • UUID-based API key authentication
  • RESTful endpoints for note management
  • Full-text search capabilities
  • User isolation and permissions

Publishing

To publish a new version to npm:

# Update version in package.json
npm version patch  # or minor/major

# Publish to npm
npm publish

Make sure you have:

  • NPM account with publishing rights
  • Proper authentication (npm login)
  • Updated version number

Development

The CLI connects to the API worker at http://localhost:8090 by default. Make sure the API worker is running:

cd apps/api
npm run dev
Standard OS — stnd.buildSTD-STDN-GD · rev. 2026-03-15