Files
welshman/docs/getting-started.md
2025-10-20 14:48:40 -07:00

1.0 KiB

Getting Started

Welshman is modular - install only what you need:

# Core nostr utilities (events, filters, tags)
npm i @welshman/util

# Networking and relay management
npm i @welshman/net

# Event signing and encryption
npm i @welshman/signer

# Dynamic feed compilation
npm i @welshman/feeds

# Content parsing and rendering
npm i @welshman/content

# Rich text editor component
npm i @welshman/editor

# Svelte stores and state management
npm i @welshman/store

# Complete application framework
npm i @welshman/app

Choose packages based on your needs:

  • Building a conventional client? Use the framework:

    npm i @welshman/app
    
  • Prefer to put things together yourself? Start with:

    npm i @welshman/util @welshman/net @welshman/signer
    
  • Just parsing and rendering content? Include:

    npm i @welshman/content
    

Each package is independent but integrates seamlessly. All packages are framework-agnostic, but work best with Svelte due to svelte stores being a common pattern for state management.